MCR SYSMAN DEFINE — VMS 5.4-3
Defines a key to execute a SYSMAN command. This enables you to
press the key to enter a command, instead of typing the command
name.
When you exit from SYSMAN, any SYSMAN key definitions you
established will be lost unless you define them in the SYSMAN
initialization file .
Format
DEFINE/KEY key-name string
Additional information available:
Parameters
key-name Specifies the name of the key you are defining. Use the key names in Table SM-1, when defining keys. Table SM-1 Key Names in SYSMAN Key name VT100 VT52 LK201 PF1 PF1 red key PF1 PF2 PF2 blue key PF2 PF3 PF3 black key PF3 PF4 PF4 - PF4 KP0, KP1-KP9 keypad 0-9 keypad 0-9 keypad 0-9 PERIOD period key period key period key COMMA comma key comma key comma key MINUS minus key minus key minus key ENTER ENTER key ENTER key ENTER key UP, DOWN, LEFT, arrow keys arrow keys arrow keys RIGHT FIND, INSERT_HERE - - Find, Insert Here REMOVE, SELECT - - Remove, Select PREV_SCREEN - - Previous Screen NEXT_SCREEN - - Next Screen HELP, DO - - Help, Do F6-F10, F11-F14 - - Function Keys F17-F20 - - Function Keys string Specifies the string you want entered when you press the defined key. For example, you can define string as the SYSMAN command SHOW ENVIRONMENT or SHOW PROFILE.
Qualifiers
Additional information available:
/ECHO/IF_STATE/LOCK_STATE/SET_STATE/TERMINATE
/ECHO
/ECHO (default)
/NOECHO
Specifies whether the command line is echoed after you press the
defined key. Note that you cannot define a key using both the
/NOECHO and /NOTERMINATE qualifiers.
/IF_STATE
/IF_STATE=state_list
/NOIF_STATE
Specifies a list of states, any one of which must be set in order
to enable the specified key definition. If you omit or negate this
qualifier, the current state prevails.
/LOCK_STATE
/LOCK_STATE
/NOLOCK_STATE (default)
Retains the state specified by the /SET_STATE qualifier until you
use the /SET_STATE qualifier again to change it.
/SET_STATE
/SET_STATE
/NOSET_STATE
Associates a state with the key you are defining. A state name can
be any alphanumeric string. If you omit or negate this qualifier,
the current state remains unchanged. You cannot define a key using
both the /SET_STATE and /TERMINATE qualifiers.
/TERMINATE
/TERMINATE
/NOTERMINATE
Determines whether the specified command string executes when
you press the key. When you use /NOTERMINATE, you must press the
Return key to execute the command string. You cannot define a key
using both the /SET_STATE and /TERMINATE qualifiers.
Examples
1. SYSMAN> DEFINE /KEY PF1 "SHOW PROFILE"
This example shows how to define the keypad key PF1 as the
SYSMAN command SHOW PROFILE. To execute the SHOW PROFILE
command, press PF1 and then the Return key.
2. SYSMAN> DEFINE /KEY KP0 /TERMINATE "CONFIGURATION SHOW TIME"
This example shows how to define the keypad key 0 as the
CONFIGURATION SHOW TIME command. The /TERMINATE qualifier
causes the SYSMAN command to execute when you press keypad key
0 without having to press Return.