This routine writes a string at the current cursor position on the screen.
Specification
01 string-storage-area PIC X(n). 01 string-length PIC 9(4) BINARY. 01 status-code PIC S9(4) COMP-5.
CALL "CBL_WRITE_SCR_TTY" USING string-storage-area string-length RETURNING status-code.
Interface
Specifies the string to be written on the screen.
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.
0: Successful
Other than 0: Failure