Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain about ISPF/TSO Commands

1870


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5479


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

1008


What is the difference between run mode and addressing mode?

1164


What is the purpose of disp parameter?

1065


what is the resolution for sb37 error

8960


What are steplib and joblib?

1123


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

2401


What are steplib and joblib? What for they are used?

1140


How can a fb file convert to vb file using sort program?

1291


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

2508


What does a disposition of (MOD,DELETE,DELETE) mean ?

1078


What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

2467


How can an in-stream dataset be terminated?

1292


What is the function of the dd mgmtclas keyword in sms datasets?

1183