I am having issues in converting a packed decimal Julian Date to Gregorian Date.
The first field at pos 20 is packed decimal and in Julian format ..I want to display this as Gregorian format in the outfile .. please see the below details .. and please help me out how to do this in one step .. there are other fields also in the report we are generating..
OUTREC FIELDS=(01:20,6,PD,EDIT=(TTTT/TTTTT),
11:17,4,PD,EDIT=(TT:TT:TTT),
21:97,10,
33:25,4,BI,EDIT=(TTTTTTTT),
43:227,44,
89:301,44)
OUTFIL FILES=OUT,
01:' JULIAN ',
11:' TIME ',
21:'NODE NAME',
33:'CONDCODE ',
46:'FROM FILE NAME',
93:'TO FILE NAME',
/,
01:'--------',
11:'---------',
21:'----------',
33:'--------',
43:'--------------------------------------------',
89:'--------------------------------------------')
OUTPUT File is Like This:
JULIAN TIME
-------- ---------
2013/260 00:09:294
2013/260 00:13:011
2013/260 13:11:547
2013/260 13:12:094