Problem with Date(days()) functions
Jeff Hoffman
J.Hoffman@cchs.usyd.edu.au
Fri, 09 Apr 1999 06:43:39 +1000
Hi
If your system is mostly Powerhouse then consider the ZDATE datatype
(A00101=20000101,A10101=20010101,B00101=20100101 etc)
Just change your dictionary and recompile your programs!
Works if you have char*6 or zoned unsigned *6 datatypes, although there are
data conversion errors if char*6 was used and data has blanks.
Then use INPUT CENTURY and have CENTURY INCLUDED in your dictionary.
No program changes required (except to reverse some of the stuff you may
already have done).
At 05:52 am 8/04/99 -0700, you wrote:
>--- "Cousins, Michael" wrote:
>
>> Is CENTURY INCLUDED turned on in the
>> SYSTEM OPTIONS of your PDL dictionary
>> and what is your DEFAULT CENTURY value
>> set to
>
>It is set to 19 and I doubt the client will
>be willing to change the dictionary to CENTURY
>INCLUDED, because we are working on a
>Y2K project using date windowing, so we are
>not expanding their dates in the dictionary.
>
>We will be working with both 1900 and 2000
>dates, so won't changing the default century
>cause us problems?
>
>Will the INPUT CENTURY dictionary setting
>help us at all? We are date windowing for using
>20 as a pivot date, so any dates over 20 are
>considered to be 1900's and anydays less than
>20 are considered to be 2000's. I'm not
>terrible sure how INPUT CENTURY works.
>
>Jay Northrop
>Ajilon Programmer/Analyst
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
>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.
>
>
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+ Jeff Hoffman + e-mail: J.Hoffman@cchs.usyd.EDU.AU +
+ Director + +
+ WoniCon Pty Ltd + ,-_|\ +
+ 21 Prices Circuit + voice: +61 2 9542 1527 / \ +
+ Woronora NSW 2141 + fax: +61 2 9521 3979 \_,-._* +
+ AUSTRALIA + v +
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
+
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.