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

11.6 CBL_WRITE_SCR_TTY

This routine writes a string at the current cursor position on the screen.

Specification

Parameter data definition
01 string-storage-area  PIC X(n).
01 string-length        PIC 9(4) BINARY.
01 status-code          PIC S9(4) COMP-5.
Calling format
CALL "CBL_WRITE_SCR_TTY"
    USING string-storage-area
          string-length
    RETURNING status-code.

Interface

string-storage-area

Specifies the string to be written on the screen.

string-length

Specifies the length of the string to be written 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