Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
JES2 JEC with JCLs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Domenic Ailati

New User


Joined: 11 Apr 2017
Posts: 4
Location: USA

PostPosted: Wed Nov 20, 2019 8:52 am    Post subject: JES2 JEC with JCLs
Reply with quote

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
View user's profile Send private message

dneufarth

Active User


Joined: 27 Apr 2005
Posts: 300
Location: Cincinnati OH USA

PostPosted: Wed Nov 20, 2019 10:02 am    Post subject:
Reply with quote

http://archive.ibmsystemsmag.com/mainframe/tipstechniques/systemsmanagement/jec-2-2/?page=2
Back to top
View user's profile Send private message
Joerg.Findeisen

New User


Joined: 15 Aug 2015
Posts: 58
Location: Germany

PostPosted: Wed Nov 20, 2019 8:13 pm    Post subject:
Reply with quote

Jobgroup requires JES2 at level Z22.

On the other side, an IEBEDIT with IF THEN ELSE could work as well.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Can we execute JES2 Commands in JES3? sakthikumarT JCL & VSAM 4 Tue Oct 02, 2018 11:55 pm
No new posts How to add a NEW LPAR to JES2 MAS tsathish81 All Other Mainframe Topics 2 Thu Jun 07, 2018 9:32 pm
No new posts Using multiple routines at exit 6 in ... Randy Horowitz All Other Mainframe Topics 2 Sat Feb 10, 2018 11:57 pm
No new posts JES2 EXIT 6 QUESTION Randy Horowitz All Other Mainframe Topics 30 Tue Feb 06, 2018 5:47 pm
No new posts JES2 job size field matching Windows ... SRICOBSAS All Other Mainframe Topics 4 Tue Sep 05, 2017 5:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us