Loopping in JCL?



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Loopping in JCL?

Postby Mehdi shri » Wed Oct 31, 2012 11:35 pm

I want to run an step of a JCL more than once by specifying a loop and a condition. How I can do it?
Mehdi shri
 
Posts: 138
Joined: Sun Jan 16, 2011 6:30 pm
Has thanked: 57 times
Been thanked: 0 time

Re: Loopping in JCL?

 

Re: Loopping in JCL?

Postby Robert Sample » Wed Oct 31, 2012 11:41 pm

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.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times


Return to JCL