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

What do you understand by the term notcat 2 – gs?

1214


Explain about ISPF/TSO Commands

1897


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

7753


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

1198


What is the function of //cntl statement?

1300


For what purpose steplib and joblib are used ?

1101


how you can direct the data to spool using SYSOUT option?

1432


what happens in execution stage in job processing?

1111


what is the difference between JES3 and JES2?

1104


How do you access an uncatalogued dataset in a jcl?

1188


what is the use of IEBGENER utility?

1133


is there any way to execute more than one proc in the same exec statement at the same time..?

2601


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

1254


In job processing, what happens in execution stage?

1161


what are the statements that are not valid to be included in an include statement?

1353