QUERY PFnn
Authorization
Privilege Class: G
Purpose
Use QUERY PFnn to display the program function key assignments.
Operands
- PF
- PFnn
- requests a display of the program function command lines associated with the program function key you designate by the value nn. The value nn is a number from 1 (or 01) through 24. If you do not specify a value for nn, all program function keys and their associated data lines are displayed.
Usage Notes
- See SET PFnn for an explanation of the way to define and use program function keys.
Responses
Response 1:
PFnn [SUBSTITU]{DELAY } pfdata
{IMMED }
{NODISP}
- PFnn
- is the program function key number.
- SUBSTITU
- indicates that tokens from the input are substituted in pfdata when the PF key is pressed. Otherwise, no substitution takes place.
- DELAY
- IMMED
- NODISP
- indicates when the program function is to be run. IMMED means the program function is run when you press the PF key. DELAY means the program function is displayed in the input area when you press the PF key. NODISP means the program function is executed when you press the PF key, but the function is not redisplayed on the terminal.
- pfdata
- is the program function command line associated with the key.
Response 2:
If the program function key has been set to retrieve prior commands, you can receive these
responses:
PFnn RETRIEVE BACKWARD
PFnn RETRIEVE FORWARD
PFnn RETRIEVE BACKWARD n
PFnn RETRIEVE FORWARD n
Response 3:
If there is no function defined for the program function key, you see the following:
PFnn UNDEFINED
Messages
- HCP003E Invalid option - option
- HCP263E Too many operands were supplied for this command.