CBL_GET_KBD_STATUS

Checks whether there is a character waiting to be read from the keyboard.
Restriction: This routine is not currently supported in COBOL for JVM.

Syntax:

call "CBL_GET_KBD_STATUS" using     key-status
                          returning status-code

Parameters:

  Using call prototype (see Key) Picture
key-status cblt-x1-compx pic x comp-x.
status-code See Library Routines - Key

On Entry:

None

On Exit:

key-status
The status of the keyboard: