suppose i have job it contains 10 steps after exicution of
job failuer at 3 and 7 th steps i want exicute step 3 and
step 7 only how we specify condition ?
Answer Posted / amy
IN THIS JCL YOUR JOB IS SUBMITTED BY DIFFERENT JCL AND ONLY
REQUIRED STEPS WILL BE EXECUTED.
//testjob JOB (MVSQuest),'IEBEDIT TEST',
// CLASS=B,MSGCLASS=X,NOTIFY=V665235,REGION=28M
//*
//SUBMIT EXEC PGM=IEBEDIT
//SYSUT1 DD DSN=your.JCL(member),DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
EDIT START=your-job-name,TYPE=INCLUDE,STEPNAME=
(STEP0003,STEP0007)
//*
In the above JCL, MEMBER is the 10 steps JCL. testjob is
the job-name of this JCL.
If TYPE is exclude, then the mentioned steps will not be
copied/submitted.
PLEASE LET ME KNOW IF I AM WRONG!!!
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Explain about ISPF/TSO Commands
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
What is the difference between run mode and addressing mode?
What is the purpose of disp parameter?
what is the resolution for sb37 error
What are steplib and joblib?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
What are steplib and joblib? What for they are used?
How can a fb file convert to vb file using sort program?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
What does a disposition of (MOD,DELETE,DELETE) mean ?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
How can an in-stream dataset be terminated?
What is the function of the dd mgmtclas keyword in sms datasets?