Académique Documents
Professionnel Documents
Culture Documents
Example 1
Comments:
The INCLUDE statement will only sort the records with '123456789' in
columns 30 - 38.
a. Compare column 30 for nine columns with the characters (C)
'123456789' for equality (EQ)
b. Other relational operators include:
NE (not equal)
GT (greater than)
GE (greater than or equal to)
LT (less than)
LE (less than or equal to)
You can also compound conditions with the & for AND and | for OR
OMIT COND=(30,1,EQ,C'1',&,32,1,EQ,C'2')
References: