AFAIK, you can use ADDJOBSCDE (or via WRKJOBSCDE) to do what you want, you can schedule multiple jobs to run on the same day, but at different times ...

Or you can use your "self-submitting" job technique, and use the SCDDATE and SCDTIME parameters on the SBMJOB command ... :-)

Hope that helps,

Mark S. Waterbury

On Friday, January 31, 2020, 6:34:17 PM EST, James H. H. Lampert <jamesl@xxxxxxxxxxxxxxxxx> wrote:

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?


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