Guardian Procedure Calls Reference Manual

operation
input
INT:value
defines the operation to be performed. (See Operations (page 207) for the list of available
operations.)
param
input
INT:value
is the value of the operation to be performed. (See Operations for more information.)
tag
input
INT(32):value
applies to nowait I/O only. The tag parameter is a value you define uniquely identifying the
operation associated with this CONTROL call.
NOTE: The system stores the tag value until the I/O operation completes. It then returns the
tag information to the program in the tag parameter of the call to AWAITIO, thus indicating
that the operation finished.
Condition Code Settings
indicates that an error occurred (call FILE_GETINFO_ or FILEINFO).< (CCL)
indicates that the CONTROL was successful.= (CCE)
for magnetic tape, indicates that the end of file (EOF) was encountered while spacing records; for a
process file, this setting indicates that the process is not accepting process CONTROL messages. When
device handlers do not allow the operation, file-system error 2 returns.
> (CCG)
Operations
Table 10 and Table 11 lists the CONTROL operations that can be used with the I/O devices
discussed in this manual for NonStop servers. Table 10 describes CONTROL operation 1 only;
Table 11 describes the remaining CONTROL operations.
Table 10 CONTROL Operation 1
Description of <param>SubtypeDescription
form feed (send %014)00, 2, or 3Terminal or Line Printer Forms Control
vertical tab (send %013)1–15
skip <param> - 16 lines16–79
form feed (send %014)06 or 32Line Printer
vertical tab (send %013)1–15
skip <param> - 16 lines16–79
skip to VFU channel 0 (top of form)01 or 5Line Printer
skip to VFU channel 1 (bottom of form)1
skip to VFU channel 2 (single space, top-of form eject)2
skip to VFU channel 3 (next odd-numbered line)3
skip to VFU channel 5 (next one-half page)4
skip to VFU channel 5 (next one-half page)5
CONTROL Procedure 207