WAITREAD
WAITREAD
WAITREAD performs full screen terminal input and places the results into the compound variable with:
WAITREAD.0
containing the number of elements returned.
WAITREAD.1
containing the AID description.
WAITREAD.2
containing the cursor position.
WAITREAD.3 through WAITREAD.n
remaining 3270 fields that have been modified.
Return Codes
0 Normal return
3021 No terminal is attached
3099 Internal error
Example
'WAITREAD'
This example reads input from the terminal screen and places the results in the REXX compound variable
WAITREAD.1 through WAITREAD.n.
Note
A read modified is performed to the terminal and an array is returned with information from this read. The
format of these elements is: field_row field_column data
Commands
Chapter 25. REXX/CICS Commands 375