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...


a job have 5 steps and it will executes a proc which have
5steps in it. now i have to execute step3 only when step2 of
proc executes successfully

Answers were Sorted based on User's Feedback



a job have 5 steps and it will executes a proc which have 5steps in it. now i have to execute step3..

Answer / vinay sonar

You can de it by using COND parameter in step3.
Use always true condition which is

COND=(0,GT,STEP2) OR COND=(4095,LT,STEP2)

Is This Answer Correct ?    1 Yes 0 No

a job have 5 steps and it will executes a proc which have 5steps in it. now i have to execute step3..

Answer / vinay srivastava

Code in calling JCL :
//JOB1 JOB ...
.
//Pstep EXEC PROC1,COND.STEP3=(0,LT,STEP2)
.
.

Is This Answer Correct ?    2 Yes 2 No

a job have 5 steps and it will executes a proc which have 5steps in it. now i have to execute step3..

Answer / amy

//job1 job a123,'amy',class=a
//proc1 proc
//step01 exec pgm=prog1,
//step02 exec pgm=prog2,
//step03 exec pgm=prog3,(0,eq,step02)
//step04 exec pgm=prog4,(0,eq,step02)
//step05 exec pgm=prog5,(0,eq,step02)
// pend
//step001 exec pgm=proc1
//step002 exec pgm=prog6
//step003 exec pgm=prog7
//step004 exec pgm=prog8
//step005 exec pgm=prog9
//

save it as abc.xyz(member)


now write an another jcl

//job2 job a123,'AMY'
//step1 exec pgm=IEBEDIT
//sysut1 dd dsn=abc.xyz(member)
//sysut2 dd sysout=(b,intrdr)
//sysin dd *
edit start=job1,type=include,stepname=(step001,step003)
/*


WHEN YOU WILL SUBMIT THIS JOB2 THEN ONLY two steps of
proc1(step01 and step02) and
step003(pgm=prog7) will be executed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

What is the function of a dd statement?

0 Answers  


diff bw SB37,SD37,SE37 ?( bcz these 3 belongs Space related abends only)

4 Answers   RBS,


Suppose I have 5 dataset listed under a single DD name in a catlogued PROC. How can I override one of those 5 dataset (say 3rd dataset)?

5 Answers   Cognizant,


What are steplib and joblib?

0 Answers  


What are the keywords associated with DCB? How can you specify DCB information? What is the OS precedence for obtaining that DCB information, ie. where does the system look for it first?

2 Answers  


Is stepname is a MUST and should be unique also for each JOBSTEP ? or system can supply the stepname for a step which is not given a name by the programmer ?

6 Answers   IBM,


In My job I have 15 procs.and in each proc i have 3 steps. i want to execute 3 step in proc 10.is it possible? if possible how?

2 Answers   HP,


Can a PS file be read in reverse order?If so,how

2 Answers   Syntel,


In a proc i will concatinate 4 dd statements.i want to overide 3 dd statement through jcl how?

3 Answers  


What is the function of the dd dcb keyword?

0 Answers  


how can u identify the db2 from jcl ?

2 Answers   TCS,


What do you do if you do not want to keep all the space allocated to a dataset?

2 Answers  


Categories