× 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.



Adam,

I wrote a program recently, using the QWCLSCDE api, to list the job scheduler entries and held any "late" ones when the system is IPL-ed. There doesn't appear to be an equivalent api the would list the jobs sitting on a job queue (at least not that I could find). Anyway, there doesn't seem to be an equivalent to the HLDJOBSCDE for job queue entries (again, not that I could find).

At this point (if the research is correct), I would think that checking for an abnormal IPL in the startup procedure and, if so, not starting the QBatch (or whatever) subsystem would be the limit of what one could do in this regard.

Jerry C. Adams
IBM System i Programmer/Analyst
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Adam Glauser
Sent: Tuesday, January 27, 2009 2:03 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: SBMJOB Scheduled Date/Time

Charles Wilt wrote:
So, I think the JOBQ entry of a job waiting for a certain date and
time will survive the IPL, thus will submit when the system comes

I can confirm this from recent experience. It really would be nice if
there was a way to specify a recovery action for jobs that are submitted
with SCDDATE/SCDTIME. I think having a job resubmit itself for the
future can be a good compromise between the added complexity of a never
ending program and the lack of granularity of the default Job Scheduler.

If anyone comes up with a good way to end jobs on job queues in SCD
status at IPL, I'd be happy to hear the method.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.