Page 1 of 1

Advise on JCL

PostPosted: Thu Oct 26, 2017 1:00 pm
by srrc
Dear Experts,

We are running 30 JCLS with same proc and only the symbolic to the proc changes.
The symbolic are passed via EXEC card. Symbolic passed are M01, M02,...M30.

please suggest an idea to optimize this.

Re: Advise on JCL

PostPosted: Thu Oct 26, 2017 3:57 pm
by Akatsukami
Modify the JCL with some tool and submit it to the internal reader.

Re: Advise on JCL

PostPosted: Thu Oct 26, 2017 5:11 pm
by NicC
Assuming you already have 30 jobs each with the symbolic set for that specific job then there is no "optimisation".

Re: Advise on JCL

PostPosted: Thu Oct 26, 2017 7:24 pm
by Aki88
Hello,

IMHO, 'optimization' is a very subjective term, and carries a different meaning for everyone looking at the problem.

For instance, the programmer who coded the JCL in the shape it is today, would have done so thinking of a scenario wherein they might be able to submit all of these jobs in parallel (maybe) - an optimized solution according to them, because writing 30 JCLs with just 2 byte change for number (and the job name ofcourse), isn't a big headache. Various sites that run job-segmentation, use similar practices.

To maybe answer your query in a more defined manner, it'd be great if you can help us understand what YOU mean by optimization here; how you want the end result to look; and maybe then there can be more precise answers.