Date Format

Joseph Rosenblatt jrosenblatt@i2sworld.com
Fri, 30 Apr 1999 13:13:23 -0400


I am sure this is something I should know but I don't, so I am asking. I am
running v 8.09 soon to be 8.19 on an HP with MPE 5.5.
I have KSAM (indexed) files as part of my dictionary. I want the dates to be
in MMDDYYY. There are dates with the following item descriptions:
Element A-EXPIRE-DT &
        Date       Size 6 &
        Format MMDDYY &
        Separator "/" &
        Heading "Expire^Date^--------" &
        Label "Date Expire" &
        Datatype PHDATE Size 2

I need to change the Date size to 8. What about the PHDATE Size 2? Does that
need to changed? As I understand it PHDATE is the number of days from some
set date. If that is true then does the size matter? Would a description
that looked like this work:
Element A-EXPIRE-DT &
        Date       Size 8 &
        Format MMDDYYYY &
        Separator "/" &
        Heading "Expire^Date^--------" &
        Label "Date Expire" &
        Datatype PHDATE Size 2

Do I need to use the CENTURY INCLUDED clause? TIA for any help you can give
me.


= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.