Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
LEN z/OS ISPF Dialog Tag Language Guide and Reference SC19-3620-00 |
|
To perform a LEN check, specify the check item TYPE attribute as LEN. A LEN test allows you to validate the length of the variable. The PARM1 attribute can be a relational operator or a variable name that contains a relational operator. Valid relational operators are EQ, LT, GT, LE, GE, NE, NG, or NL. If a variable name is used, it must be preceded by a “%”. The PARM2 value can be either a number or a variable name that contains the number. If you enter a number, it must be in the range of 1-99999. If you use a variable name, it must be preceded by a “%”. Here is an example where a LEN check in the chapters
variable class validates the length of chapter names:
The conversion utility generates a LEN verification statement in the )PROC section. |
Copyright IBM Corporation 1990, 2014
|