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



Assuming that Job C is dependent on something that happens in Job A or B...this is dangerous.

What happens when an error is encountered in program "A"? The timer will run out and program "C" will take off and I hope there was no dependency!

It would be safer to modify the suggested scenario so that:

Init try-counter
Init Job-status-dtaara
SBMJOB A
SBMJOB B
DLYJOB 900
If try-counter exceeds limit...endjob.
If job A not done or job B not done...increment a try-counter...go wait some more.
Init try-counter
SBMJOB C
SBMJOB D
SBMJOB E
DLYJOB 900
If try-counter exceeds limit...endjob.
If job C not done or job D not done of job E not done...increment a try-counter...go wait some more.
SBMJOB F
SBMJOB G
Endjob

The determination of whether or not each job is complete can be monitored by each job updating the job-status-DTAARA when it is complete.

Steve Needles


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of John Candidi
Sent: Wednesday, September 18, 2013 10:15 AM
To: Midrange Systems Technical Discussion
Subject: RE: Delay Job Question

Well, that was my question, will it work just placing it directly in the CL or not...like below

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 Michael Ryan
Sent: Wednesday, September 18, 2013 11:10 AM
To: Midrange Systems Technical Discussion
Subject: Re: Delay Job Question

Maybe:

SBMJOB A
SBMJOB B
DLYJOB 900
SBMJOB C
SBMJOB D
SBMJOB E
DLYJOB 900
SBMJOB F
SBMJOB G

If the parameter is the amount of time, just pass it in as the number of seconds to delay, and use that variable on the DLYJOB.


On Wed, Sep 18, 2013 at 11:04 AM, John Candidi
<jacandidi@xxxxxxxxxxxxxxxxx>wrote:

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


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

________________________________
This communication, including attachments, is confidential, may be subject to legal privileges, and is intended for the sole use of the addressee. Any use, duplication, disclosure or dissemination of this communication, other than by the addressee, is prohibited. If you have received this communication in error, please notify the sender immediately and delete or destroy this communication and all copies.

TRVDiscDefault::1201

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.