I have a file of 26 Byte LRECL, FB and the data as follows.
1-10 - Key field
11-18 - Date in CCYYMMDD format.
My requirement is to calculate the new date which is given date(position at 11-18) +7 days and assign it to 3rd field (position 19-26).
I tried searching this forum but coudn't find a match for my requirement. Can anyone please help?
Thanks in advance
With PTF UK90025 for z/OS DFSORT V1R10 and PTF UK90026 for z/OS DFSORT V1R12(Oct, 2010), DFSORT now supports date arithmetic which can add/subtract days, months or years to a given date like shown below.