Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Defining selection fields z/OS ISPF Dialog Tag Language Guide and Reference SC19-3620-00 |
|
Selection fields allow the user to select from a group of choices on an application panel. You can specify if only one choice can be selected from a selection field, or if multiple choices are allowed. In either case, you use the same DTL tags to define a selection
field. The SELFLD (selection field) tag and its required end tag define
a selection field. The CHOICE (selection choice) tag defines a choice
within a selection field. You code the CHOICE tags between the SELFLD
start and end tags, like this:
Each CHOICE tag defines a choice within the selection field. Like data fields, selection fields support field prompts, which can be placed in front of or above the selection field. Field prompts are described in Field prompts. To define the selection field type use the TYPE attribute of the
SELFLD tag.
The values you can assign to TYPE are:
The CHOICE tag has two attributes associated with it that are important when defining a selection field: CHECKVAR and MATCH. The CHECKVAR and MATCH attributes are used to preselect choices in the selection field. The CHECKVAR attribute can also communicate to the application which selections were made by the user. The value specified on the CHECKVAR attribute is the name of a dialog variable that is defined by the application. Both the application and ISPF can set the check variable. Here are topics that describe how the CHECKVAR and MATCH attributes are used for each type of selection field. |
Copyright IBM Corporation 1990, 2014
|