Hi,
I have a requirement wherein the output file should have the date format in Gregorian in the detail record without any separator(Eg 01122012 MMDDYYYY). I went thru the forum posts and found that &DATENS=(MD4) will provide the output in Julian format.
1) Is there any function to convert the date to Gregorian.
2)At a set position of the input file, another date is present in packed format(Julian date). I have used the below to unpack it. However the output stll comes in Julian format.Is there a way to unpack it and convert it to Gregorian MMDDYYYY format at the same time.
OUTREC=(20:90,04,PD,EDIT=(TTTTTTT))
The output format is:
0012282011 where 00 represents header record
01ABCDEFGHIJKLMNOP12282011
Note: 12282011 - MMDDYYYY format.
Regards,
Kimir.