Technical data

System Dump Analyzer
DEFINE
command
SDA command the key is to be defined as. The command must be enclosed in
quotation marks (" ").
Qualifiers
/ECHO
/NOECHO
Determines whether the equivalence string is displayed on the terminal screen
after the defined key has been pressed. The /NOECHO qualifier functions only
with the /TERMINATE qualifier. The default is /ECHO.
/IF_STATE=(state-name, . . . )
/NOIF_STATE
Specifies a list of one or more states, one of which must be in effect for the key
definition to be in effect. States are placed in effect by the /SET_STATE qualifier,
which is described in this section.
The state-name is an alphanumeric string, enclosed in quotation marks (" "). By
including several state names, you can define a key to have the same function
in all the specified states. If you specify only one state name, you can omit the
parentheses.
If you omit the /IF_STATE qualifier—or use /NOIF_STATE—the current state is
used.
/KEY
Defines a key as an SDA command. You need only to press the defined key and
the Return key to issue the command. If you use the /TERMINATE qualifier as
well, you do not need to press the Return key.
When you define some keys as SDA commands, you must press Ctrl/V first
before those keys will execute the commands. This is because of the escape
sequences the keys generate and the way the terminal driver handles those
escape sequences. The following keys, when defined as SDA commands, must be
preceded by a Ctrl/V:
Key Name Key Designation
LEFT Left arrow
RIGHT Right arrow
F7 . . . F14 LK201 function keys
/SET_STATE=state-name
Causes the key being defined to cause a key state change rather than issue an
SDA command. When you use the /SET_STATE qualifier, you supply the name of
a key state in place of the key-name parameter. In addition, you must define the
command parameter as a pair of quotation marks (" ").
The key state can be any name you think appropriate. For example, you can
define the PF1 key to set the state to GOLD and use the /IF_STATE=GOLD
qualifier to allow two definitions for other keys, one in the GOLD state and one in
the non-GOLD state.
SDA48