Display Data StreamChapter —6
262 TE 2000
5250 Terminal Emulation Programmer’s Guide
Read Input Fields
Function
The Read Input Fields command causes the terminal to wait for the oper-
ator to press an active AID-generating key, then sends the contents of all
fields defined in the format table to the host.
Restrictions
The operator must press an AID-generating key to execute this command.
Also, CD in the Request/Response Header (RH) must be on before the
AID byte can be serviced. This command is cleared if:
S The host system issues a session control request (such as Unbind).
S The host system issues a Clear Unit command and the controller
executes it.
S The host system sends another Read command to the same LU and
overlays this command.
S The Read command is executed.
Format
The command takes the following f orm:
ESC Read Input Fields Command CC Byte 1 CC Byte 2
Hex 04 Hex 42 Hex 00 Hex 13
Results
Information associated with this command returns to the user in the
LU-LU nonexpedited flow. Note that the host system cannot receive this
information until the operator presses an AID-generating key. What the
user receives when they issue this command depends on the condition of
the master MDT bit:
S If the master MDT bit is not set, the user receives:
Cursor Address AID Code
S Cursor Address:
Position of the cursor when the AID-generating key was pressed.
S AID Code:
Code for the AID-generating key the operator used.
S The user receives the cursor address and AID code if any of the follow-
ing keys are pressed:
S Clear
S Help
S Print
S Record Backspace in home position