Statements/parameters for PFKTABxx

PFKTAB
TABLE (tablname) 
PFKTAB indicates that a new PFK table is being defined. PFKTAB must be the first definition in a PFKTABxx member. The tablname indicates the name associated with this PFK table and must be 1-8 alphanumeric characters. The value you specify for tablname here is the value you specify for PFKTAB(tablname) in the CONSOLxx parmlib member.
PFK(xx) 
Indicates the program function key that is being defined. (xx) is a decimal value from 1 through 24. Each xx value must be unique within a table.
CMD     {(‘command[;command]...’)}
        {(‘command[;command]...’)}
CMD indicates that the PFK is to have a command or commands associated with it. command specifies the command. Multiple commands on a CMD line must be separated with a semi-colon. The maximum length of the commands including the single quotation marks is 126 characters. If a command contains a single quotation mark, surround the command with double quotation marks. If the command contain double quotation marks, surround the command with single quotation marks. If a command contains an underscore, define the key as conversational CON(Y). When the system displays the command, the cursor will be under the character immediately to the right of the underscore. The system will not display the underscore. IBM® suggests that you specify the complete command rather than take any parameter defaults, since the defaults might change. See z/OS MVS System Commands for details. JES3 commands must have an asterisk (*) for a prefix or an alternate prefix as specified on the CONSTD statement of the JES3 initialization deck.

If you want an underscore to appear in the command, use two underscores. They are treated as one underscore, and are not used for cursor placement.

 
KEY     {(xx)      }
        {(xx,xx...)}
KEY indicates that the PFK being defined is to be associated with another key or a list of PF keys. xx indicates the PFK to be processed when the PFK being defined is pressed. xx is a decimal number between 1-24 and cannot be the same value as on the PFK(xx). For example, do not define PFK(10) KEY(10). You may code a maximum of 62 keys in a key list.
 
CON     {(Y)}
        {(N)}
Specifies whether the PFK being defined is to be conversational or nonconversational. If the PFK is conversational, CON(Y), the system will display the command so you can modify it before executing it. If the PFK being defined is associated with a list of keys, and the PFK is conversational, the system displays the command associated with each key in the key list so you can make modifications. If a PFK is nonconversational, the system automatically executes the command when the PFK is pressed. If you do not specify CON, the default is nonconversational; the command will not be displayed before executing.
Note: If a command contains a single underscore used to place the cursor, you must specify CON(Y).