SET PFKEY command

Associates a z/OS Debugger command with a Program Function key (PF key). This setting is not supported in batch mode.

Read syntax diagramSkip visual syntax diagram
>>-SET--PFn--+--------+--=--+---------+--;---------------------><
             '-string-'     '-command-'      

PFn
A valid program function key specification (PF1 - PF24).
string
The label shown in the PF key display (if the KEYS setting is ON) that is entered as a string constant. The string is truncated if longer than eight characters. If the string is omitted, the first eight characters of the command are displayed. For C and C++, the string must be surrounded by quotation marks ("). For COBOL, LangX COBOL, PL/I, assembler, and disassembly, the string can be surrounded by either quotation marks (") or apostrophes (').
command
A valid z/OS Debugger command, partial command, or multiple commands.

If you specify multiple commands, you must surround them with string delimiters. For C and C++, you must surround them with quotation marks ("). For COBOL, LangX COBOL, PL/I, assembler, and disassembly, you can surround them with either quotation marks (") or apostrophes (').

Usage notes

Example

Define the PF5 key to scroll the cursor-selected window forward. In all cases, the setting for PF17 remains the same.