× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Y2.1K Compliance
  • From: "Peter Dow" <pcdow@xxxxxxxxxxxxxxx>
  • Date: Mon, 27 Nov 2000 19:57:45 -0800

Just to add confusion to the issue, AS400 command parameters with type *DATE
have the following help text:

---
The parameter value is a character string that
represents a date.  When entering the command, the
year may be specified with either 2 digits or 4
digits.

If a 2-digit year is specified, the date is
assumed to be in the range of January 1, 1940 through December 31, 2039.

If a 4-digit year is specified,
the date may be in the range of August 24, 1928 through May 9, 2071.

When it is passed to the command processing program, it is always passed in
the format Cyymmdd, where C = century, yy = year, mm = month, and dd = day.
The century digit is set to 0 (zero) for years 19xx, and it is set to 1
(one) for years 20xx.

---

Note that even though you can specify a 4-digit year, you may not specify a
date past 05/09/2071.

Looks like commands with *DATE type parameters aren't Y2.1K compliant.

Regards,
Peter Dow
Dow Software Services, Inc.
909 425-0194 voice
909 425-0196 fax



----- Original Message -----
From: "David Gibbs" <david@midrange.com>
To: <RPG400-L@midrange.com>
Sent: Monday, November 27, 2000 5:26 PM
Subject: Re: Y2.1K Compliance


> At 08:09 PM 11/27/2000, you wrote:
> >Perhaps I don't understand CYYMMDD properly, but I would have thought
that the
> >2000's were century 1, 2100's were century 2, etc.  Therefore 2105/05/08
would
> >be 2050508, and would give the right comparison against 2098/11/06, which
> >would
> >be 1981106.  Or is there something I'm missing here?
>
> Ah, good point ... I guess the software would be good until 2999 then.  My
> mistake.
>
> I would guess that they wanted assurances that date windowing wasn't used.
>
> david
>
> --
> | Internet: david@midrange.com
> | WWW: http://www.davids-place.net
> |
> | On a cellular level, I'm really quite busy.
>
> +---
> | This is the RPG/400 Mailing List!
> | To submit a new message, send your mail to RPG400-L@midrange.com.
> | To subscribe to this list send email to RPG400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
david@midrange.com
> +---

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.