Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
VALUES z/OS ISPF Dialog Tag Language Guide and Reference SC19-3620-00 |
|
To perform a values test, specify the check item TYPE attribute as VALUES. A values test allows you to specify a list of values. The value the user enters must match one of the values in the list. The PARM1 attribute must have the value EQ. The PARM2 attribute specifies the list of values. Because case is respected in a VALUES check, if you want case to be ignored, you must code an UPPER translation and code the values all in uppercase. Here is an example where a check in a variable class named subject ensures
that the value entered is MATH, SCIENCE, ENGLISH, or HISTORY:
The conversion utility generates a LIST verification statement in the )PROC section. |
Copyright IBM Corporation 1990, 2014
|