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


How to execute step2,step5,step7 of a proc of 10 steps?
You are not allowed to change in JCL.

Answers were Sorted based on User's Feedback



How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL...

Answer / adarsh

we can execute selected steps using iebedit utility..

//sysin dd *
edit type = include,stepname=(step2,step5,step7)
//

Is This Answer Correct ?    34 Yes 0 No

How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL...

Answer / muttiah

@Adarsh:

That will be useful when we want to copy steps from a JCL
directly, not from a PROC.

@ NaliniNayak:
Using restart you can point to step2 of a proc as below.
//RESTART=PROCSTEP.STEP2 in the job card.

Code Cond=(0,LE) for all the steps you want to skip..Say in
our case it's 3,4,6,8 and 9th step in proc.

Is This Answer Correct ?    2 Yes 0 No

How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL...

Answer / krish123

we can use COND code in order to execute this. Use condition
code in each step
//JOBNAME JOB ACCT, RESTART=PROCA.STEP2 ---> INORDER TO
EXECUTE THE PROGRAM FROM STEP2
//PROCA EXEC PROCA

//STEP1 EXEC PGM=PROGRAM1
//STEP2 EXEC PGM=PROGRAM2,COND=(0,LT,STEP1)
//STEP3 EXEC PGM=PROGRAM3,COND=(0,GT,STEP2)
//STEP4 EXEC PGM=PROGRAM4,COND=(0,GT,STEP3)
//STEP5 EXEC PGM=PROGRAM5,COND=(0,LT,STEP4)
//STEP6 EXEC PGM=PROGRAM6,COND=(0,GT,STEP4)
//STEP7 EXEC PGM=PROGRAM7,COND=(0,LT,STEP6)
//STEP8 EXEC PGM=PROGRAM8,COND=(0,GT,STEP7)
//STEP9 EXEC PGM=PROGRAM9,COND=(0,GT,STEP8)
//STEP10 EXEC PGM=PROGRAM10,COND=(O,GT,STEP9)

Is This Answer Correct ?    11 Yes 13 No

Post New Answer

More JCL Interview Questions

i need some shortcuts and tso commands can any on ehelp me in these ?

1 Answers  


What are steplib and joblib? What for they are used?

0 Answers  


the command to open a dataset directly from the JCL instead of opening it separately using 3.4 option.

7 Answers   IBM,


what is instream data

2 Answers   EDS,


What are the 2 types of parameters in dd statement?

0 Answers  


What is jcl in mainframe, and how many types of jcl statements are there for a job?

0 Answers  


describe the exec statement,its meaning ,syntax and keywords?

3 Answers  


Write a JCL by using the below requirement: File1 =1, File2 =11 and output needs to come as File3 =111?

8 Answers   Saggezza,


Is acct parameter mandatory?

0 Answers  


Explain about LMINIT - generate a data ID for a data set

1 Answers  


What is the meaning of the EXEC statement keyword, COND? What is its syntax?

2 Answers  


Can I share my data with other jobs? How?

0 Answers  


Categories