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 ?

Answers were Sorted based on User's Feedback



suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want ..

Answer / 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

suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want ..

Answer / mmreddy

we can use if then condion u can executeit.

Is This Answer Correct ?    0 Yes 0 No

suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want ..

Answer / ravi

in job for all other steps excluding 3rd and 7th steps give
this condition code as below

COND.Step1=(99,NE),
COND.Step2=(99,NE),
COND.Step4=(99,NE),
COND.Step5=(99,NE),
COND.Step6=(99,NE),
COND.Step8=(99,NE),
COND.Step9=(99,NE),
COND.Step10=(99,NE)

or we can use IF then condition condtions also

Is This Answer Correct ?    0 Yes 0 No

suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want ..

Answer / mr . perfect

i have one questiion here man.. if step 3 is get abended ,
then how step 4 , step 5 , step 6 is going o excute till
step 7. dont ask foolishly question man...........?
Intervier is having mad...?

Is This Answer Correct ?    0 Yes 0 No

suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want ..

Answer / mohan.chepuri

restart=step3
restart=step7
these two jobs wil executed only

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More JCL Interview Questions

how to compress the data set

8 Answers   Keane India Ltd,


My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI My Question is 1) I want to execute second step only. How will do. 2) Soppose U consider above three steps are in PROC steps and I want execute the PROC second step only? How to execute the second step only. During exection time its creating any ABEND? Please let me know..........

2 Answers  


Can anyone tell me the syntax for printing two files at two different destinations in a single step?

3 Answers  


Can a PROC CALL another PROC ? (in both Instream and Cataloged cases) ?

3 Answers   IBM,


Explain the function of dd name parameter with a 2 part structure; audit.report?

0 Answers  


What is the difference b/w the CLASS,TIME,PRTY in jcl job card.

4 Answers   Syntel,


How to fetch even records from one file to another file by using ICETOOL in JCL?

3 Answers  


What is a COND parameter in JCL?

10 Answers   TCS,


explain concatinating datasets?

1 Answers  


what is a jcl?

0 Answers   IBM,


what is the use of JCL?

0 Answers  


i have five step in jcl.my forth step is gdg.gdg was abend.when will job complete,hoe to handle you

3 Answers   L&T, Wipro,


Categories