Using KSAM/XL and KSAM 64 (32650-90886)

86 Chapter9
KSAM Intrinsics
FFILEINFO
45 CA File name from labeled tape header 1 record (>= 17 bytes)
46 I16 Tape density
47 I16 DRT number: Always returns an 8.
48 I16 Device unit number: Always returns a 0.
49 U16 Equivalent to a software interrupt PLABEL for message files
50 U16 Real device number of the file
51 I16 Remote environment number
Note: If using NS 3000/XL RFA (remote file access), specify DSDEVICE
ldev#
when
you are using a DS (point-to-point or X.25) link.
52 I32 Last modification time (CLOCK format) Zero is returned as the modification time
for root directories, accounts, and MPE groups created prior to the POSIX release.
53 U16 Last modification date (CALENDAR format) Zero is returned as the modification
time for root directories, accounts, and MPE groups created prior to the POSIX
release.
54 U16 File creation date (CALENDAR format) Zero is returned as the modification time for
root directories, accounts, and MPE groups created prior to the POSIX release.
55 U16 Last access date (CALENDAR format) Zero is returned as the modification time for
root directories, accounts, and MPE groups created prior to the POSIX release.
56 I32 Number of data blocks in a variable length file
57 I16 Number of user labels written to the file
58 I16 Number of accessors having output access (write) for a particular file
59 I16 Number of accessors having input access (read/update) for a particular file
60 I16 Terminal type:
0 File's associated device not a terminal
1 Standard hardwire or multipoint terminal
2 Terminal connected through phone-modem
3 DS pseudo-terminal
4 X.25 Packed Switching Network PAD (packet
assembler/disassembler) terminal
5 NS virtual terminal
Table 9-2. FFILEINFO Itemnum/Item Values
Item
num
Item
Type
Item Description