Exchange/SNA Manual

SETMODE Procedure
Exchange/SNA System Procedure Calls
5–20 104700 Tandem Computers Incorporated
param1
.<15>
specifies whether the data sent to the host is translated from ASCII to EBCDIC
before being transmitted. This parameter controls the translation of both
transparent data and nontransparent data. This parameter can have the following
values:
0 TRANSLATE ON
The data is translated from ASCII to EBCDIC before being transmitted to the
host. Use this specification to send data to the host that is coded in ASCII
(assuming you want EBCDIC data at the host).
1 TRANSLATE OFF
The data is not translated from ASCII to EBCDIC before being transmitted to
the host. The data is sent to the host exactly as your program writes it to the
subdevice. Use this specification to send data to the remote system that is not
coded in ASCII.
If you specify TRANSLATE OFF, you must specify COMPRESS NONE
(
param1
.<13:14>=3).
param2
specifies the record length.
param2
can have a value from 0 through 255 unless
the host subsystem is JES2, in which case the value range is from 0 through 254.
If this value is set to 0, or if the parameter is omitted, Exchange/SNA uses a record
length of 80. Otherwise, it uses a record length of
param2
bytes.
If you do not call SETMODE function 42 before beginning a send operation, the send
operation will have the following characteristics:
COMPRESS ALL
TRANSLATE ON
Record length of 80