The ERASE clause clears part of the line or the screen starting at the cursor position.
General Format
Syntax Rules
- The ERASE clause can be specified only for elementary items.
General Rules
- When ERASE EOL is specified, blanking begins at the line and column coordinates specified for the screen data element in whose description it is included and continues through the end of the line.
- When ERASE EOS is specified, blanking begins at the line and column coordinates specified for the screen data element in whose description it is included and continues through the end of the screen.
- If neither the BLANK nor the ERASE clause is specified, only the particular character positions corresponding to the screen data element are modified when the element is displayed.
- The clause is ignored in an ACCEPT operation.