MPE/iX Intrinsics Reference Manual (32650-90875)

Chapter 5 177
Command Definitions (FCONTROL - FLOCK)
FFILEINFO
90 U32 Record type
The following valid record types may be returned:
0 Fixed
1 Variable
2 Undefined
3 Spool block
4 Root directory
5 Not applicable
6 Account directory
7 Group directory
8 Not applicable
9 Byte stream
10 Hierarchical directory
This item will return information based upon the record format that is logically
assoicated with the specified
file designator
and will not necessarily be the
same as the physical record structure of the file. It is possible with the HPFOPEN
intrinsic item 77, Read Format option, to access a file in a different mode than
the physical record type. For example, byte stream record files, when opened by
default, present variable record instead of the physical byte stream storage,
since the file was opened to behave like a variable record file. In order to
determine the true physical record structure of a file, use the FFILEINFO item
101.
91 I64 The current file size in bytes.
The value returned represents the current position of the End-of-File (EOF) and
may not reflect the number of bytes actually occupied by the file on disk if the
file is sparsely allocated.
92 I32 KSAM XL and KSAM64 file version:
This item returns a value indicating the version of a KSAM XL file. A value of 1
indicates an original type KSAM XL file, and a value of 2 indicates the next
generation KSAM XL file. A value of zero is returned if the file is not a KSAM
XL file. A value of 4 indicates a KSAM64 version KSAM file.
93 U32 NM Plabel:
This item returns a 32-bit NM Plabel of a message file interrupt handler.
Interrupts may be enabled on message files by calling the FCONTROL intrinsic
with item 48 and the Plabel address.
Table 5-2. FFILEINFO Itemnum/Item Values
Itemnu
m
Item
Type
Item Description