× 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: Job Date
  • From: "Wayne Achenbaum" <wache@xxxxxxxxxxx>
  • Date: Tue, 4 Jan 2000 09:42:15 -0500

Jim you can put the job date on the DATE parameter on the SBMJOB command
itself. Then the job will run with the job date specified. The problem you
are having is that the Date parameter's IBM default is to take the job date
from  *JOBD which probably points to *SYSVAL which is today's date as does
QBATCH'S JOBD as an IBM default on V4R4 I'm not sure if it was like that on
previous releases .

----- Original Message -----
From: Jim Langston <jlangston@conexfreight.com>
To: <MIDRANGE-L@midrange.com>
Sent: Monday, January 03, 2000 4:46 PM
Subject: Job Date


> There is a certain procedure that runs in a batch job that
> uses the job date for a lookup.  I did not write this procedure,
> but there is now a problem with it.
>
> Before, our users would type in // DATE 12/24/99 and the job
> date would change to 12/24/99 when the sbmjob was ran, and
> everything went fine.
>
> But, someone came to me today and said he ran this job to get a
> report and it came out 0.  I did the procedure myself, changed the
> jobdate to 12/24/99 with // date 12/24/99 and ran it, then looked at
> the job when it was running and it has a job date of 01/03/2000.
>
> I then went to find out where else I could change the job date and
> did a CHGJOB and prompted, hit F9, scrolled down and saw a
> jobdate field, that already had the value 122499 in it.
>
> Is this a Y2K bug?
>
> Is there a work around?
>
> Regards,
>
> Jim Langston
>
> +---
> | 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 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 thread ...

Replies:

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.