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

13.2 CBL_READ_KBD_CHAR

This routine waits until a character is input from the keyboard, then reads the input character without displaying it.

Specification

Parameter data definition
01 r-character   PIC X.
01 status-code   PIC S9(4) COMP-5.
Calling format
CALL "CBL_READ_KBD_CHAR"
    USING r-character
    RETURNING status-code.

Interface

r-character

Specifies the area used to store the input character.

Return code

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

status-code
  • 0: Successful

  • Other than 0: Failure