Exchange/SNA Manual
SETMODE Procedure
Exchange/SNA System Procedure Calls
104700 Tandem Computers Incorporated 5–21
SETMODE Function 43
This function specifies the parameters that control a subsequent receive operation
(calls to READ or WRITEREAD). You call SETMODE function 43 to set explicitly the
parameters that control a receive operation. The section below lists the parameters
you can set.
param1
.<13>
specifies whether vertical forms-control information sent from the host is removed
from the data or translated to BSC vertical forms-control escape sequences. This
field can have the following values:
0 FORMS OFF
The vertical forms-control information sent from the host is removed from the
data before the data is passed to your program.
1 FORMS ON
The vertical forms-control information sent from the host is translated to BSC
vertical forms-control escape sequences and then passed to your program in
the first two bytes of each record. For a list of BSC vertical forms-control
escape sequences, see the RECEIVE command in Section 3. Your program is
responsible for translating the BSC vertical forms-control escape sequences
into the appropriate action.
param1
.<15>
specifies whether the data received from the host is translated from EBCDIC to
ASCII before the data is passed to your program. This parameter controls the
translation of both transparent data and nontransparent data. This field can have
the following values:
0 TRANSLATE ON
The data is translated from EBCDIC to ASCII before being returned to your
program. Use this specification to receive data from the host that is coded in
EBCDIC (assuming you want your program to receive ASCII data).
1 TRANSLATE OFF
The data is not translated from EBCDIC to ASCII before being returned to
your program. The data is returned to your program exactly as received. Use
this specification to receive data from the host that is not coded in EBCDIC.
If you do not call SETMODE function 43 before a receive operation, the receive
operation will have the following characteristics:
FORMS OFF
TRANSLATE ON