Envoy Application Programming Manual

Table Of Contents
File-System Procedures
Envoy Application Programming Manual427159-001
C-30
SETMODE
Condition Codes
Example
CALL SETMODE (fnum,18,10);
where fnum is of the one-word integer variable specified in the OPEN call that opened
the particular communications line. This call sets the statistics threshold of the specified
line to 10. When the sum of NAKs received, BCC errors, format errors, and retries
exceeds 10, the appropriate statistics are printed at the operator console.
2 = no parity NONE
135 1 Enable/disable parity checking for
asynchronous lines
.<15> 0: Enables parity checking CHECK
1: Disables parity checking NOCHECK
137 1 Specifies the error code to be returned
when a station does not receive a response
to a line bid or to transmitted text
0: Specifies that different error codes are
returned for the no-response conditions
ERRDIFF
Error 171 (no response on bid/poll) is
returned when a station does not detect a
response to a line-bid
Error 162 (operation timed out) is
returned when a station does not detect a
response to transmitted text.
1: Specifies that error 171 is returned for
both of the above-mentioned no-response
conditions
NOERRDIFF
147 1 Enables/disables DSR detection for
asynchronous lines
0: Enables DSR detection DSRSENSEON
1: Disables DSR detection DSRSENSEOFF
< (CCL) Indicates that an error occurred (call FILEINFO).
= (CCE) Indicates that the SETMODE procedure was executed successfully.
Table C-5. SETMODE Operation Codes (page 4 of 4)
Operation Parameter Description
Analogous
Modifier