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


RANGE

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

To perform a range test, specify the check item TYPE attribute as RANGE. A range check allows you to check a value within a numeric range including the end points. The PARM1 attribute specifies the lower bound; PARM2 specifies the upper bound. The range delimiters can include 16 digits, and may contain a preceding sign (- or +).

Here is an example where a range check for a NUMERIC variable class ensures that catalog numbers are in the range 50 to 90000000:
<!doctype dm system>

<varclass name=catnumc type='NUMERIC 8'>
  <checkl msg=liba005>
    <checki type=range parm1=50 parm2=90000000>
  </checkl>

The conversion utility generates an ISPF range verification statement in the )PROC section.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014