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



Jerry,

You can submit a job to a JOBQ attached to a SBS that isn't running.

If you start the SBS, the job will then start.

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

A little googlling turned up this:
http://www.bmeyers.net/2005/07/sbmjob-command-scheduling-parameters.php

Charles


On Tue, Jan 27, 2009 at 12:30 PM, Jerry Adams <Jerry@xxxxxxxxxxxxxxx> wrote:
William,

I think Mike was talking about a simple SBMJOB, not the Job Scheduler. For the Scheduler, you are correct (I set all of mine to *NOSBM). For the basic SBMJOB there is no 'Recovery Action' (that I could find, anyway), and I've never experienced or tested this. What I have experienced is a currently running job in QBatch when the system died; that job, just like a QInter job, dies not to be resuscitated until one resubmits it. My guess (and it's only that) is that a scheduled SBMJOB is similar to a CL program with a DLYJOB; i.e., it would be gone when the system came back.

But I've been wrong before; sounds like a good subject for a test. It might not even be necessary to actually take the system down; just ENDSBS QBATCH (or whatever) after a test job was submitted. Then STRSBS QBATCH (such as most IPL start-up programs do) after the scheduled time. Or you could go the whole nine yards and re-IPL the system within the necessary time intervals.

I did browse the Info Center, but couldn't find anything that addressed this situation, as I'm sure Mike did, too.

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 Willie J. Moore
Sent: Tuesday, January 27, 2009 10:58 AM
To: midrange-l@xxxxxxxxxxxx
Subject: RE: SBMJOB Scheduled Date/Time

Mike,
That depends on the recovery action option. If you display the option for the 'Recovery action', it shows you what each means.
William....

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Mike
Sent: Tuesday, January 27, 2009 7:50 AM
To: Midrange Systems Technical Discussion
Subject: SBMJOB Scheduled Date/Time


I have a question, if we used SBMJOB with a scheduled date. What happens if
the system has been rebooted or goes down during the time it is waiting to
run? Does the job stay out there waiting to run when the system comes back
up?

--
Mike Wills
Midrange Programmer/Analyst
http://mikewills.info
http://www.linkedin.com/in/mikewills
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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.