MPE/iX Quick Reference Guide (32650-90881)

82 Chapter3
Intrinsics Descriptions
Descriptions of the Intrinsics Available in MPE/iX
Returns the process identification number (PIN) of the parent calling process. Process
handling (PH) capability is required.
I16
pin
:=FATHER;
FCHECK
NM and CM callable.
Returns specific details about error conditions that occurred when a file system intrinsic
returns a condition code indicating an I/O error. FCHECK applies to files on any device.
I16V I16 I16 I32 I16
FCHECK(
filenum,fserrorcode,translog,blocknum,numrecs
);
FCLOSE
NM and CM callable.
Terminates access to a file on any device by closing the reference file descriptor. If the file is
not being accessed by another process, resources associated with the open file description
are released.
I16V I16V I16V
FCLOSE(
filenum,disposition,securitycode
);
FCONTROL
NM and CM callable.
Performs various control operations on a file or on the device where the file resides,
including:
Supplying a printer or terminal carriage control directive.
Verifying I/O.
Reading the hardware status word for the device where the file resides.
Setting a terminal's timeout interval.
Repositioning a file at its beginning.
Writing an end-of-file marker.
Skipping forward or backward to a tape mark.
I16V I16V *
FCONTROL(
filenum,itemnum,item
);
FDELETE
NM and CM callable.
Deactivates a specified logical record in an RIO file.
I16V I32V