View previous topic :: View next topic
|
Author |
Message |
Domenic Ailati
New User
Joined: 11 Apr 2017 Posts: 4 Location: USA
|
|
|
|
Is it possible to use JES2 JEC to run a series of JCLs?
All the examples I've seen use JEC to do an exec pgm=. In my case, I just have a stream JCLs that need to be run in order. Each JCL only needs to be run if then previous one in the chain finishes with a RC=0.
Example. I have JCL1, JCL2 & JCL3 all in LIB1.
I would like to be able to run the 3 JCLs in order starting with JCL1.
Any help would be appreciated. |
|
Back to top |
|
|
dneufarth
Active User
Joined: 27 Apr 2005 Posts: 420 Location: Inside the SPEW (Southwest Ohio, USA)
|
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1335 Location: Bamberg, Germany
|
|
|
|
Jobgroup requires JES2 at level Z22.
On the other side, an IEBEDIT with IF THEN ELSE could work as well. |
|
Back to top |
|
|
|