Top
NetCOBOL V11.0 CBL Subroutines User's Guide
FUJITSU Software

11.8 CBL_GET_SCR_SIZE

This routine obtains the logical screen size of the currently displayed window to be used for a screen operation function.

Specification

Parameter data definition
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.
Calling format
CALL "CBL_GET_SCR_SIZE"
    USING number-of-window-lines
          number-of-window-columns 
    RETURNING status-code.

Interface

number-of-window-lines

Specifies the area used to set the number of window lines.

number-of-window-columns

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.

status-code
  • 0: Successful

  • Other than 0: Failure