Asynchronous Serial Communications Programmer's Reference Manual (32022-90052)

Chapter 9 231
Intrinsics Reference (cont)
FFILEINFO
Table 9-1 Selected Item Values Returned by FFILEINFO
Item
No.
Info. Returned In Item Type
1 Actual file designator of the file, in the
format:
filename.groupname.accountname
Character array, at least 28 bytes in length.
Unused bytes are filled with right justified
blanks and a nameless file returns an
empty string. The fully qualified name of
the file referenced by filenum is returned
as the value of this itemnum. Only names
which can be expressed using MPE only
semantics are returnedby this itemnum.if
the name of the object referenced by
filenum cannot be expressed using MPE
name semantics a CCL condition code is
returned. Calling FCHECK for filenum
after this error occurs, will result in error.
2 File options (refer to the summary figure
listing foptions bit settings).
16-bit unsigned integer by reference.
3 Access options (refer to the summary
figure listing aoptions bit settings).
16-bit unsigned integer by reference.
5 Device type indicated by: bits (8:8) =
device type.
16-bit signed integer by reference.
6 Local device number of the device where
the file label resides.
16-bit unsigned integer by reference.
12 Number of logical records passed to and
from your program during the current
access.
32-bit signed integer by reference.
13 Number of buffered physical I/O
operations performed since the last
FOPEN/HPFOPEN call (records).
16-bit signed integer by reference.
43 Environment file name. Character array, at least 36 bytes in length.
50 Real device number of the file. 16-bit unsigned integer by reference.
60 Terminal type, defined as follows:
0–File’s associated device is not a
terminal.
1–Configured as standard hardwired
terminal. Could also be TELNET/iX
device.
2–Configured as a modem-connected
terminal. Could also be TELNET/iX
device.
4–DTC PAD Terminal.
5–NS Virtual Terminal.
16-bit signed integer by reference.