This routine obtains the logical screen size of the currently displayed window to be used for a screen operation function.
Specification
01 number-of-window-lines PIC 9(4) BINARY. 01 number-of-window-columns PIC 9(4) BINARY. 01 status-code PIC S9(4) COMP-5.
CALL "CBL_GET_SCR_SIZE" USING number-of-window-lines number-of-window-columns RETURNING status-code.
Interface
Specifies the area used to set the number of window lines.
Specifies the area to set the number of window columns.
Return code
The return code is set in the status-code specified in the RETURNING clause.
0: Successful
Other than 0: Failure