Set Keyboard Buffering(QWSSETWS)API
Required Parameter Group:
1 |
Keyboard buffering |
Input |
Char(1) |
Optional Parameter Group:
2 |
Device name |
Input |
Char(10) |
Default Public Authority: *USE
Threadsafe: No
The Set Keyboard Buffering (QWSSETWS) API controls the type-ahead and
attention key buffering functions for a display. With the QWSSETWS API, you
can:
- Turn both functions off
- Turn both functions on
- Turn on the type-ahead function without buffering the Attention ke y
- Send the data stream to a specific device
Any changes to the keyboard buffering value made through this program take
effect immediately.
The keyboard buffering data stream is supported by the ASCII Work Station
Input/Output Processor, Twinaxial Work Station Input/Output Processor, 5394
Remote Control Unit, and 5494 Control Unit. Keyboard buffering for personal
computer systems attached using iSeries Access or work station emulation (WSE)
is controlled through the emulation programs; these devices do not support the
type-ahead data stream.
Authorities and Locks
- Device Authority
- *USE
- Display File QDWSTYPA Authority
- *USE
Required Parameter Group
- Keyboard buffering
- INPUT; CHAR(1)
The setting for keyboard buffering for a display. 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 device to set the keyboard buffering value on. You can specify the name
of a particular device or use this special value:
*REQUESTER |
The keyboard buffering value is set on the job's
requesting program device. 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