Exchange/RJE Manual
SETMODE Procedure
Exchange/RJE System Procedure Calls
104698 Tandem Computers Incorporated 5–27
SETMODE Procedure The SETMODE procedure sets parameters that control the operation of the
Exchange/RJE line server.
CALL SETMODE (
filenum
,
function
, [
param1
]
, [
param2
] );
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.
function
INT:value
specifies the operation to be performed. The allowed values and their functions
are:
41 Establishes a connection between the line server and the data communications
line.
42 Specifies the parameters for a send operation.
43 Specifies the parameters for a receive operation.
44 Specifies whether a line server should be stopped when closed.
45 Returns the current state of the line server.
param1
INT:value
assigns values to various parameters depending on the specified function. See
“Considerations” below for the use of this parameter with each function.
This parameter is required if it is used by the specified function.
param2
INT:value
is used when
function
is 41 or 42. Otherwise, this parameter is ignored and can
be omitted. See “Considerations” for the use of this parameter when
function
is
41 or 42.
This parameter is required if it is used by the specified function.