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

11.19 CBL_WRITE_SCR_N_CHAR

This routine sets a specified number of specified characters from the specified position on the screen.

Specification

Parameter data definition
01 position-on-screen.
   02 line-position      PIC 9(4) BINARY.
   02 column-position    PIC 9(4) BINARY.
01 character             PIC X.
01 number-of-characters  PIC 9(4) BINARY.
01 status-code           PIC S9(4) COMP-5.
Calling format
CALL "CBL_WRITE_SCR_N_CHAR"
    USING position-on-screen
          character
          number-of-characters 
    RETURNING status-code.

Interface

line-position

Specifies a line by using a numeric value with the upper-most line assumed to be the origin (0).

column-position

Specifies a column by using a numeric value with the left-most column assumed to be the origin (0).

character

Specifies the character to be written on the screen.

number-of-characters

Specifies the number of characters to be set on the screen.

Return code

The return code is set in the status-code specified in the RETURNING clause.

status-code
  • 0: Successful

  • Other than 0: Failure