Date Format
Hamilton, Allison
Allison.Hamilton@Cognos.COM
Fri, 30 Apr 1999 13:29:53 -0400
In the release notes for 8.19 there should be Y2K documentation describing
PHDATE Century Included and how it is coded, stored and its limitations (it
has a limited date range). Yes, you code it as DATE size 8 with datatype of
PHDATE Size 2 in PDL. You would use PHDATE CENTURY INCLUDED for a
define/temp/global temp.
-----Original Message-----
From: Joseph Rosenblatt [mailto:jrosenblatt@i2sworld.com]
Sent: Friday, April 30, 1999 1:13 PM
To: Powerh-L (E-mail)
Subject: Date Format
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.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.