this is probably a quick and dirty but it looks like ALL the dates here are in that format which I think they must of done that due to space considerations back in the day.
Thanks Mucho for assistance.[/code]
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
The DTx formats will work for P'cyyddd', but there is NO specific format for P'cyymmdd'. However, you can convert X'cyymmddC' to C'yymmdd' using PD0 and then rearrange it to C'mm/dd/yy' with IFTHEN clauses like the following - I assumed your X'cyymmddC' value starts in position 23 and you are only dealing with 20yy dates (c=1):