The KEYI tag defines a key assignment within a key mapping list.
>>-<KEYI--KEY=virtual-key--CMD=internal-command-name------------> >--+-----------------+--+----------------+----------------------> | .-UPPER-. | | .-NO----. | '-CASE=-+-MIXED-+-' '-FKA=-+-YES---+-' +-LONG--+ '-SHORT-' >--+------------------+-->--+----------+--+---------+---------->< '-PARM=parm-string-' '-FKA-text-' '-</KEYI>-'
The internal-command-name must follow the standard naming convention described in Rules for variable names.
To code the > character you must use the >sym predefined entity. See Predefined entities for more information.
Lowercase characters are translated to their uppercase equivalents by default.
When FKA=NO is specified, the key is active even if it is not displayed.
If not specified, the FKA-text defaults to the internal-command-name specified for the key.
The function key area is formatted at run time based on the panel size. The maximum number of bytes allowed for FKA-text is 64. If the text exceeds 64 bytes, it is truncated and a warning message is issued. The conversion utility removes excess blanks from FKA-text. The first 8 bytes of the resulting text are used by ISPF.
The KEYI tag defines a key assignment within a key mapping list. Key assignments provide a means of associating commands with keys.
KEYI tags with the same assignment cause the conversion utility to issue a warning message and retain only the first occurrence.
ISPF lets you provide the name of your own command on these keys.
If you code the command HELP, EXIT, or CANCEL as part of your KEYI definition, then HELP must be assigned to key F1 or F13, EXIT must be assigned to F3 or F15, and CANCEL must be assigned to F12 or F24.
None.
<!DOCTYPE DM SYSTEM(
<!entity sampvar1 system>
<!entity sampabc system>
<!entity sampbody system>)>
&sampvar1;
<KEYL NAME=keylxmp>
<KEYI KEY=f1 CMD=help FKA=yes>Help
<KEYI KEY=f2 CMD=split FKA=yes>Split
<KEYI KEY=f3 CMD=exit FKA=yes>Exit
<KEYI KEY=f5 CMD=search FKA=no>Display
<KEYI KEY=f6 CMD=keyhlp FKA=yes>Keyshelp
<KEYI KEY=f7 CMD=backward FKA=no>Backward
<KEYI KEY=f8 CMD=forward FKA=no>Forward
<KEYI KEY=f9 CMD=swap FKA=yes>Swap
<KEYI KEY=f10 CMD=actions FKA=no>Actions
<KEYI KEY=f12 CMD=cancel FKA=yes>Cancel
</KEYL>
<PANEL NAME=keyi KEYLIST=keylxmp>Library Card Registration
<AB>
&sampabc;
</AB>
&sampbody;
</PANEL>
File Search Help
--------------------------------------------------------------------------
Library Card Registration
Type in patron's name and card number if applicable.
Then select an action bar choice.
Date . . . :
Card No. . . _______ (A 7-digit number)
Name . . . . _________________________ (Last, First, M.I.)
Address . . _________________________
Choose one of the following Check valid branches
__ 1. New _ North Branch
2. Renewal _ South Branch
3. Replacement _ East Branch
_ West Branch
Enter a command ===> ______________________________________________________
F1=Help F2=Split F3=Exit F6=KEYSHELP F9=Swap
F12=Cancel