Exchange/RJE Manual

SETMODE Procedure
Exchange/RJE System Procedure Calls
104698 Tandem Computers Incorporated 5–35
1 = NOTRANSLATE
If you specify NOTRANSLATE and the remote system sends the data as
transparent text (each text block begins with DLE STX), no translation takes
place and the data is returned to your program exactly as received.
If you do not call SETMODE function 43 before beginning a receive operation, the
receive operation will have the following characteristics:
RAWDATA OFF
TRANSLATE
SETMODE Function 44
This function determines whether or not a line server is stopped when your program
closes it (calls CLOSE). If you do not call SETMODE function 44, a line server will not
be stopped when your program closes it. You need to call SETMODE function 44 only
if you want a line server to stop when your program closes it. The following describes
the use of
param1
with SETMODE function 44;
param2
is not used with this function.
SETMODE 44 with
param1
set to 1 does not work as documented in all cases. If the
line server (RJESV) is waiting for a connection 22 to be established (which means the
application program is waiting for a call to SETMODE 41 to finish), the line server
does not stop when the application closes it or when the application stops. In this case,
the only way to stop the line server is to use the TACL STOP command or the STOP
system procedure call.
param1
specifies whether or not the line server is stopped when your program closes it, as
follows:
0 The line server is not stopped when your program closes it. The line server
remains available for use.
1 The line server is stopped when your program closes it.