The KEYL tag defines a key mapping list where keys can be mapped to commands.
>>-<KEYL--NAME=key-list-name--+----------------------+----------> '-HELP=help-panel-name-' >--+--------------------+--+-----------------------+------------> | .-UPDATE-. | '-APPLID=application-id-' '-ACTION=-+-DELETE-+-' >-->--</KEYL>--------------------------------------------------><
The key-list-name must follow the standard naming convention described in Rules for variable names.
The name of the keylist table is xxxxKEYS where xxxx represents the application identifier provided to ISPDTLC with the KEYLAPPL keyword when invoked, in the "Keylist Application ID" field on the invocation panel, or with the APPLID attribute of this tag.
The key-list-name is used to identify the entry in the keylist table. For example, if NAME=CONVLIST and KEYLAPPL=XYZ, then CONVLIST is written as a table entry to member XYZKEYS in the table library partitioned data set.
Keylists are updated using ISPF table services. Input is obtained from the ISPTLIB DDname allocation and output is written to the ISPTABL DDname allocation. See the description of how to allocate libraries before starting ISPF in the z/OS V2R2 ISPF User's Guide Vol I for more information about the use of ISPTLIB and ISPTABL.
See Using the conversion utility for more information on invocation parameters for the conversion utility.
If a user requests help for a keylist and no help has been defined by the KEYL tag, the ZKEYHELP variable is checked for a help panel name. If the application has not set ZKEYHELP, a message that keyshelp is not available is displayed.
The help-panel-name must follow the standard naming convention described in Rules for variable names.
See HELP (Help Panel) for information about creating help panels.
When ACTION=DELETE is specified, it is not necessary to nest any KEYI tags within the KEYL tag definition.
The KEYL tag defines a key mapping list where keys can be mapped to commands.
To display these keys on a panel requires that the PANEL or PANDEF tag refer to the key-list-name. ISPF uses the specified key mapping list when building the display dependent on the user's setting by the FKA command. For more information about displaying and formatting of the function key area, refer to the appropriate section in the z/OS V2R2 ISPF Dialog Developer's Guide and Reference.
| Tag | Reference | Usage | Required |
|---|---|---|---|
| KEYI | KEYI (Key Item) | Multiple | No |
<!DOCTYPE DM SYSTEM(
<!entity sampvar1 system>
<!entity sampabc system>
<!entity sampbody system>)>
&sampvar1;
<KEYL NAME=keyltbl>
<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=no>Keyshelp
<KEYI KEY=f7 CMD=backward FKA=yes>Backward
<KEYI KEY=f8 CMD=forward FKA=yes>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=keyl 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