Previous Topic: Tape Label TypeNext Topic: DSNB Active Field


DSNB Record Format and Contents

The table DSNB Record Format and Contents lists the names and contents of a DSNB record.

DSNB Record Format and Contents

Field Name/
Keyword

Data Label

Offset

Length (Bytes)

Type

Editable

Description

BID

DSNBID

0(0)

1

Hex

N/R

DSNB record ID

X'FF' required DSNB identifier

ACTIND

DSNBACT

1(1)

1

Hex

N/R

DSNB used indicator (TDSNB Active Field)

  • X'40' B1 security label (DSNBLBL)
  • X'80' DSNB active bit (DSNBACTV)

FLAG1

DSNBFLG1

2(2)

1

Hex

Yes

Miscellaneous flags (Internal DSNB FLAG1 Bits)

  • X'01' eligible for RDS override (DSNBDFLT
  • X'02' files was on OS catalog (DSNBWSCA)
  • X'04' default expiration date used at open (DSNBDFXU)
  • X'08' files is on OS catalog (DSNBISCA)
  • X'10' file closed by abend processing (DSNBABND)
  • X'20' file expired by catalog control (DSNBECAT)
  • X'40' file expired by TMS interface (DSNBTMSI)
  • X'80' file updated by userv (DSNBUSRU)

FLAG2

DSNBFLG2

3(3)

1

Hex

Yes

Miscellaneous flags

CURDSNB

DSMBCIRR

4(4)

4

Bin

N/R

Address of this DSNB record ()

PREV

DSNBPREV

8(8)

4

Bin

N/R

Address or number of the previous DSNB record

NEXT

DSBNNEXT

12(C)

4

Bin

N/R

Address or number of next DSNB

VOLSER

DSNBVSN

16(10)

6

Char

N/R

Volume serial number of first volume on which file 2 was opened

F1STVSN

DSNBFVSN

22(16)

6

Char

N/R

File starts on this volume

FILSEQ

DSNBFSN

28(1C)

2

Bin

N/R

File sequence number

DSN

DSNBDSN

30(1E)

44

Char

Yes

Data set name

EXPDT

DSNBEXDT

74(4A)

4

Date

Yes

Expiration date
yyyy/dddF

CDATE

DSNBCRDT

78(4E)

4

Date

Yes

Creation date
yyyy/dddF

 

 

82(52)

1

 

 

Reserved

CTIME

DSNBCRTM

83(53)

3

Time

Yes

Creation time 0hhmmF

CJOB

DSNBCJN

86(56)

8

Char

Yes

Creating job name user ID

CSTEP

DSNBCSN

94(5E)

8

Char

Yes

Creating step name (CA VM:Tape user ID)

 

 

102(67)

2

 

 

Reserved

LRECL

DSNBLREC

104(68)

4

Hex

Yes

Logical record length ‘0'

BLKSIZE

DSNBBLKS

108(6C)

4

Hex

Yes

Block size ‘0'

BLKCNT

DSNBBLKC

112(70)

4

Hex

Yes

Block count ‘0'

RECFM

DSNBRFM

116(74)

1

Hex

Yes

Record format ‘0'

  • X'08' standard block
  • X'10' blocked
  • X'30' variable blocked ASCII
  • X'40' variable
  • X'44' variable ANSI
  • X'48' variable sequential
  • X'50' variable blocked
  • X'52' variable blocked machine
  • X'54' variable blocked ANSI
  • X'58' variable blocked spanned
  • X'80' fixed
  • X'82' fixed machine
  • X'84' fixed ANSI
  • X'88' fixed standard
  • X'90' fixed block
  • X'92' fixed block machine
  • X'94' fixed block ANSI
  • X'98'fixed block sequential
  • X'C0' undefined
  • X'D0' blocked

SMSMC

DSNBSMSM

117(75)

8

Char

Yes

SMS management class

CPGM

DSNBCPGM

125(7D)

8

Char

Yes

Creating program name

FILPERC

DSNBPERC

133(85)

1

BIN

No

Tape percentage used by file

COMPRES

DSNBCPRS

134(86)

1

BIN

No

 

CTLGCNT

DSNBCCNT

135(87)

1

BIN

No

 

 

 

135(87)

10

 

 

Reserved

 

DSAUTSA

136(88)

23

 

 

Time-Stamp Area

BATCHID

DSAUBTCH

146(92)

1

Hex

No

ID of last CA 1 program to update record

HOOKID

DSAUHOOK

147(93)

1

Hex

No

ID of last intercept to update record

  • 00—Open NL input/output
  • 12—EOV NL output
  • 24—EOV NL input
  • 08—OPEN SL input
  • 20—OPEN SL output
  • 04—OPEN SL output
  • 68—CLOSE input/output
  • 64—CLOSE EOV output
  • 16—EOV SL output
  • 0—CLOSE EV input
  • 28—EOV SL input
  • 32-44—User NSL routines

AUDATE

DSAUDATE

148(94)

4

Date

No

Date of last update

 

 

152(98)

1

 

 

Reserved

AUTIME

DSAUTIME

153(99)

3

Time

No

Time of last update

USERID

DSAUUSER

156(9C)

8

Char

No

ID of last user to update record

CPUID

DSAUCPU

164(A4)

4

Char

No

ID of last CPU used for last update

AUCODE

DSAUCODE

168(A8)

1

Hex

No

Audit code

AUFLAG1

DSAUFLG1

169(A9)

 

Hex

N/R

Audit flag
X'80' Right DSNB indicator - if this bit is on, it is the right DSNB. If off, it is the left DSNB. (DSNBRGHT)

TOTAL RECORD LENGTH = 170