Appending Yesterday's date to a file extension using JCL
Posted: Thu Jul 09, 2009 9:21 pm
Hi All,
Could you please help me in achieving the following requirement.
My file which generates today needs to have an extension of yesterday's date, for eg. ABCD.XYZ.G0001V00 is my actual file name. I want this file to be copied to a new file which looks like ABCD.XYZ.AMMDDYY (MM-MONTH, DD-YESTEDAY'S DATE, YY-YEAR).
Please help me in acheiving strictly using JCL.
Thanks a bunch in advance...
Thanks
Raj.
Could you please help me in achieving the following requirement.
My file which generates today needs to have an extension of yesterday's date, for eg. ABCD.XYZ.G0001V00 is my actual file name. I want this file to be copied to a new file which looks like ABCD.XYZ.AMMDDYY (MM-MONTH, DD-YESTEDAY'S DATE, YY-YEAR).
Please help me in acheiving strictly using JCL.
Thanks a bunch in advance...
Thanks
Raj.