X25AM Programming Manual

ITI Applications
X25AM Programming Manual527201-001
2-13
Terminal Operation
If you use the SCF ALTER command to configure BPADPARMS or CPADPARMS, and
you assign a zero or negative length, X25AM will return error 590 (parameter value
invalid or inconsistent with another).
The parameters are used by ITI in the following order:
If the parameters are specified for the subdevice, then these parameters are used.
If the parameters are not specified for the subdevice, then the line parameters are
used.
If the parameters are not specified for the subdevice or the line, then the default
parameters, determined by the SU REMOTENET value, are used.
If the parameters are not specified for the subdevice or the line, ITI sends a Q-
packet to the PAD. In the Q-packet, the CPADPARMS (13, 4) parameter directs the
PAD to insert a line feed (LF) after a carriage return (CR) is received from the
terminal. The same result occurs by issuing the SETMODE 7 procedure with
param 1=1.
Using SETMODE to Configure the PAD
Some SETMODE calls result in the generation of a PAD command. ITI issues the
entire set of default parameters with the parameter alterations specified in the
SETMODE. SETMODEs 6, 7, 8, 9, 10, 20 27, 31, and 38 are used to configure the
PAD.
The PAD command packet may not be immediately sent to the PAD. If the application
issues the SETMODE before a call is established, the SETMODE parameters are
included in the SET PAD PARAMETER command sent as result of a Call or Connect
Request and a Call Accepted.
If the application process issues the SETMODE after the call established, the
SETMODE parameters are formatted into a SET PAD PARAMETER command that is
queued. When a READ or WRITE statement is issued, the SET PAD PARAMETER
command packets are sent to the PAD before READ or WRITE processing begins. If
the PAD has data for the terminal when the SET PAD PARAMETER command arrives,
the data is transferred to the terminal before the PAD parameters take effect.
Terminal Operation
Aspects of terminal operation that pertain to ITI include changing the terminal mode
with SETMODE, resetting terminals, and optimizing output data from 6530 terminals.
The following subsections describe these aspects.
Note. If any parameters are specified by using SCF to configure the PAD, then all desired
parameters, both standard X.3 and network-specific, must be specified.