Page 1 of 1

Loopping in JCL?

PostPosted: Wed Oct 31, 2012 11:35 pm
by Mehdi shri
I want to run an step of a JCL more than once by specifying a loop and a condition. How I can do it?

Re: Loopping in JCL?

PostPosted: Wed Oct 31, 2012 11:41 pm
by Robert Sample
JCL is not a programming language. JCL does not support loops. JCL supports only VERY LIMITED conditional logic.

In other words, what you want to do cannot be done, period.

Topic locked as this is the second time in the past few days people are asking to use loops in JCL. It cannot be done, period.