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



I do the same thing. The math is easy now that we have significantly better
date/time handling than when I originally wrote the CL to do this back on
V3R6. Even then it was not really all that hard. You just have to take
into account going over midnight, leap year, and other such oddities.

--
Jim Oberholtzer
Agile Technology Architects

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Justin
Taylor
Sent: Monday, February 3, 2020 8:04 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: Scheduling a more-frequently-than-daily job?

I use the job scheduler to spawn the initial job and then have it use SBMJOB
SCDTIME() to resubmit as needed.



-----Original Message-----
From: James H. H. Lampert [mailto:jamesl@xxxxxxxxxxxxxxxxx]
Sent: Friday, January 31, 2020 5:34 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Scheduling a more-frequently-than-daily job?

Fellow Midrange geeks and geekettes:

Most of you probably already know that my "weapon of choice" for setting up
a job to run periodically is a self-perpetuating batch job: when runs, it
schedules its own next run.

I do understand the basics of job schedule entries, but I'm not always in a
position to use them, and I figured out self-perpetuating batch jobs before
I learned about them.

Now, I have situations that call for a job to run not just daily, but
*hourly* (at least during business hours). I've got it set up with
self-perpetuating batch jobs, but I just took a look at WRKJOBSCDE and
ADDJOBSCDE. I don't see anything there for setting up a job schedule entry
for more than once daily.

Is there a way, short of setting up a separate job schedule entry for every
time the job should run during a typical day?

--
JHHL

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

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.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.