Changing a PFK definition
Use the CONTROL N,PFK command to change the definition of a PFK on a particular console or to assign a PFK table to a particular console. The set of commands associated with the PFKs on your console resides in a PFK table in a PFKTABxx parmlib member.
A PFK command that you assign to a PFK by using the CONTROL N,PFK command is not associated with the PFK when you bring the console online again. To have a command associated with a PFK when you bring a console online, it must be defined in the appropriate PFK table in PFKTABxx. See Defining PFKs using the CONTROL command.
Use the following form of the CONTROL command to define commands for program function keys (PFKs) or assign a PFK table.
|
The parameters are:
- N,PFK
- A PFK command definition is to be altered.
- nn1
- The number of the PFK being defined. The nn1 value
must be the number of a PFK designated for command entry at system
installation
- CMD
- The text of one or more commands is to be associated with PFK nn1.
- ‘text[;text]...’
- The text of the operator’s commands to be associated with
PFK nn1. Up to 110 characters can be included within the
quotation marks. If more than one command is to be associated with
a PFK, the commands must be separated by a semicolon. Do not put a
semicolon after the last command. Text characters can be entered in
upper or lower case; the system converts all characters to uppercase.
A command that must be entered lowercase, such as a reply to a WTOR,
cannot be entered using the PFK command entry function. Note: Text characters should not contain sensitive or secure data (such as passwords).
- KEY
- The commands associated with other PFKs are to be associated with nn1.
- nn2[,nn2]...
- The number(s) of the PFK whose commands are to be associated
with PFK nn1. Up to 54 key numbers (numbers can be repeated)
can be included in the list. Separate key numbers with a comma. Note: You cannot nest the lists of keys. That is, a PFK defined as a list of PFKs cannot be included in a list of keys assigned to another PFK. For example, if PFK 5 is associated with a list of keys (such as KEY=3,4), and you attempt to associate PFK 6 with a list of keys that includes PFK 5 (such as KEY=1,2,5), the system rejects the request.
- CON
- Specifies whether conversational mode of command entry is in
effect.
- Y
- Conversational mode of command entry is to be in effect.
- N
- Conversational mode of command entry is not to be in effect (non-conversational mode of command entry is to be in effect). If CON is not specified, CON=N is assumed.
- nnnnnnnn
- The name of the PFK table that contains the commands that define
the PFKs for a console.
- L=name
- The console whose PFKs are to be defined by the PFK table you specify. The issuing console is the default.
Example 1:
K N,PFK=(5,CMD='S GTF,285'),CON=N
Example 2:
K N,PFK=(5,CMD='S RDR,001;S XWTR,292'),CON=N
Example 3:
K N,PFK=(5,KEY=3,4),CON=Y
The commands associated with PFK 5 are now S RDR,001; S XWTR,292, and S GTF,MODE=INT,BUF=387,TIME=YES,DEBUG=YES, in that order.
Example 4:
K N,PFK=(5,CMD='')
Example 5:
K N,PFK=PFK22,L=CONS8