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


Coding an action bar definition

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

This list describes how to code an action bar definition:
  • Code the AB start tag immediately after the PANEL start tag and before any other tags in the panel.
  • Following the AB start tag, code an ABC tag for each action bar choice in the action bar. The text you specify on the ABC tag is the text that appears in the action bar as the action bar choice.
  • Code the associated PDC tags within the ABC tags. The text you specify on the PDC tag is the text that appears as the pull-down choice.
  • Following each PDC tag, code one or more ACTION tags to specify what type of action occurs when that pull-down choice is selected by the user.

    The ACTION tag RUN attribute (and its internal-command-name) define a command action for the pull-down choice. If you define multiple ACTION tags for a pull-down choice, one of which contains a RUN value, code the RUN action last, because any actions specified after a RUN action are ignored.

  • End the action bar definition with the required AB end tag.
Here is an example that shows the markup for the action bar shown in Figure 1. The detailed markup for the File pull-down is included.
<panel name=mainpan2 depth=15>Sample Application
  <ab>
    <abc>File
      <pdc>Add Entry
        <action run=add>
      <pdc>Delete Entry
        <action run=delete>
      <pdc>Update Entry
        <action run=update>
      <pdc>Exit
        <action run=Exit>
    <abc>View
⋮
    <abc>Options
⋮
    <abc>Help
⋮
  </ab>
⋮
</panel>

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014