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 © 2015 CA Technologies.
All rights reserved.
|
|