Exchange/RJE Manual

CONTROL Procedure
Exchange/RJE System Procedure Calls
5–12 104698 Tandem Computers Incorporated
CONTROL Procedure The CONTROL procedure sends an end-of-text (ETX), end-of-transmission (EOT), or
disconnect (DLE EOT) message to the remote system.
CALL CONTROL (
filenum
,
operation
, [
param
]
, [
tag
] );
filenum
INT:value
is the file number of the Exchange/RJE line server. This number is returned by the
call to OPEN that established communication with the line server.
operation
INT:value
specifies the operation to perform. The allowed values of
operation
are:
2 Sends an end-of-text (ETX) block to the remote system, with or without an
end-of transmission (EOT) character, depending on the value of
param
.
13 Sends an end-of-transmission (EOT) character to the remote system.
19 Sends a disconnect (DLE EOT) message to the remote system.
param
INT:value
optionally qualifies operation 2. The allowed values of
param
are:
0 Sends an end-of-text (ETX) block and an end-of-transmission (EOT) character
to the remote system.
1 Sends an end-of-text (ETX) block only to the remote system, followed by a
temporary text delay (TTD) message every 2 seconds until another file
transmission or end-of-transmission (EOT) message is sent.
The default is 0.
tag
INT(32):value
identifies individual nowait I/O operations when a single file can have two or
more nowait I/O operations outstanding at the same time. The value of
tag
is a
unique, arbitrary value that your program defines for each nowait I/O operation.
A subsequent call to AWAITIO that completes this I/O operation returns this
value to your program, identifying this I/O operation as the nowait I/O operation
that just completed.