If I am using packed decimals to represent dates, is there a way to get a beginning zero to print to the screen?
So, let's say I have a date like this 02081940F in a packed decimal field of length 5.
I want to use ED to bring it to the screen so that I will get this: 02/08/1940.
I can get it to work if I have a date like this 22081940F -- 22/08/1940.
But the beginning zero will not print for the 02/08/1940. If I use F0 as a fill character, I can get the zero to print, but it also prints the extra zero that fills out the remainder of the packed decimal field.
Is there a way to get that zero to print without grabbing the extra 0 that fills out the remainder of the packed decimal field?
Or is that pretty much something that isn't going to happen?
Any help would be appreciated. Thank you so much!
Susan