mgo
OS/400 Edition
Volume 2, Number 55 -- July 24, 2002

Scheduling a Job to Run More than Once a Day


Hey, Ted:

I saw your tip in the July 12 issue of Midrange Guru, OS/400 Edition.


I've done this for few clients by simply posting multiple entries in the job schedule under slightly different job names. If you have to change the job schedule entries frequently, this might not be such a good idea; my experience has been that once a job is in the scheduler, it rarely changes. I did this for a direct mail company that was running mailing list selections five times a day. Five entries to the job scheduler took care of it nicely.

-- Rich


You're not the only person who suggested using multiple job scheduler entries, Rich. In fact, that's the solution one of my associates suggested when I began to work up an answer to this question. I suspect that using multiple job scheduler entries is a widely used technique.

However, I also suspect that there are a sizable number of programmers who have never used the SCDDATE and SCDTIME parameters of the Submit Job (SBMJOB) command, and they may not even know those parameters exist.

To solve the problem I presented would require 11 job scheduler entries. I received a similar request from a reader to run a job every 15 minutes all day long. To solve that problem would require 96 job scheduler entries. Not only would all of them have to be changed at once, imagine having to hold them all.

Now readers have two ways of scheduling the same job entry more than once a day--multiple job scheduler entries and SBMJOB's SCDTIME parameter.

-- Ted


Sponsored By
WORKSRIGHT SOFTWARE

On June 30, 2002,
$$$$$$$$    Postal Rates went UP!    $$$$$$$$

On July 1, 2002,
$$$$$    you wanted your postage bill to go down.    $$$$$

We have the solution! CASS certify your mailing names and addresses and presort your outgoing mail and save. Our CASS certification software ensures that your address files have valid ZIP Code and address information. Our presort software ensures that you can properly prepare you mail for delivery to your Post Office.

WorksRight Software, Inc. is the number-one source for iSeries and AS/400 CASS, presort, ZIP Code, and area code software and data.

Visit our Web site - www.worksright.com - to learn more about our CASS and presorting software, or contact WorksRight Software, Inc., phone 601-856-8337,
e-mail software@worksright. com .


THIS ISSUE
SPONSORED BY:

WorksRight Software
Tramenco


BACK ISSUES

TABLE OF CONTENTS

Three Ways to Direct OS/400 Output Queues to TCP/IP Printers

Did OPNQRYF Retrieve Records?

Reader Feedback and Insights: Scheduling a Job to Run More than Once a Day


Editors
Howard Arner
Joe Hertvik
Ted Holt
David Morris

Managing Editor
Mari Barrett

Contact the Editors
Do you have a gripe, inside dope or an opinion?
Email the editors:
editors@itjungle.com



Last Updated: 7/24/02
Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.