Display Data StreamChapter —6
272 TE 2000
5250 Terminal Emulation Programmer’s Guide
Clear Unit
Function
This command clears the display and format table.
Restrictions
The terminal rejects the command when it is in the SS message state.
Format
The command takes the following f orm:
ESC Clear Unit Command
Hex 04 Hex 40
Results
When the terminal r eceives the Clear Unit command, these occur:
S The keyboard locks.
The Input Inhibited annunciator is turned on.
The error state (or system request state) is cleared.
The shift, alternate, function, and insert modes are cleared.
S The format table is cleared. Because this is not format level 0, a default
header is assumed.
S The MDT bit is cleared.
S All f unction keys are set up to r eturn data.
S The display is cleared by writing nulls to the display buffer.
S A normal attribute is written byte to row 1, column 1 of the display.
S The cursor is placed at row 1, column 2; this makes the insert cursor
address.
S Any AID requests and pending Read Input Fields or Read MDT Fields
commands are cleared.
Note: Operated-selected reverse image and the Message Waiting annuncia-
tor are not affected by this command.