In my i/p file if 10 byte till 14th byte is either '11111' or '22222' or '33333'
then overwrite the packed decimal value in position 20, with new Packed decimal value.
Note this packed decimal field is date field (in format YYMMDD), so sometimes the value can be '11224' which stands for
I want to change the date to 20129 which stands for - 2002-01-29.
I/P date is not constant (It varies based on '11111' or '22222' but output date is constant (20129).Whatever may be the date in the input file for mentioned condition, I need to override with date - "20129" (Packed format).
Here preceding 0 is getting suppressed only for YY, and not for MM and DD.
I hope I have given enough details, If not kindly please let me know of any additional information required.