mainframe - JCL job depency without scheduler -


i'm trying implement jcl, in jes2 environment, launches set of jobs dependencies in it, example:

job_a  -> job_b   )  job_c  -> job_d   ) -> job_e 

in other words, job_e launched when job_b , job_d finished.

i can launch job_b , job_d through job internal reader in job_a , job_c can't not create dependencies job_e.

i tried explore jcl resource lock lock data set in job_b , job_d job_e needed job_e start when data set's available jcl requests data set in step level , release them afterwards. if jcl request data set before start implement sort of mutex in jobs, example:

 job_a locks data set dsn_a  job_b waits data set dsn_a  job_c locks data set dsn_c  job_d waits data set dsn_c  job_e waits data set dsn_a , dsn_c 

any ideas , how this?

i need test set of jcl's in development environment without access scheduler.

i'm wondering why invest precious time test set of jobs, prod set entirely different , handled xyz scheduler. don't mind, if sound crazy lemme propose mine too:

assumption: jobs take manageable cpu , no need run parallely.

a triggers b triggers c triggers d triggers e (i know not worthy testing goes fine) put here thinking if you. need testing go quick , fine. lemme know cliche.

now, lemme appreciate both such resolution can manage submission of jobs means of rexx creating virtual , subjective scheduling.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -