Toggling Keyboard Buffering

IT Infrastructure - Other
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

You can enable or disable a user's keyboard buffering by changing the KBDBUF parameter in the user profile or by changing the QRBDBUF system value. Unfortunately, when you change either of these values, the user must sign off and sign on again to have the change become effective. The change is permanent for the duration of the job.

There is a more flexible solution, especially if you need to change keyboard buffering support within a job. There is an API that lets you enable or disable the keyboard buffering for a job. You can call this API from the command line or from your own programs.

Use this code to disable keyboard buffering.

CALL PGM(QWSSETWS) PARM('0')

Use this code to enable keyboard buffering.

CALL PGM(QWSSETWS) PARM('1')

This technique only works with certain controllers and is not supported for PCs running PC Support.

BLOG COMMENTS POWERED BY DISQUS