Scans the data from position 132 to the end of the record looking for the character string, or data value, "JAN,FEB,MAR".
SELRECIF(132,0,EQ,C"JAN,FEB,MAR")
Scans the data from position 132 to the end of the record looking for any of the character strings, or data value of, 'JAN' or 'FEB' or 'MAR'.
SELRECIF(132,0,EQ,C'JAN,FEB,MAR')
The next example changes all instances of 'SHR' and 'MOD' to '(NEW,CATLG,DELETE)'
CHANGE(1,0,EQ,C'SHR,MOD',C"(NEW,CATLG,DELETE)",ALL)
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |