DATE conversion to Gregorian
Posted: Sun Jan 13, 2013 12:13 pm
Hi,
I have a date field defined as S9(7) comp-3. It contains date in CCYYDDD format. I am trying to convert this date to Gregorian format as CCYY-MM-DD.
I have checked the manual z/OS V1R12.0 DFSORT Application Programming Guide; Table 49. TOJUL and TOGREG output date fields.
If my understanding of the table is not wrong then the DATE conversion I am trying can not be done.
Please let me know how to do the above DATE conversion.
Thanks
I have a date field defined as S9(7) comp-3. It contains date in CCYYDDD format. I am trying to convert this date to Gregorian format as CCYY-MM-DD.
I have checked the manual z/OS V1R12.0 DFSORT Application Programming Guide; Table 49. TOJUL and TOGREG output date fields.
If my understanding of the table is not wrong then the DATE conversion I am trying can not be done.
Please let me know how to do the above DATE conversion.
Thanks