Query Keyboard Buffering (QWSQRYWS)API


  Required Parameter Group:

1 Keyboard buffering Output Char(1)

  Optional Parameter Group:

2 Device name Input Char(10)

  Default Public Authority: *USE

  Threadsafe: No

The Query Keyboard Buffering (QWSQRYWS) API sends the data stream command to query the current value for keyboard buffering for a specified display.


Authorities and Locks

Device Authority
*USE
Display File QDWSTYPA Authority
*USE

Required Parameter Group

Keyboard buffering
OUTPUT; CHAR(1)

The current setting for keyboard buffering for the device. Valid values are:

0 The type-ahead and attention key buffering functions are off.
1 The type-ahead and attention key buffering functions are on.
2 The type-ahead function is on, and the attention key buffering function is off.

Optional Parameter

Device name
INPUT; CHAR(10)

The display to query for the keyboard buffering value. You can specify a particular device or use this special value:

*REQUESTER The job's requesting program device is queried for the keyboard buffering value. This is the default.

Error Messages

Message ID Error Message Text
CPF3C90 E Literal value cannot be changed.
CPF94FC E Type-ahead data stream not supported by controller.
CPF94FD E Type-ahead option parameter value not valid.
CPF9872 E Program or service program &1 in library &2 ended. Reason code &3.


API introduced: V2R1

[ Back to top | Workstation Support APIs | APIs by category ]