|
Chuck, All CL commands will accept either a 2-digit or a 4-digit date when working with fields defined as DATE. If a 2-digit year is used, the system assumes a range of 1940 to 2039. If a 4-digit year then the explicit date is used. So for your current test purposes the two values 11/03/98 and 11/03/1998 are logically identical; as would be 10/13/02 and 10/13/2002. The two digit year should be avoided in new development but is provided for upward compatibility with previous releases; and should work satisfactorily for just under 4 decades come January 1 2000. Bruce Vining > >Hi folks, > >HOW is the system going to handle the Tape Expiration date and the Y2K ? > >i.e. today (10/13/98) I run and save, a tape is used and it (the save >CLP) calculates a 21 day EXPDATE it and comes up with 11/03/98 so 110398 >is used as the EXPDATE on the ensuing SAVLIB command. > >I just tried a SAVLIB with EXPDATE of 11031998 and it worked OK (?) > >I am TRYING to make sure MY CLP, etc. are Y2K ready... What am I to make >of this ? > >I sort of DOUBT that IBM is using MMDDYYYY on this but it worked and it >DOES check for invalid dates and MMDDYYYY does PASS !!! > >Am OK to keep using MMDDYY or do I change to MMDDYYYY and IS this going >to be OK ? > >Thanks ! > >Chuck > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-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 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.