Accessing Files Programmer's Guide (32650-90885)

200 Chapter14
Getting File Information
Displaying File Error Information
+-F-I-L-E---I-N-F-O-R-M-A-T-I-O-N---D-I-S-P-L-A-Y+
! FILE NAME IS TREEFILE.PSMG.LOZAR ! Line #1
! FOPTIONS: NEW,ASCII,FORMAL,F,NOCCTL,FEQ, ! Line #2
! NOLABEL ! Line #3
! AOPTIONS: INPUT,NOMR,NOLOCK,DEF,BUF,NOMULTI, ! Line #4
! WAIT,NOCOPY ! Line #5
! DEVICE TYPE: 0 DEVICE SUBTYPE: 9 ! Line #6
! LDEV: 2 DRT: 4 UNIT: 1 ! Line #7
! RECORD SIZE: 256 BLOCK SIZE: 256 (BYTES) ! Line #8
! EXTENT SIZE: 128 MAX EXTENTS: 8 ! Line #9
! RECPTR: 0 RECLIMIT: 1023 ! Line #10
! LOGCOUNT: 0 PHYSCOUNT: 0 ! Line #11
! EOF AT: 0 LABEL ADDR: %00201327630 ! Line #12
! FILE CODE: 0 ID IS PAULA ULABELS: 0 ! Line #13
! PHYSICAL STATUS: 1000000000000001 ! Line #14
! NUMBER WRITERS: 0 NUMBER READERS: 1 ! Line #15
! ERROR NUMBER: 0 RESIDUE: 0 ! Line #16
! BLOCK NUMBER: 0 NUMREC: 1 ! Line #17
+------------------------------------------------+
The lines on the above display show the information listed in Table 14-3. on page 200
Table 14-3. PRINTFILEINFO Information
Line # Meaning
1 The file name.
2,3 The
foptions
in effect.
4,5 The
aoptions
in effect.
6,7 The device type and subtype, logical device number, (LDEV),
device reference table (DRT), and unit of the device on which the
file resides. If the file is a spool file, the
ldev
is the virtual rather
than the physical device.
8 The record and block size of the offending record, in bytes and
words, as noted.
9 The size of the current extent and the maximum number of
records in the file.
10 The current record pointer, and limit on number of records in the
file.
11 The present count of logical and physical records.
12 The locations of the current EOF and header label of the file.
13 The file code, name of the file's creator, and number of
user-created labels.
14 The physical (hardware) status of the device on which the file
resides.