> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[email protected]] On Behalf Of Gibney, Dave
> Sent: Wednesday, April 20, 2011 12:07 PM
> To: [email protected]
> Subject: Re: Submit a series of jobs in order after the 
> previous has completed
> 
> This has been a long topic. 
> Aside from the problem that the sequence stops if any one job fails,
> using the last step of a preceding job to submit the single next job
> will accomplish this. 
> 
> This does not scale to any kind of set-up except one job 
> after another 
> 
> A -> B -> C -> > >
> 
> I suppose you can argue that B may begin executing before A entirely
> completes in so unimportant way. 
> 
> And this does not solve any need to wait for the original need for a
> system command (Vary a device) to occur between jobs.  
> 
> Assuming a job class that permits command (We don't do that 
> :), I would
> add a step with a PGM=WAIT (Writing the program is an exercise for the
> local site) and having given a reasonable time for the command to
> complete, submit the next job.
> 
> Dave Gibney
> Information Technology Services
> Washington State University

No need for PGM=WAIT from from I can see:

//WAIT EXEC PGM=BPXBATCH,PARM='SH sleep 10s'
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//SYSIN  DD PATH='/dev/null',
// PATHOPTS=(ORDONLY)

--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * 
[email protected] * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to