The text of one or more commands are to be associated with a PFK. Later, when you press this PFK, the commands are entered into the system.
The commands associated with other PFKs are to be associated with one PFK.
Entries in the PFK table also determine whether conversational or nonconversational mode is to be in effect for a command defined to a PFK. In nonconversational mode, the commands associated with a key are entered immediately when you press the key. In conversational mode, pressing a PFK causes the command to appear in the entry area, but no enter action takes place. You can change, enter, or cancel the command according to your requirements.
PFK(5) CMD('D U,L=_XXX') CON(Y)
D U,L=XXX
If you want an underscore to appear in the command, code two consecutive underscores. The system will treat them as a single underscore, and will not use them for cursor placement. Example:
If the PRKTAB table contains:
PFK(17) CMD('E _XXXXXXXX,SRVCLASS=BAT__HI'),CON(Y)
when you press PFK17, the entry area will contain:
E XXXXXXXX,SRVCLASS=BAT_HI
with the cursor under the first X.
Selector pens also use the definitions in PFK tables.
DISPLAY PFK,TABLE=MVSCMDS
DISPLAY PFK,TABLE
CONTROL N,PFK=JES2CMDS
SET PFK=02
This command assumes that you have a PFK table in PFKTAB02 and that you want to replace MVSCMDS with another PFK table. (Other consoles might be using tables in the former PFKTABxx member. PFK definitions for these consoles are not affected by the action of this SET command.)