Exchange/RJE Manual
SETMODE Procedure
Exchange/RJE System Procedure Calls
5–32 104698 Tandem Computers Incorporated
1 COMPRESS
If you specify COMPRESS, groups of 2 to 63 consecutive blanks are replaced
by an IGS (EBCDIC) or GS (ASCII) character and a space-count character that
specifies the number of blanks that were removed by the compression. The
remote system (provided it supports compression) replaces the IGS or GS
character and the space-count character with the indicated number of blanks.
If you specify both COMPRESS and TRUNCATE, trailing blanks are
truncated, not compressed.
COMPRESS is not allowed with either TRANSPARENT or NOTRANSLATE.
param1
.<15>
controls the translation of data from ASCII to EBCDIC, as follows:
0 TRANSLATE
If you specify TRANSLATE and TRANSPARENT, the data is translated from
ASCII to EBCDIC before it is transmitted. This translation occurs regardless of
whether the data communications line was defined as an EBCDIC line or an
ASCII line during system generation.
If you specify TRANSLATE and NOTRANSPARENT, whether the data is
translated or not depends on how the data communications line was defined
during system generation. If the data communications line was defined as an
EBCDIC line, the data is translated from ASCII to EBCDIC before it is
transmitted. If the data communications line was defined as an ASCII line, the
data is not translated before it is transmitted. In both cases, the data is
transmitted as normal text.
1 NOTRANSLATE
If you specify NOTRANSLATE, the data is not translated from ASCII to
EBCDIC before it is transmitted and the data is transmitted as transparent text.
Use NOTRANSLATE when you want to transmit non-ASCII-coded data, such
as object code.
If you specify NOTRANSLATE and the line server is emulating a 2780 or 3780
terminal (or is operating in block mode with 2780 or 3780 blocking), your
program must send fixed-length records of 80 bytes each. That is, the
write-
count
parameter in the calls to WRITE or WRITEREAD must be 80. If the
write-count
parameter is not 80, error 21 (bad count) is returned. If the line
server is operating in block mode without blocking, this restriction to 80-byte
records does not apply.
Note that while Exchange/RJE allows the use of transparent text with ASCII
data communications lines, IBM 2780 and 3780 terminals do not support the
use of transparent text with ASCII data communications lines.