Exchange/SNA Manual

SETMODE Procedure
Exchange/SNA System Procedure Calls
5–18 104700 Tandem Computers Incorporated
SETMODE Procedure The SETMODE procedure sets the parameters for send and receive operations.
CALL SETMODE (
filenum
,
function
,
param1
, [
param2
] );
filenum
INT:value
is the file number of a previously opened subdevice supported by the
Exchange/SNA line server. The number you specify here is the number returned
by the call to OPEN that opened the subdevice.
function
INT:value
specifies the operation to be performed. The allowed values and their functions
are:
42 Specifies the parameters for a send operation.
43 Specifies the parameters for a receive operation.
param1
INT:value
sets the parameters for a send operation or a receive operation depending on
specified function. See “Considerations” below for the use of this parameter with
each function.
param2
INT:value
specifies the maximum record size, in bytes, for a send operation. The allowed
range is discussed under “Considerations,” below. The size you specify here is
placed in the ERCL field of the type 1 function management header that begins the
data stream to the host.
If you specify 0 or omit this parameter, the default record size is 80 bytes.
This parameter is used only with SETMODE function 42; it should be omitted in
calls to SETMODE function 43.