z/OS ISPF Dialog Tag Language Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Assigning keys and actions

z/OS ISPF Dialog Tag Language Guide and Reference
SC19-3620-00

The KEYL tag starts a key mapping list definition and provides the name of the key mapping list. You specify the key mapping list to be used with the KEYLIST attribute of the HELP, HELPDEF, PANEL, or PANDEF tag.

Each KEYI definition within a key mapping list maps a key assignment with a command. The command can be defined in the application command table, one of the user command tables or site command tables, the system command table, or it can be one of the ISPF-provided commands. The required KEY and CMD attributes of the KEYI tag match the key with the command.

The KEYI definition in this example maps the F2 key on the user's keyboard with the SEARCH command in the application command table.
<!doctype dm system>

<cmdtbl applid=abcd>
 <cmd name=search>Search
   <cmdact action=passthru>
</cmdtbl>

<keyl name=panlkeys>
  <keyi key=f2 cmd=search>Search
</keyl>

<panel name=panl01 keylist=panlkeys>
⋮
</panel>

When the user presses the F2 key during the display of an application panel that refers to this key mapping list, ISPF processes the SEARCH command.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014