Hi -

I have a file of LRECL 44 and need to overlay a date in Position 35 by adding 
120 days to the date at position 25

The overlay to be done based also on  condition .

Coded as below

OPTION COPY
OUTREC IFTHEN=(WHEN=(35,10,CH,EQ,X'00000000000000000000',
               AND,25,10,CH,GT,X'00000000000000000000'),
        OVERLAY=(35:25,10,ADDDAYS,+120))

Date format at position 25 is YYYY-MM-DD

could someone please let me know what the issue is in the control card as it is 
giving error .

Thanks 
Ron T

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to