JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...
I want to run an step of a JCL more than once by specifying a loop and a condition. How I can do it?
- Posts: 134
- Joined: Sun Jan 16, 2011 6:30 pm
- Has thanked: 55 times
- Been thanked: 0 time
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.
- Global moderator
- Posts: 3100
- Joined: Sat Dec 19, 2009 8:32 pm
- Location: Bellevue, Iowa
- Has thanked: 1 time
- Been thanked: 177 times
Return to JCL