Display Data Stream—Chapter 6
281TE 2000
5250 Terminal Emulation Programmer’s Guide
Insert Cursor (IC)
Function
The IC order either sets the system insert cursor (IC) address to the loca-
tion specified by the two bytes that follow the order when it is included in
the WTD command, or moves the cursor to the specified address without
affecting the system IC address when it is included in the Write Error
Code command.Byte1givestherowaddressandByte2givesthecursor
address.
Note:IfmultipleIC orders appear in the Write data stream, the last one
encountered is used in subsequent operations.
Restrictions
A parameter error is posted when:
S There are fewer than two bytes following the order.
S Therowaddressequals0orisgreaterthan24.
S Thecolumnaddressequals0orisgreaterthan80.
Format
The order takes the f ollowing form:
Insert Cursor Order Row Address Column Address
Hex 13 Hex 01 Hex 01
Results
When the order is used in the WTD command, the cursor is not immedi-
ately moved; the address is saved for later use. The cursor is moved when
theentireWTDiscompleted.
When the order is used in the Write Error Code command, the cursor is
moved to the address given in the IC order and does not affect the system
ICaddress.Thecursorexitsthefieldregardlessofthetypeanddoesnot
perform any field checks. For example, it does not check for a filled field
for a field specified as mandatory fill.
You can use the IC order in the Write Error Code command to tell the
terminal operator where an error has occurred. Maximum row and col-
umn addresses are determined by the character size selected through the
terminal’s TE configuration menus or fir mware.