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


PICT

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

To perform a PICT check, specify the check item TYPE attribute as PICT. A PICT check allows you to specify a pattern used to validate the variable. The PARM1 attribute must have the value EQ. The PARM2 attribute contains the validation character string.

Here is an example where a PICT check in the socsec variable class validates the format of a social security number:
<!doctype dm system>

<varclass name=socsec type='CHAR 11'>
  <checkl msg=liba017>
     <checki type=pict parm1=eq parm2='nnn-nn-nnnn'>
  </checkl>

The conversion utility generates a PICT verification statement in the )PROC section.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014