• Subject: Century Bug in COMMON Utility Library
  • From: "Al Barsa, Jr." <barsa2@xxxxxxx>
  • Date: Mon, 03 Jan 2000 11:49:17 -0800


I've heard some complaints about the CALENDAR command in the COMMON Utility 
Library defaulting to the wrong century.  The complaints are apparently 
valid.  Well, I'm please to know that someone uses it, and I apologize if I 
wasn't Y2K compliant in 1988 when I wrote it.

Two fixes are required:

In the command object called CALENDAR, you must change the SPCVAL on or 
about line 17.00 to 20 from 19.  Command source is in a source file called 

In the RPG program called XCMCLNDR, you must change the Z-ADD statement on 
or about line 70.00 to specify factor 2 as 20, not 19.  RPG source is in a 
source file called XCMQRPGSRC.

If you are using this command from a library named CONCEPTS, this code was 
upgraded to be Y2K compliant in 1993.


| Please do not send private mail to this address. |
| Private mail should go to barsa@ibm.net.         |

Al Barsa, Jr. - Account for Midrange-L
Barsa Consulting, LLC.  
400 > 390

Phone:          914-251-1234
Fax:            914-251-9406

| 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

This thread ...

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

This mailing list archive is Copyright 1997-2019 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].