This routine clears the screen by using a specified character with the specified attribute.
Specification
01 c-character PIC X(1). 01 attribute PIC 1(8) BIT. 01 status-code PIC S9(4) COMP-5.
CALL "CBL_CLEAR_SCR" USING c-character attribute RETURNING status-code.
Interface
Specifies the character to clear the screen.
Specifies the attribute of the character used to clear the screen.
See "11.14 CBL_WRITE_SCR_ATTRS" for information about attributes.
Return code
The return code is set in the status-code specified in the RETURNING clause.
0: Successful
Other than 0: Failure