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

delete rules in db2

1 Answers   Keane India Ltd,


What is SORT ? How do we eliminate duplicate records ? How do I select some records using SORT ?

9 Answers   GE, Xansa,


when does a dataset go uncataloged?

0 Answers   IBM,


What happens if both JOBLIB and STEPLIB is specified ?

8 Answers  


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

0 Answers  


how to split a file

4 Answers   IBM,


What is a GDG? Why do we go for a GDG ? utility used to create GDG?

3 Answers   Xansa,


How can the disposition of sysout datasets be set for an entire jobstream?

0 Answers  


Are all (i), (ii), (iii), (iv) of the below are VALID to reference a temporary dataset ? STEP2 DD1 DD DSN = &&TEMP STEP3 DD2 DD (i) DSN = TEMP (ii) DSN = *.TEMP (iii) DSN = *.STEP1.DD1 (iv) DSN = *.STEP1.DD1.ONE

8 Answers   IBM,


What dd statement is used to supply the name of a dataset?

0 Answers  


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

0 Answers  


What is JCL LIB ?

3 Answers   Xansa,


Categories