Use this field-level keyword to specify validity checking for the field you are defining when it is referred to later during display file creation. For logical files, you can also specify this keyword at the select/omit-field level. COMP is equivalent to CMP.
The format of the keyword is:
COMP(relational-operator value)
At the select/omit-field level, the format of the keyword is:
COMP(relational-operator field-name)
Valid relational operators are:
Specify the value parameter at either the field level or the select/omit field level. Specify the field name parameter only at the select/omit field level.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.