|
Hex Dec Type/Val Lng Label (dup) Comments
---- ---- --------- ---- -------------- --------
0000 0 Structure AFTSECT bilingual AFT macro
The following fields are used for both minidisk AFTs and
Shared file AFTs.
When the same areas of storage are used more that once, they
are meant for different file systems. CDF fields have
not been eliminated since the code is still in the system,
but since it has been disabled, the fields have been
reused.
0000 0 Signed 4 AFTPTR Pointer to next AFT blk in chain
0004 4 Signed 4 AFTBPTR Pointer to previous AFT in chain
0008 8 Signed 4 AFTEYECT (0) Eyecatcher to indicate an AFT
0008 8 Character 3 AFTEYENM place holder for eyecatcher
000B 11 Character 1 AFTTYPE type of AFT The following are
equates for the AFTTYPE field
1... .... AFTANCHR X'80' Anchor AFT If this changes,
must change equate in the FVS in
field FVSAAFT
.1.. .... AFTSUBST X'40' Subfst
..1. .... AFTDMSMD X'20' Minidisk AFT created by
DMSOPEN
...1 .... AFTEDF X'10' Minidisk AFT created by
FSOPEN
00000030 AFTMDISK AFTDMSMD+AFTEDF Minidisk AFT
created using either interface
.... 1... AFTSFS X'08' Shared File AFT created
thru OPEN
.... .1.. AFTCOMP X'04' SFS AFT created thru FSOPEN
.... ..1. AFTOPBLK X'02' AFT opened for BLOCK
interface
.... ...1 AFTOPDBK X'01' AFT opened for DATA BLOCK
interface
0000000E AFTSHARE AFTSFS+AFTCOMP+AFTOPBLK Shared
file AFT
000C 12 Character 8 AFTTOKEN AFT token
000C 12 Signed 4 AFTTOKAD Address of AFT
0010 16 Signed 4 AFTSEQNM Sequence number to validate AFT
0014 20 Signed 4 AFTADT Pointer to Active Disk Table
0018 24 Signed 4 AFTDBSZ ADT disk block size
001C 28 Signed 4 AFTPOSN number of first record or block
to be read or written
0020 32 Signed 4 AFTUBFAD Save user buffer address
0024 36 Signed 4 AFTUBFLG Save user buffer length
0028 40 Address 4 AFTWUERR address of user supplied workunit
002C 44 Signed 2 AFTCLD Disk addr of current chain link
..1. 11.. AFTCACHE 00004 AFTCLD,4 Address of cache
area
002E 46 Signed 2 AFTCLN Number of current chain link
0030 48 Address 4 AFTOPNBK addr. of virtual storage block
obtained by FSOPEN/OPEN
0034 52 Signed 4 AFTCBLK number of current data block
0038 56 Signed 4 AFTDBA address of current data block
003C 60 Signed 4 AFTLOG2 log2 of block size
0040 64 Signed 4 AFTREMSK remainder mask
0044 68 Address 4 AFTRMWAA Record manager work area address
0048 72 Address 4 AFTRCMRD Record manager read entry point
004C 76 Address 4 AFTRCMWR Record manager write entry point
0050 80 Address 4 AFTEXTAD address of AFT extension defined
by open
0054 84 Signed 2 AFTEXTLD length of AFT extension in dwords
0056 86 Character 1 AFTREALT reallocation type
1111 ...1 AFTASCBK C'1' AFTASCBK assign current
block
1111 ..1. AFTASTBK C'2' AFTASTBK assign top block
1111 ..11 AFTASCEN C'3' AFTASCEN assign current
entry
1111 .1.. AFTUASCE C'4' AFTUASCE unassign current
entry
0057 87 Character 1 AFTOPINT open intent
11.1 1..1 AFTOPIRD C'R' AFTOPIRD open intent was for
read
111. .11. AFTOPIWR C'W' AFTOPIWR open intent was for
write
11.1 .1.1 AFTOPINW C'N' AFTOPINW open intent was for
new
111. .111 AFTOPIRP C'X' AFTOPIRP open intent was for
replaced
11.. ..11 AFTOPIRC C'C' AFTOPIRC open intent was for
recall
11.1 .1.. AFTOPIMG C'M' AFTOPIMG open intent was for
migrate
11.. .111 AFTOPICM C'G' AFTOPICM open intent was for
createmig
0058 88 Bitstring 80 AFTCLB Chain link bufr from 1st ch.link
0058 88 Signed 4 AFTUFP5 5TH level pointer hblk chain
0058 88 Address 4 AFTPGERR Programming error address
005C 92 Signed 4 AFTUFP4 4TH level pointer hblk chain
005C 92 Signed 4 AFTVSOFF V-file starting offset
0060 96 Signed 4 AFTUFP3 3RD level pointer hblk chain
0060 96 Signed 4 AFTRECWR Records to write
0064 100 Signed 4 AFTUFP2 2ND level pointer hblk chain
0064 100 Signed 4 AFTREQID Requestid/ARCE address
0068 104 Signed 4 AFTUFP1 1ST level pointer hblk chain
.11. 1... AFTLSTBK 00004 AFTUFP1,4 last block in
file
006C 108 Signed 4 AFTRDBLK data block chain
0070 112 Signed 4 AFTRDID Item displacement in block
0070 112 Signed 4 AFTVFOFF V-file offset
0074 116 Signed 4 AFTLSTRC Last record number processed
0074 116 Signed 4 AFTVFNXR V-file next record being written
0078 120 Signed 4 AFTARP Alt. read pointer
007C 124 Signed 4 AFTAWP Alt. write pointer
0080 128 Signed 4 AFTPHYP A(hblk holding static FST)
0084 132 Bitstring 4 AFTALET Access list entry token
0088 136 Signed 4 AFTSCBLK Saved current data block number.
Valid only when AFTREFRQ flag is
on
008C 140 Signed 4 AFTLACCR last record to accept
0090 144 Signed 4 AFTMXLRC maximum logical record length
0094 148 Signed 4 AFTFBLBN F-file last block number
0098 152 Signed 4 AFTFBLBL F-file last block length
009C 156 Address 4 AFTCLRSP pointer to close response data
passed from DMSRCMFL to CSL CLOSE
(DMSJFC)
00A0 160 Signed 4 AFTSFSMB maximum number of 4K blocks per
SPS request that can be passed to
the file pool server machine
00A4 164 Address 4 AFTFUBPT File space Usage Block pointer
00A8 168 Signed 4 AFTRPBLK Replaced File Blocks
00AC 172 Signed 4 AFTMXDSZ size of all data blocks in storg
00B0 176 Signed 4 AFTMXDBK maximum number of data blocks
00B4 180 Signed 4 AFTMXBLK max number of entries in ptr blk
00B8 184 Signed 4 AFTBLKWD save user buff disp blkwr
1.11 1... AFTBHLEN 00001 AFTBLKWD,1 contains
high-order byte of length prefix
split across blocks during a
block write to a V-format file
when AFTSPLEN is also true
1.11 1..1 AFTBFORM 00001 AFTBLKWD+1,1 block write
format code "B"/"b"
The following constants are used for AFTBFORM
000000C2 AFTBFFIX C'B' FIXED block write code
00000082 AFTBFVAR C'b' VARIABLE block write code
000000BA AFTBPRCT AFTBLKWD+2,2 save prev residual
ct for V-FORM
00BC 188 Signed 4 AFTEBLIN Current item number
00C0 192 Signed 4 AFTEBDSP Current item displacement
00C4 196 Signed 4 AFTDSKSR (7) This field will be overlayed with
the following minidisk AFT fields
or shared file AFT fields
The following fields are used for only minidisk AFTs.
00C4 196 Signed 4 AFTPFSTE (0) Used for 4 byte ptr to FST
00C4 196 Bitstring 1 AFTPFST1 1st byte of pointer
00C5 197 Bitstring 1 AFTPFST (3) pointer to (static) FST entry,
Should be using AFTPFSTE for
Release 6 and later
00C8 200 Signed 4 AFTCLA Core address of chain link bufr
00CC 204 Signed 2 AFTDBD Disk address of current data blk
00CE 206 Signed 2 AFTDBN number of current data block
00D0 208 Signed 2 AFTIN Current item number
00D2 210 Signed 2 AFTID Disp of current item in data blk
00D4 212 Signed 4 AFTFCLA Core address of first chain link
00D8 216 Signed 2 AFTFCLX Disk address of swapped FCL
00DA 218 Signed 2 AFTCLDX Disk addr of swapped chain link
00DC 220 Signed 2 AFTOCLDX Old value (if any) of AFTCLDX
00DE 222 Signed 2 * - reserved -
The following fields are used for only Shared File AFTs.
00C4 196 Signed 4 AFTLCTOK (2) TOKEN for Linkage Component
00CC 204 Signed 4 AFTBLKS Highest block number allocated
00D0 208 Signed 4 AFTWUID workunitid
00D4 212 Character 8 AFTFPID Filepoolid
00DC 220 Signed 2 AFTLEVEL Committed level of the file
00DE 222 Signed 2 * - reserved -
The following are flag bytes for AFTFLG
00E0 224 Bitstring 1 AFTFLG flag byte
1... .... AFTTCLOS X'80' AFTTCLOS The file has been
TCLOSEd.
.1.. .... ALLOWVR X'40' ALLOWVR Allow different
length replace.
..1. .... AFTICF X'20' AFTICF first chain link in
core flag
...1 .... AFTACF X'10' AFTACF This AFT corresponds
to an Associated Control FIle
...1 .... AFTFBA X'10' AFTFBA Full buffer assigned
.... 1... AFTASYNC X'08' AFTASYNC An asynchronous
file I/O is in process for this
AFT
.... 1... AFTDBF X'08' AFTDBF Data block in core
flag
.... .1.. AFTWRT X'04' AFTWRT Changes have been
made to this file since the last
TCLOSE (or if no TCLOSEs, since
it was opened).
.... ..1. AFTRD X'02' AFTRD A successful read has
been performed on this file.
.... ...1 AFTFULD X'01' AFTFULD Full-disk special
case
The following are flag bytes for AFTFLG2.
00E1 225 Bitstring 1 AFTFLG2 second flag-byte
1... .... AFTNEW X'80' AFTNEW file is new or
replaced
.1.. .... AFTPTWRT X'40' AFTPTWRT Part of the data
to be written has been
transferred from the user's
buffer. Any error in this state
must result in either a ROLLBACK
or DISKDIE.
.1.. .... AFTOLDCL X'40' AFTOLDCL Current chain link
exist. prev.
..1. .... AFTALLEM X'20' AFTALLEM Empty file may be
created
..1. .... AFTCLX X'20' AFTCLX alternate chain-link
assigned/ implied - (old CDF
ONLY)
...1 .... AFTREAD X'10' AFTREAD file is being read
.... 1... AFTVLGTH X'08' AFTVLGTH length must be
handled for V-FORM
.... .1.. AFTVLREC X'04' AFTVLREC writing the last
V-format record
.... ..1. AFTFDUSR X'02' AFTFDUSR file data
specified by user
.... ...1 SAMELEN X'01' SAMELEN Force same length
update
.... ...1 AFTDEFLR X'01' AFTDEFLR when on, indicates
that the lrecl of the file has
been assigned by default values.
The following are flag bytes for AFTFLG3.
00E2 226 Bitstring 1 AFTFLG3 third flag byte
1... .... AFTEXREP X'80' AFTEXREP previously
existing SFS file is being
replaced
.1.. .... AFTFSF X'40' AFTFSF AFTPTR bit indicates
in free storage
..1. .... AFTBLKIO X'20' AFTBLKIO special block I/O
used
...1 .... AFTITMAV X'10' AFTITMAV item available
.... 1... AFTCACHN X'08' AFTCACHN NOCACHE option
specified on OPEN
.... .1.. AFTCACHY X'04' AFTCACHY CACHE option
specified on OPEN If AFTCACHN &
AFTCACHY are both off, then
DEFAULT Cache option was
specified on OPEN
.... ..1. AFTOPWR X'02' AFTOPWR File opened for
WRITE, NEW or REPLACE or
CREATEMIG
.... ...1 AFTEXPL X'01' AFTEXPL Explicit OPEN from
FSOPEN
The following are flag bytes for AFTFLG4.
00E3 227 Bitstring 1 AFTFLG4 fourth flag-byte
1... .... AFTEXTND X'80' AFTEXTND When on, indicates
that the SFS file is extended
since the last COMMIT
.1.. .... AFTREFRQ X'40' AFTREFRQ When on, indicates
that all data blocks must be
refreshed to complete this
DMSREAD request
..1. .... AFTWTERR X'20' AFTWTERR error occurred
during write
...1 .... AFTRCMIN X'10' AFTRCMIN When on, indicates
that the AFT has been
successfully initial- ized by
DMSRCMIN. When off, either
DMSRCMIN has not yet been called,
DMSRCMIN initialization failed,
or DMSRCMFL has been called and
the storage used by DMSRCM (i.e.
buffers, RCMWA) has been
released. AFTRCMIN applies to
both EDF and SFS files, but not
CDF files.
.... 1... AFTSFSIO X'08' AFTSFSIO When on, indicates
that an SFS I/O request (such as
READ, WRITE, CLOSE, or TCLOSE)
has been initiated by DMSRCM and
that DMSRCM cannot tolerate
another request for this AFT
until the original request has
completed.
.... .1.. AFTCLOSE X'04' AFTCLOSE Close is in
process - used to suppress TCLOSE
request for this file on a CLOSE
with COMMIT (SFS only)
.... ..1. AFTFNSDT X'02' AFTFNSDT Used internally to
suppress the generation of
current date and time on an
output file. Used by DMSFNSAT
entry point in DMSFNS (FINIS with
attribute changes) and by DMSJFC
(SFS CSL CLOSE program function)
to communicate to the Record
Manager Flush Routine when time
or date are provided by the user.
.... ...1 AFTDSPAC X'01' AFTDSPAC When on, indicates
that the file is in a data space.
00E4 228 Bitstring 8 AFTPDOID Parent Directory Object ID
The following are flag bytes for AFTFLG5.
00EC 236 Bitstring 1 AFTFLG5 fifth flag-byte
1... .... AFTCBCHG X'80' AFTCBCHG current block has
been changed
.1.. .... AFTSHADW X'40' AFTSHADW perform EDF
shadowing
..1. .... AFTIORD X'20' AFTIORD EDF/SFS I/O
operation is read
...1 .... AFTSPLEN X'10' AFTSPLEN length prefix
split across blocks during a
block write to a V-format file
.... 1... AFTCSPAR X'08' AFTCSPAR current block is
sparse
.... .1.. AFTUCXER X'04' AFTUCXER uncached transfer
valid
.... ..1. AFTUPINP X'02' AFTUPINP SFS file is being
treated as an INPLACE file.
.... ...1 AFTNONRC X'01' AFTNONRC SFS file is being
treated as a non-recoverable
file.
The following are flag bytes for AFTFLG6.
00ED 237 Bitstring 1 AFTFLG6 sixth flag-byte
1... .... AFTTHRER X'80' AFTTHRER SFS file space
threshold exceeded (warning)
.1.. .... AFTLNERR X'40' AFTLNERR user buffer length
too short - read data truncated
..1. .... AFTBWEOD X'20' AFTBWEOD end of data
detected on an ERD block write
...1 .... AFTLRERR X'10' AFTLRERR record length out
of range on an ERD block write
.... 1... AFTWFNC X'08' AFTWFNC "empty file not
created" warning on CLOSE during
DMSRCM flush request
.... .1.. AFTWRNW X'04' AFTWRNW "never wrote to
replaced file" warning on CLOSE
during DMSRCM flush request
.... ..1. AFTREQTC X'02' AFTREQTC SFS TCLOSE
required for a non-recoverable
file after a successful write
.... ...1 AFTFORWR X'01' AFTFORWR When on, indicates
that the FORCE option is
specified on DMSWRITE to a
non-recoverable file
The following are flag bytes for AFTFLG7.
00EE 238 Bitstring 1 AFTFLG7 seventh flag-byte
1... .... AFTCLDBC X'80' AFTCLDBC When on, indicates
the caller of this DMSCLOSE is
DMSCLDBK
.1.. .... AFTSPSWR X'40' AFTSPSWR When on, indicates
that an SPS write or tclose was
done since file was opened.
..1. .... AFTSVWRT X'20' AFTSVWRT Saved AFTWRT bit.
The value of the AFTWRT flag is
saved across Record Manager calls
to deter- mine if the write is
the *first write.
...1 .... AFTSBCNT X'10' AFTSBCNT Single block
counted indicator. Used by DMSRCM
to mark a block counted when the
file is a single block file and
no RMWA exists.
.... 1... AFTBFS X'08' AFTBFS File is a BFS file.
00EF 239 Character 1 * - reserved -
00F0 240 Signed 4 AFTFST (0)
FILE STATUS TABLE (FILE DIRECTORY) BLOCK
00F0 240 Signed 4 * (0)
00F0 240 Character 16 AFTNT (0) Filename and file type
00F0 240 Character 8 AFTN FILE NAME
00F8 248 Character 8 AFTT FILE TYPE
1111 .... AFTDIRN 00010 AFTN,16 Subdirectory name
0100 256 Signed 4 AFTD DATE/TIME LAST WRITTEN
0104 260 Signed 2 AFTWP WRITE POINTER (ITEM #)
0106 262 Signed 2 AFTRP READ POINTER (ITEM #)
000AFTRP AFTBFOWN 00008 AFTD,8 Base file owner
0108 264 Signed 2 AFTM File mode and mode number. Mode
number will be blank for DIRs.
00000108 AFTMCHAR AFTM,1 File mode character
00000109 AFTMNUM AFTM+1,1 File mode number
010A 266 Signed 2 AFTIC ITEM COUNT, zero for directories
000AFTIC AFTCDFMR 65533 AFTCDFMR maximum valid
record number for CDF files
010C 268 Signed 2 AFTFCL FIRST CHAIN LINK
00AFTFCL AFTSCID 00004 AFTIC,4 Something Changed
ID
010E 270 Character 1 AFTFV Type of FST flag field
FSTFV flag -byte definitions
000000C6 AFTFVFIX C'F' FIXED file FST
000000E5 AFTFVVAR C'V' VARIABLE file FST
000000C4 AFTFVDIR C'D' DIRECTORY FST
00000060 AFTFVERS C'-' Erased or revoked alias FST
010F 271 Bitstring 1 AFTFB Flag byte (if used)
"FSTFB" FLAG-BYTE DEFINITIONS
(APPLICABLE ONLY TO "STATEFST" COPY OF FST-ENTRY
AFTER SUCCESSFUL "STATE" OR "STATEW" CALL.)
.... .... AFTFRO X'00' READ-ONLY DISK
.1.. .... AFTFROX X'40' READ-ONLY EXTENSION OF
READ-ONLY DISK
...1 .... AFTFBSFS X'10' Shared File FST
1... .... AFTFRW X'80' READ-WRITE DISK
11.. .... AFTFRWX X'C0' READ-ONLY EXTENSION OF
READ-WRITE DISK
.... 1... AFTCNTRY X'08' CENTURY FOR DATE LAST
WRITTEN (0=19, 1=20), CORRESPONDS
TO FSTYR, FSTADATI.
.... .111 AFTFACT X'07' FILE "ACTIVE" - ONE OF THE
FOLLOWING:
.... .1.. AFTFAR X'04' FILE ACTIVE FOR READING
.... ..1. AFTFAW X'02' FILE ACTIVE FOR WRITING
.... ...1 AFTFAP X'01' FILE ACTIVE FROM A "POINT"
APPLICABLE TO FSCBFLG IN PLIST
..1. .... AFTEPL X'20' EXTENDED PLIST
.1.. .... AFTITAV X'40' ITEM AVAILABLE
.... ...1 AFTRECAV X'01' PREVIOUS RECORD NULL
0110 272 Signed 4 AFTIL (MAXIMUM) ITEM LENGTH
0114 276 Signed 2 AFTDBC NUMBER OF DATA BLOCKS
0116 278 Signed 2 AFTYR YEAR
000AFTYR AFTTID 00004 AFTDBC,4 Tupple Identifier
00000028 AFTL *-AFTN FST EDF EXTENSION
0118 280 Signed 4 AFTFOP ALT. FILE ORIGIN POINTER, will be
zero for directories
011C 284 Signed 4 AFTADBC ALT. NUMBER OF DATA BLOCKS, will
be zero for directories
0120 288 Signed 4 AFTAIC ALT. ITEM COUNT, will be zero for
directories
0124 292 Bitstring 1 AFTNLVL NUMBER OF POINTER BLOCK LEVELS,
zero for directories
0125 293 Bitstring 1 AFTPTRSZ LENGTH OF A POINTER ELEMENT, zero
for directories
0126 294 Character 6 AFTADATI ALT. DATE/TIME(YY MM DD HH MM SS)
AFTADATI AFTFDATE 00003 AFTADATI,3 Date
AFTADATI AFTFTIME 00003 AFTADATI+3,3 Time
012C 300 Signed 4 AFTEDFEN
012C 300 Character 1 AFTREALM Real filemode
012D 301 Bitstring 1 AFTFLAG2 FST flag byte 2
...1 .... AFTPIPEU X'10' AFTPIPEU Reserved for CMS
PIPELINES usage
012E 302 Character 2 * - Reserved -
00000040 AFTL2 *-AFTN LENGTH OF AN EDF FST.
012C 300 Bitstring 8 AFTOID Object identifier
0134 308 Bitstring 8 AFTBFOID Base file identifier
The bits in the authority flag byte are mutually
exclusive.
013C 316 Bitstring 1 AFTFB1 authority flag byte
1... .... AFTFB1RD X'80' AFTFB1RD Read authority for
this file
.1.. .... AFTFB1WR X'40' AFTFB1WR Write authority
for this file No Authority to
this file when FB1RD and FB1WR
are off
..1. .... AFTFB1EX X'20' AFTFB1EX ESM-protected file
013D 317 Bitstring 1 AFTFB2 status flag byte
1... .... AFTFB2ER X'80' AFTFB2ER Erased Alias
indicator
.1.. .... AFTFB2RV X'40' AFTFB2RV Revoked Alias
indicator
..1. .... AFTFB2BF X'20' AFTFB2BF Base file
indicator
...1 .... AFTFB2AL X'10' AFTFB2AL Alias fst
indicator
.... 1... AFTFB2SD X'08' AFTFB2SD Subdirectory fst
indicator
.... .1.. AFTFB2DC X'04' AFTFB2DC Dircontrol
subdirectory Note. FB2DC = on
implies that FB2SD = on.
.... ..1. AFTFB2MG X'02' AFTFB2MG Migrated file
.... ...1 AFTFB2EO X'01' AFTFB2EO External Object
013E 318 Bitstring 1 AFTFB3 extended attribute flag byte
1... .... AFTFB3IP X'80' AFTFB3IP file has the
INPLACE attribute
.1.. .... AFTFB3MA X'40' AFTFB3MA module file with
long name alias
..1. .... AFTFB3IV X'20' AFTFB3IV FST invalid
(during cache update -DMSJCM
only)
.... 1... AFTCDOLR X'08' AFTCDOLR CENTURY FOR DATE
LAST REFERENCE (0=19, 1=20),
CORRESPONDS TO FSTDOLR.
013F 319 Character 1 * -RESERVED-
00000050 AFTL3 *-AFTN Length of a Shared file
FST
0140 320 Signed 4 AFTDSFOP Data space file origin pointer
0144 324 Character 3 AFTDOLR Date of last reference
0147 327 Character 1 * -RESERVED-
00000058 AFTL4 *-AFTN Length of an SFS data
space FST
0148 328 Dbl-Word 8 * (0) End of DSECT
00000148 AFTLB *-AFTSECT length of AFT block in
bytes
00000029 AFTLD (AFTLB+7)/8 length of AFT block
in dwords
| |