CBL_CLEAR_SCR

Clears the whole screen to a specified character and attribute.

Note: This routine is supported for native COBOL only.

Syntax:

call "CBL_CLEAR_SCR" using     character
                               attribute-buffer
                     returning status-code

Parameters:

  Using call prototype (see Key) Picture
character cblt-x1-compx pic x.
attribute-buffer cblt-x1-compx pic x.
status-code See Library Routines - Key

On Entry:

character The character to write.
attribute-buffer The attribute(s) to write. Use the following table to set one or more attributes:
B"10000000" BACKGROUND HIGHLIGHT
B"01000000" BACKGROUND-COLOR (RED)
B"00100000" BACKGROUND-COLOR (GREEN)
B"00010000" BACKGROUND-COLOR (BLUE)
B"00001000" FOREGROUND HIGHLIGHT
B"00000100" FOREGROUND-COLOR (RED)
B"00000010" FOREGROUND-COLOR (GREEN)
B"00000001" FOREGROUND-COLOR (BLUE)

On Exit:

None.