Joined: 24 Mar 2010 Posts: 61 Location: Cape of Good Hope
Hi
I need to copy data for a gdg for all the generations in the previous month to a new file.
I am not implementing a regular process(through date routines or transaction timestamps) but an ad-hoc for some reporting purposes. I was able to it for current day. The challenge I am facing is that LISTCAT does not produce the date but day of the year.
Joined: 24 Mar 2010 Posts: 61 Location: Cape of Good Hope
Thanks expat. But I do not know REXX as of now. I am looking for a DFSORT/ICEMAN/ICETOOL date function. Please move my post to DFSORT if that is where I could receive some guidance.
I initially posted it in JCL as it was related to gdgs...
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
rocky_balboa wrote:
The challenge I am facing is that LISTCAT does not produce the date but day of the year.
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.
For complete details of date arithmetic functions and other new functions see "User Guide for DFSORT PTFs UK90025 and UK90026" paper (sortugph.pdf) at: