× 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: ADK upgrade run times + CHGCENGEN
  • From: "Bernard Burchell" <burchelb@xxxxxxxxxxxxxxx>
  • Date: Fri, 17 Dec 1999 19:59:37 +1100

Hi Oludare,

I was going from 6.0.01 to 6.1.00.  From what I understand 6.0.02 is not
century compliant, but 6.0.04 is.  So I had a look at the 6.0.04 Net Change
document and found the actual list of functions to check for.

I should also have checked for the longhand versions like
%CENYR_MONTH_DAY, %NUMBER_OF_DAYS etc.  Apparently *EDATE is a
screen/report keyword that shows e.g. 'Dec 17, 1999' - I should have scaned
the Screen and Report layouts for this.

So I've updated that program again and re-attached it.  Hopefully it's
complete this time!


From: oludare <oludare@ix.netcom.com>
Date: Friday, December 17, 1999 3:46 AM


>Hi Bernard,
>
>What upgrade are your referring to before the switch on the CHGCENGEN
>
>Oludare
>
>
>From: "Bernard Burchell" <burchelb@connexus.net.au>
>Sent: Thursday, December 16, 1999 2:54 AM
>
>
>> I've been informed that functions %NOD and %CTD also need to be checked -
>> they have a problem with 6 digit dates.  *EDATE also has to be checked
>> (don't know what this function does).  So I've updated the scan program
>and
>> re-attached it.
>>
>> This is for user-modified programs only.  BPCS original programs don't
use
>> these functions.
>>
>>
>> >---------------------
>> >CHGCENGEN
>> >---------------------
>> >
>> >Once you've done an upgrade you will need to switch on the century
>> >generation flag to make generated programs Y2K compliant.  For some
>reason
>> >the default is 'N'.  To do this:
>> >
>> >ADDLIBLE ASSETO
>> >CHGCENGEN            +  F4 to prompt
>> >then change the 'Enhance century Generation (GENERATE)' parameter to
'Y',
>> >and press Enter.
>> >
>> >You then need to find all the programs that use the century conversion
>> >functions: %CMD, %DMC, %MDC, %CJL and recompile them.  This is difficult
>to
>> >do with Query and SQL because of the multi-membered files involved and
>> >because % is used as a wild-string.  So I wrote a quick-n-dirty RPG
>program
>> >(attached) which did the trick.  My apologies for the indicator usage.
>> >
>> >Bernard Burchell.

scancent.zip


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.