Sets and locks the key definition state for keys defined with the
DEFINE/KEY command.
Format
SET KEY
1 – Qualifiers
1.1 /LOG
/LOG (default)
/NOLOG
Controls whether the system displays a message indicating that
the key state has been set.
1.2 /STATE
/STATE=state-name
/NOSTATE
Specifies the name of the state. The state name can be any
alphanumeric string. If you omit the /STATE qualifier or use
the /NOSTATE qualifier, the current state is left unchanged. The
default state is DEFAULT.
2 – Example
$ SET KEY /STATE=EDITING
The SET KEY command in this example sets the key state to the
state EDITING. You can now use the key definitions that were
defined for the state EDITING.