× 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: Y2K Blowup - ADK
  • From: DAsmussen@xxxxxxx
  • Date: Tue, 19 Jan 1999 14:39:09 EST

Ata,

In a message dated 1/19/99 12:32:11 AM Eastern Standard Time, Ata510@aol.com
writes:

> I agree that SYS903B is a good thing to call if you want to be using the JOB
>  DATE, but SYS903B does not return the actual system date, so be careful and
>  realize that if the job runs over a midnight, the date will stay the same
>  (which is desireable in some cases, and may not be in others). 

We had this same problem, and used the following "work around".  CRTDUPOBJ on
program SYS900B to a new name (SYS900BX in our case) in the BPCSUSR library of
your choice.  Create a CL program that accepts the same parameters as SYS900B
that retrieves the job date (RTVJOBA) and system date (RTVSYSVAL) and compares
them.  Should the job and system dates not match, perform a CHGJOB
DATE("system value").  Then call your renamed SYS900B with the inbound
parameters, and return control to the calling program.  Works like a champ,
but beware of trying to test programs (e.g., Y2K) by merely changing the job
date after implementation!  Also watch out, as SYS900B is one of the KRSO
objects -- we didn't adequately document this methodology in the code, and our
RISC upgrade was "interesting"...

HTH,

Dean Asmussen
Enterprise Systems Consulting, Inc.
Fuquay-Varina, NC  USA
E-Mail:  DAsmussen@aol.com

"Experience is the name everyone gives his mistakes." -- Elbert Hubbard
+---
| 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 thread ...


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.