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


i have 5 steps to execute in that i want to skip 3nd step
and start execute from forth step how can u do this.



Answers were Sorted based on User's Feedback



i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can..

Answer / y@$w@nth

I think u want to execute only 1,2,4,5 steps...for this the
solution is

//userid01 JOB 'sample','test',class=a,restart=step3
//step1 exec pgm=prog1
//step2 exec pgm=prog2
//step3 exec pgm=prog3,cond=(0,LE,step2)
//step4 exec pgm=prog4
//step5 exec pgm=prog5
//

So in the above case step3 won't execute only 1,2,4,5 steps
will execute.

If ur question is that u want to restart from step4 that
means u want to execute only 4,5 steps then we can go for
restart parameter at job card level..

//userid01 JOB 'sample','test',class=a,restart=step3
//step1 exec pgm=prog1
//step2 exec pgm=prog2
//step3 exec pgm=prog3,cond=(0,LE,step2)
//step4 exec pgm=prog4
//step5 exec pgm=prog5
//

Cheers....
Y@$w@nth

Is This Answer Correct ?    12 Yes 4 No

i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can..

Answer / karan johar accenture

//step3 exec pgm=p3,cond=(4,GT,0)[0 means rc of step2]
//step4 exec pgm=p4,cond=(4,LE)

Is This Answer Correct ?    6 Yes 3 No

i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can..

Answer / girish kumar

By using IEBEDIT we can do it

sysin dd *
edit type=exclude,stepname=(step3)

Is This Answer Correct ?    6 Yes 5 No

i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can..

Answer / sachin

put cond=(o,LE) in step3
and in step4 keep cond =even

Is This Answer Correct ?    1 Yes 0 No

i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can..

Answer / mohan.chepuri

step3 use cond=(00,le) job wil be bypass in this case

Is This Answer Correct ?    0 Yes 0 No

i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can..

Answer / vinay sonar

put always true condition using cond parameter in step

eg //STEP2 DD PGM=IEBGENER,COND=(0,LT)

Is This Answer Correct ?    0 Yes 0 No

i have 5 steps to execute in that i want to skip 3nd step and start execute from forth step how can..

Answer / krishna chaitanya

at jobcard cond(o,gt)
and then at step 3 cond(0,le)
and at step 4 (0,gt)
or
simply give restart step4

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More JCL Interview Questions

What are the 4 fields in dd statement?

0 Answers  


What is the function of the steplib dd statement?

0 Answers  


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

0 Answers  


On the DD statement, what is the main difference between creating a new sequential flat file and a partitioned dataset?

2 Answers  


i have 3 steps in my jcl, where i want to run only one step at a time depending on the variable. How should i give the condition statement... I have tried this with two steps which is working but not able to add condn for the 3rd step. can anyone help me... I want to know the cond stmt which i can code in step 3 and step4, so that only either step2 or step3 or step4 executes

3 Answers  


Could anyone please suggest me what is the maximum length of data that can be pass as input in //sysin dd * This was asked in interview. TIA

3 Answers   VC, Wipro,


//step#3 exec pgm = hkbc762 what is wrong with the syntax?

3 Answers  


What is condition checking in jcl? Is this possible?

0 Answers  


What do you feel makes a good program?

1 Answers  


How I sort the records in a file and copy the first 10 records to another file

5 Answers  


How to view the hexa decimal value thru file aid if copy book is not present for that particular data

1 Answers  


what is check pending option

1 Answers   Fujitsu,


Categories