These examples show two implied OR formats, by changing the data parameter. The first example means that only the records where the STATE-CODE either contains the character string CT or MA are printed.
READ,
LAYOUTFILE(LAYOUT),
IF(STATE-CODE,EQ,C'CT,MA'),
PRINTREC
The second example means that only the records where the STATE-CODE either contains the character string "CT", "Ct", "cT", "ct" or "MA" are printed.
READ,
LAYOUTFILE(LAYOUT),
IF(STATE-CODE,EQ,T'CT,C'MA'),
PRINTREC
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |