FSTD
FSTD descrites the fields in a 40-byte file status table entry as found by STATE, STATEW, DftSLFS or DftSLFSW. FSTD is functionally equivalent to the FSTSECT DSECT. Hexadecimal o
8 10 18 20 Displacement
------------ 0 8 10 12
14
16
18
1A
1C
1E
1F 20 24
26
FSTDATEW FSTTlftEW FSTFftODE FSTRECCT
FSTLRECL
Field Naae FSTFNAftE DS 1D FSTFTYPE DS 1D
FSTDATEW DS 1H FSTTIl'!EW DS 1H FSTWRPHT DS 1H FSTRDPHT DS 1H FSTFftODE DS 1H
FSTRECCT DS 1H FSTFCLPT DS 1H FSTRECFft DS 1C
FSTFLAGS DS 1X !!i!§ in FSTF1AGS FSTXWDSK EQU --X'CO'---- FSTRWDSK EQU X'80' FSTXRDSK EQU X'40' FSTFILEA EQU X'07' FSTACTRD EQU X'04' 10' U1) .&. aJ.&.A""' .... n.l..,\ EQU 1'02' FSTACTPT EQU X'01' FSTRODSK EQU X'OO' Jlit§ for use !!! FSTDIA EQU i'40'-- FSTDRA EQU X'01' FSTDNI EQU X'OO' FSTLRECL DS 1F
FSTBLKCT DS 1H FSTYEARW DS 1H
FSTDSIZE EQU (*-FSTD) FSTFHAftE FSTFTYPE FS'IiRPNT FSTRDPHT FS'IFCLPT F*1 F*2
FS'IELKCT FSTYEARW Field Description, Contents, Beaning Filename
Filetype
Date last written - .addyy Time last written -hhmmss
write pointer -item number Read pointer -item number File.ode -letter and number
Number of logical records
First chain link pointer
F*1 Record format (F or V) F*2 FST flag byte
Extension of read/write disk
Read/write disk
Extension of read-only disk
File is active (one of the following)
File active for reading
File active for writing File active from a point
Read-only disk RDBUF ----Item availatle
Previous record null
Hull record
Logical record length Number of 80Q-byte blocks Year last written
FST size in bytes
Section 2. CftS Iata Areas and Control Blocks 189
FSTSECT FSTSECT defines the file status table (FST) which describes the attributes cf a file on a CMS virtual disk. FSTSBCT is invoked by the macro FSTB. The file status tables for all files on the disk are grouped into SOO-byte disk records
referred to as file status table blocks (FSTEs). Each file status table block can
accommodate up to 20 file status tables.
o S 10 1S 20 Hexadecimal
Displacement
------------ 0 S 10 14
16 lS 1A 1C lE 1F 20 24
26 FSTN FSTT FSTD FS'IliP FSTRP FSTM FSTIC FSTCL 1*1 1*2 FSTIL FS'IIEC FSTYR Field
Name Field Description, Contents, Meaning -------------------------------------- FSTN DS 1D Filename FSTT DS 1D Filetype FSTD DS 1F Date/tille last written FSTWP DS 1H Write pointer (item number) FSTRP DS lH Read pointer Cite. number) FSTM DS 1H Filellode FSTIC DS 1H Item count FSTFCL DS 1H First chain link FSTFV DS 1C A*1 Fixed (F)/variable (V) flag FSTFB DS 1C A*2 Flag byte (if used) to STA1!FST COp! £! §y££g§§!yl 2I!I! 2! £gll) FSTFRWX EOU X'CO' Read-only extension of read/write FSTFRW FSTFROX FSTFACT FSTFIR FSTFIW FSTFAP FSTFRO EOU BOU EQU EQU EQU EQU EOU X'SO' X'40' X'07' X'04' X'02' X'01' X'OO' disk
Read/write disk
Read-only extension of read-only
disk
File is active (one of the follcwing)
File active for reading
File active for writing
File active fro. a designated point
Read-only disk for use RDEUF FSTITAV EQU 1'40'-- ----Item availatle FSTRECAV BQU X'Ol' Previous record null FSTNOIT EQU X'OO' Null record FSTIL DS FSTDBC DS FSTYR DS FSTL BQU !!IEg!!212£! FSTFWDP EQU FSTBKWD EQU 1F
1H
1H *-FSTSECT Parameters 800------- S04 Maximum item length SOO-tyte data block count Year Size of FST in bytes (X'2S') Forward pointer to next hyperblock in storage
Backward pointer to previous hyperblock in
storage 190 IBM VM/370 Data Areas and Control Block Logic
Previous Page Next Page