CBL_CLEAR_SCR

The CBL_CLEAR_SCR routine is one of a set of library routines that facilitate reading and writing attributes on the screen. This routine clears the entire screen using a specified character and attribute.

Usage

CALL "CBL_CLEAR_SCR" 
    USING CHARACTER, ATTRIBUTE
    RETURNING STATUS-CODE

Parameters

CHARACTER PIC X COMP-X. On entry, contains the character to write
ATTRIBUTE PIC X COMP-X. On entry, contains the attribute to write
STATUS-CODE Any numeric type    Returns 1 if successful, or 0 if not successful