Date value in AS400

Deskin, Bob Bob.Deskin@Cognos.COM
Mon, 15 Mar 1999 06:33:34 -0500


If the date is actually a century included date, then version 6.07F on
AS/400 has the INPUT CENTURY option. This allows you to specify which
century a date gets based on the year. 

Bob Deskin              
Senior Product Advisor, Application Development Tools, Cognos Inc.
bob.deskin@cognos.com (613) 738-1338 ext 4205 FAX: (613) 228-3149
3755 Riverside Drive P.O. Box 9707 Stn. T, Ottawa ON K1G 4K9 CANADA


-----Original Message-----
From: Alvin Chung [mailto:mis@sab.com.hk]
Sent: Sunday, March 14, 1999 10:11 PM
To: POWERH-L@lists.swau.edu
Subject: Date value in AS400


I have a screen that allow users to enter a date (datefield, century
included, but display as 'YYMMDD') to select some data from the gl-history.
Since the default century is 19, so the date value will be adjusted as
19xxxxxx.
How can I adjust the date value to 19xxxxxx or 20xxxxxxx appropiately in
order to select the correct data.
I have try  process, edit or input procedure, but cannnot work.     



= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.