The purpose is just to give the first few jobs a little run time prior to firing up the rest. Semaphores, seeds...DR vendor recommended it.

I have found a way to use it in the CL job. If you submit the CL to QBATCH and run the jobs in QBATCH, it submits the first 2, waits submits the next 3 ,etc...just like the other poster said it would. BUT if you submit the call to the job to QBATCH and setup the CL to actually run the jobs in a different jobq (QBATCH2), the first 2 jobs are submitted and fire off in qbatch2, the job in qbatch waits the amount of delay time, submits the next 3 and they fire off in Qbatch2 so you get your delay, etc..There is no prior dependency on the previous jobs to complete.

I know this isn't rocket science but that's really all I need.

Thanks EVERYONE!!!


John A. Candidi
American European Insurance Group
IT Systems, Application and Support Manager, CSO
Office (856-779-6915)
Mobile  (484-645-5598)
jacandidi@xxxxxxxxxxxxxxxxx



-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Wednesday, September 18, 2013 11:26 AM
To: Midrange Systems Technical Discussion
Subject: Re: Delay Job Question

The big question is why the 15 minute delay? Things like having to wait until the earlier jobs are done can be better addressed by other techniques. Things like "checking some external source 3 times 15 minutes apart to see if they've posted on their site the necessary information" or "check my stock price 3 times in the morning and average the fluctuation"
may make sense using your technique.


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: John Candidi <jacandidi@xxxxxxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>,
Date: 09/18/2013 11:03 AM
Subject: Delay Job Question
Sent by: midrange-l-bounces@xxxxxxxxxxxx



I have a simple CL job that submits about 8 jobs. 2 jobs should fire off
immediately, 3 jobs should fire off about 15 minutes later and the other 3
about 15 minutes after that. is there a simple way to code the CL job with
this parameter or am I way off base?

John A. Candidi
American European Insurance Group
IT Systems, Application and Support Manager, CSO
Office (856-779-6915)
Mobile (484-645-5598)
jacandidi@xxxxxxxxxxxxxxxxx



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.