Skip to main content

Problem:

Using CRT Status to detect the page-up or page-down key in a COBOL program.

Resolution:

The page-up and page-down keys are not ADIS keys.  They are in fact user function keys.  If they are not recognized by your COBOL program then you have two options on defining them.

First, you can define the page-up and page-down key using keybcf.  Under option 3-Alter User Function Keys you must modify function keys 53 (page-up) and 54 (page-down) by pressing the key for appropriate action.

Save the file (cobkeymp).

There is a table of the various key numbers in the Server Express documentation.

The other option is to modify your terminfo setting.

Old KB# 7255