MPE/iX Intrinsics Reference Manual (32650-90905)

Chapter 5 197
Command Definitions (FCONTROL - FLOCK)
FGETINFO
are the remote environment of the connection. The right eight bits (8:8)
are the LDEV of the device on the remote computer where the file label
resides.
If the DS device for the RFA or the LDEV is 0, then
ldevnum
returns a
0.
hdaddr
16-bit unsigned integer by reference (optional)
Returns 2048. Maintained to provide backward compatibility with
MPE V/E-based systems.
filecode
16-bit signed integer by reference (optional)
Returns the file code of a disk file.
(ASC) Not valid for asynchronous device files.
lrecptr
32-bit signed integer by reference (optional)
Returns the current logical record pointer setting. This value is the
displacement in logical records from record number 0 in the file and
identifies the record that would be accessed next by an FREAD or FWRITE
call.
(ASC) Not valid for asynchronous device files.
eof
32-bit signed integer by reference (optional)
Returns the pointer setting of the last logical record currently in the file
(equivalent to the number of logical records currently in the file). If the file
does not reside on disk, this value is zero. For interprocess communication
(IPC), when a call to FCONTROL with
itemnum
=46 is in effect, the number of
records returned in
eof
includes open, close, and data ecords.
(ASC) Not valid for asynchronous device files.
filelimit
32-bit signed integer by reference (optional)
Returns a number representing the last logical record that could exist in
the file (the physical limits of the file). If the file does not reside on disk,
this value is zero.
(ASC) Not valid for asynchronous device files.
logcount
32-bit signed integer by reference (optional)
Returns the total number of logical records passed to and from the
program during the current file access.
physcount
32-bit signed integer by reference (optional)
Returns the total number of physical I/O operations performed within the
process, against the file, since the last FOPEN/HPFOPEN call.
blksize
16-bit signed integer by reference (optional)
Returns the file block size:
If the file is binary, the value is positive and the size is in half words.