Envoy ACP/XF Application Programming Manual
System Procedure Call Specifics for EnvoyACP/XF
EnvoyACP/XF Application Programming Manual–132179
4-2
CONTROL Procedure
The rest of this section describes EnvoyACP/XF specifics for CONTROL,
DEFINELIST, READ[X], SETMODE, and WRITE[X].
CONTROL Procedure
A call to the CONTROL procedure initiates a protocol-dependent control operation such
as transmitting a SABM, SNRM, RSET, or DISC frame.
The form of the CONTROL procedure is:
filenum input
INT:value
is the number returned by the OPEN call that opened the line.
operation input
INT:value
is an integer value you use to specify the control operation. Table 4-2 lists the
CONTROL codes and operations.
parameter input
INT:value
is a subcode you use to further define the desired operation. Usually, you specify
this subcode as an integer value. For NRM multipoint configurations, you can set the
high-order bit to indicate that a specific station is to receive a mode-setting
command, then use the low-order bit .<8:15> to specify the station index.
SETMODE
[NOWAIT]
Defines one or more line characteristics.
SETMODENOWAIT Performs identically to SETMODE except that it is performed
as a nowait operation.
WRITE[X] Transmits data from the buffer to the remote station by way of
a single I-frame or transmits the unnumbered command or
response specified by bits 3 through 7 of the MCW.
WRITEREAD[X] Initiates two separate I/O operations: a write followed by a
read.
CALL CONTROL ( filenum !i
, operation !i
, parameter !i
,[ tag ] ); !i
Table 4-1. File-system Procedures Used With EnvoyACP/XF (continued)