RESTART - Executing 2 and 3 rd step in 5 step jcl
Moderators: Frank Yaeger, DikDude, Moderator Group
- ibmlearner
- Member
- Posts: 13
- Joined: Sat Dec 02, 2006 5:57 pm
RESTART - Executing 2 and 3 rd step in 5 step jcl
HI ALL
SAY I HAV 5 STEPS,
//--------JOB CARD --------RESTART=STEP2
//STEP1------
//STEP2------
//STEP3------
//STEP4------
//STEP5------
IM RESTARTING THE JOB FROM THE 2 ND STEP,
MY REQ IS ONLY STEP2 AND STEP3 TO BE EXECUTED ??????
LET ME KNOW APART FROM NULL (//) ANY OTHER WAYS R THERE ??????
SAY I HAV 5 STEPS,
//--------JOB CARD --------RESTART=STEP2
//STEP1------
//STEP2------
//STEP3------
//STEP4------
//STEP5------
IM RESTARTING THE JOB FROM THE 2 ND STEP,
MY REQ IS ONLY STEP2 AND STEP3 TO BE EXECUTED ??????
LET ME KNOW APART FROM NULL (//) ANY OTHER WAYS R THERE ??????
Thanks & Regards
-------------------------
Learner
-------------------------
Learner
- muraligaru1
- Moderator
- Posts: 43
- Joined: Sat Nov 11, 2006 7:03 pm
JCL - JOB STEPS
Use COND parameter, to not to execute these step.
Regards,
Murali
Regards,
Murali
Hi There,
U can also use IEBEDIT for this
U can also use IEBEDIT for this
Code: Select all
//STEP1 EXEC PGM=IEBEDIT
//SYSUT1 DD DSN=dataset that contain jcl,DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP2,STEP3)
/*
-
- Member
- Posts: 3
- Joined: Mon Apr 02, 2007 9:11 am
- Location: Bangalore
Re: RESTART - Executing 2 and 3 rd step in 5 step jcl
In my opinion the best way is // or just delete the steps you don't want to execute... the second option, as said before, is 'playing' with COND.ibmlearner wrote: IM RESTARTING THE JOB FROM THE 2 ND STEP,
MY REQ IS ONLY STEP2 AND STEP3 TO BE EXECUTED ??????
LET ME KNOW APART FROM NULL (//) ANY OTHER WAYS R THERE ??????
Code: Select all
//???????? JOB MSGCLASS=X,REGION=8M,NOTIFY=&SYSUID,
// RESTART=STEP20
//STEP10 EXEC PGM=IEFBR14
//STEP20 EXEC PGM=IEFBR14
//STEP30 EXEC PGM=IEFBR14
//STEP40 EXEC PGM=IEFBR14,COND=((0,NE),(0,EQ))
//STEP50 EXEC PGM=IEFBR14,COND=((0,NE),(0,EQ))
what i understand from your query is ..there are 5 step and you need to nullify , some steps in tht proc ..if that is your query then try this
// proc exc proc1 , parameter.stepname=value
parameter =condition
step name = requried step which you would like to nullify
All parameters on an EXEC stmt in the proc such as COND, PARM have to be overridden like this!!
Pls...Let me know is this work for you ...Thanks
Inoccent:)
// proc exc proc1 , parameter.stepname=value
parameter =condition
step name = requried step which you would like to nullify
All parameters on an EXEC stmt in the proc such as COND, PARM have to be overridden like this!!
Pls...Let me know is this work for you ...Thanks
Inoccent:)
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