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


Pull-down choice actions

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

A pull-down choice provides an immediate action to the user. To ensure that a pull-down choice performs an immediate action, you should code an ACTION tag that specifies the RUN attribute for each pull-down choice. The value you assign to RUN tells ISPF which command to run when the user selects the choice.

In the preceding markup example, each ACTION definition uses the RUN attribute to specify a command. Each of these commands must be defined within the command table for the application. The application command table tells you how to define commands for an application.

In addition to the RUN action, you can specify other types of actions to occur when a pull-down choice is selected. The SETVAR and TOGVAR attributes on the ACTION tag can be used to set and toggle variables which the application can use to determine the processing to perform.

Remember, any SETVAR or TOGVAR actions for a pull-down choice must be coded before any ACTION definition specifying the RUN action, because actions coded after RUN are ignored.

A pull-down choice may be marked as unavailable. The UNAVAIL attribute is used to provide a variable name that is used by ISPF to determine the availability of the pull-down choice. When the variable value is 1, the pull-down choice is unavailable.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014