But the next IFTHEN is not working .
OUTREC IFTHEN=(WHEN=(47,1,CH,EQ,C' '),
OVERLAY=(47:C'9999-12-31')),
IFTHEN=(WHEN=(57,1,CH,EQ,C' '),
OVERLAY=(57:C'9999-12-31'))
OVERLAY=(47:C'9999-12-31')),
IFTHEN=(WHEN=(57,1,CH,EQ,C' '),
OVERLAY=(57:C'9999-12-31'))
When I see the output , I see 9999-12-31 populated on 47th position but not on 57th position .
Is IFTHEN used incorrectly ?
I don't get syntax error though .