VMS Help
PLI, Subroutines
*Conan The Librarian
|
In addition to the PL/I input and output statements and functions
and features available through the options of the ENVIRONMENT
attribute, there are several built-in subroutines. They are
"built-in" because you do not need to declare them before using
them in a PL/I program.
Obtains information about a given file.
CALL DISPLAY (file-reference,variable-reference) ;
The variable reference must have an identical structure as
PLI_FILE_DISPLAY in PLI$STARLET.TLB. If PLI_FILE_DISPLAY is used,
it must be allocated and associated with a pointer.
Increases a disk file's allocation by a specified number of
512-byte disk blocks.
CALL EXTEND (file-reference,integer-expression) ;
Writes RMS buffers back to disk and checkpoints the file.
CALL FLUSH (file-reference) ;
Unlocks all the locked records in a specified file.
CALL FREE (file-reference) ;
Advances a magnetic tape file to the next volume.
CALL NEXT_VOLUME (file-reference) ;
Unlocks a specified record in a file.
CALL RELEASE (file-reference,variable-reference) ;
Handles a signaled condition by continuing the signal and
requesting PL/I to locate another ON-unit to handle the condition.
CALL RESIGNAL ();
Rewinds a tape volume to its beginning or positions a disk file at
the first record in the file or the first record in the key
sequence.
CALL REWIND (file-reference);
Repositions a file that is opened for block I/O forward or backward
by a specified number of blocks.
CALL SPACEBLOCK (file-reference,integer-expression);