If you want them to run sequentially you could use a single string job 
queue.  However that doesn't ensure that the previous job ended 
"successfully".

And, then again, there's the definition of success.  Is it successful if 
your CL program has a generic MONMSG CPF0000 at the top with a goto END:, 
and this is executed, is that "successful"?

You may want to look at IBM's Advanced job scheduler, (not the freebie 
WRKJOBSCDE that comes with the OS).  It has this kind of robustness (like 
job dependencies) built into it.
http://publib.boulder.ibm.com/infocenter/iseries/v5r3/ic2924/index.htm?info/rzaih/rzaihajsmanage.htm

There's also
http://publib.boulder.ibm.com/infocenter/iseries/v5r3/ic2924/index.htm?info/apis/wm1.htm

And, finally, WTH do some people ask questions like this on the RPG list 
instead of the MIDRANGE-L list?

Rob Berendt

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.