Envoy Application Programming Manual

Table Of Contents
File-System Procedures
Envoy Application Programming Manual427159-001
C-27
SETMODE
parameter-1 input
INT:value
is a subcode you use, in conjunction with the function value, to further define the
desired mode setting operation. The SETMODE codes are shown in Table C-5 on
page C-27.
parameter-2 input
INT:value
is a subcode you use, in conjunction with the function value, to further define the
desired mode setting operation. The SETMODE codes are shown in Table C-5 on
page C-27.
last-params output
INT:ref:2
is the name of a two-word integer array into which Envoy places the previous values
of parameter-1 and parameter-2 for the specified SETMODE function. The format
of the array is:
last-params[0] = parameter 1 value
last-params[1] = parameter 2 value, if applicable
If the SETMODE call includes only function and last-params, the specified
function is not performed. Instead, Envoy fetches the most recently used values of
parameter-1 and parameter-2 for the specified function and places them into
the last-params array.
Table C-5
summarizes the SETMODE operation codes and provides the analogous
system configuration modifiers, where applicable.
Table C-5. SETMODE Operation Codes (page 1 of 4)
Operation Parameter Description
Analogous
Modifier
15 1 Sets timeout duration in 10-millisecond
units. (Do not use for SWIFT)
TIMEOUT
2 Sets number of times to retry. (Do not use
for SWIFT) Maximum value is 255
RETRIES
16 1 Specifies line and station type, as follows:
.<0> 0: Line code is ASCII (not changeable,
used only to display line state)*
ASCII
1: Line code is EBCDIC (not changeable,
used only to display line state) *
EBCDIC
.<1> 0: Normal EOT processing, returns 163
when EOT is received (BISYNC
multipoint only)
LEADEOT