How to execute first n number of steps in a jcl
Moderators: Frank Yaeger, DikDude, Moderator Group
How to execute first n number of steps in a jcl
For example if have a JCL with 15 setps, I want to execute only the first 10 steps. How it is possible?
A JCL with 30 steps.
Guys, A JCL is having 30 steps. I want to execute only the 3rd step. One way of doing it is to put a RESTART=STEP03 in the job card and put a null statement after the 3rd step.
Does anybody know multiple ways of doing the same? Pls share the details.
TIA.
Does anybody know multiple ways of doing the same? Pls share the details.
TIA.
Arr Bee
-------------
?My joy in learning is partly that it enables me to teach? - Seneca(Roman philosopher, mid-1st century AD)
-------------
?My joy in learning is partly that it enables me to teach? - Seneca(Roman philosopher, mid-1st century AD)
another way of executing nth step in JCL
Hi,
you can execute the nth step by COND parameter. give COND=(O,LE) in the job card and give the COND=(0,GT) in the nth step which you want to execute.
Regards,
Cruise.
you can execute the nth step by COND parameter. give COND=(O,LE) in the job card and give the COND=(0,GT) in the nth step which you want to execute.
Regards,
Cruise.
Doubt on Cruise explanation
Hi Cruise,
You said COND=(O,LE) in the job card and to give the COND=(0,GT) in the nth step will execute only the N'th step.
I guess, the COND mentioned on the JOB will override the COND mentioned on STEP i.e., first the JOB COND is checked, if not satisfied, then STEP COND is checked. If not satisfied, then execute the STEP.
Cruise could you please provide some more explanation on your solution.
-Suresh.
You said COND=(O,LE) in the job card and to give the COND=(0,GT) in the nth step will execute only the N'th step.
I guess, the COND mentioned on the JOB will override the COND mentioned on STEP i.e., first the JOB COND is checked, if not satisfied, then STEP COND is checked. If not satisfied, then execute the STEP.
Cruise could you please provide some more explanation on your solution.
-Suresh.
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page