|
I would recommend using the SYS903B from SSA.
All you have to do is pass it the correct values.
Best Regards,
Roger Wolf
-----Original Message-----
From: pluta@nexgensoftware.com [SMTP:pluta@nexgensoftware.com]
Sent: Monday, January 18, 1999 4:21 PM
To: BPCS-L@midrange.com
Subject: Re: Y2K Blowup - ADK
Lisa Abney wrote:
>Speaking of ADK (ASSET) ... we have a custom-written ADK program that uses
%NOD
>(number of days since beginning of century) that has started giving really
strange
>results since 1/1/99. Anyone else seen anything like that? I have to
think it's
>Y2K related, but haven't figured out why.
Lisa, take a look at the subroutine SNOD. This routine actually calls a
subroutine SBRDAT, which HARDCODES century 19 into six-digit dates. I'm
not sure how related this is to your specific problem; why don't you give
us a little more information.
1. Have you checked the numbers coming out of SNOD?
2. If so, do they change drastically from 12/31/98 to 01/01/99? (We have
NOT seen this)
If this is your problem, there are ways around the problem. At the action
diagram level, one work-around is to replace %NOD with a call to S998, and
%CTD with a call to S999. At the RPG level, you can fix the SBRDAT
subroutine:
C* Assign default to century.
C SVCC IFEQ *ZERO
/001aC SVYY IFLT 50 (Use your own cutoff
here)
/001aC Z-ADD20 SVCC
/001aC MOVEL20 SVCY
/001aC ELSE
C Z-ADD19 SVCC
C MOVEL19 SVCY
/001aC END
C END
Joe Pluta
+---
| This is the BPCS Users Mailing List!
| To submit a new message, send your mail to BPCS-L@midrange.com.
| To subscribe to this list send email to BPCS-L-SUB@midrange.com.
| To unsubscribe from this list send email to BPCS-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: dasmussen@aol.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.