Use KeySet to assign a command string to a specified key.
Required Operands
KEY specifies the symbolic key name of the key to which a command string will be assigned.
SCOPE specifies the environment in which the command string will be active for the specified key. One of the following:
A All environments.
C Command line.
E 3270 Emulator
N Null command line.
P All environments except the 3270 emulator.
S Session body.
TEXT is the command string to be assigned to the KEY key for the SCOPE environement.
Key assignments made in this manner are temporary, i.e., they will be active only until BIM-EDIT/XP is shutdown. In order to effect a permanent key assignment change, see Key Assignment Table
Key assignments can also be made by updating a KeyLibrary session..
Return Codes
OK Successful.
Examples
Assign "Ex Temp.Prc" to Alt F2 for all environments except the 3270 emulator:
=> keyset altf2,P,'Ex Temp.Prc'