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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

1080


Name the parameters which can be used to limit the number of records written to a sysout dataset?

1148


what is the purpose of coding class parameter in job statement?

1260


How do you overcome this limitation ?

1201


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

1295


how you can direct the data to spool using SYSOUT option?

1460


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

2454


Are there any set of rules for the names of the steps used in a job? What are they?

1069


What parameter directs the output of the job log dataset?

1277


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

2179


Explain how can the submitting users racf authority be overridden in a job stream?

1124


Is it possible to left uncode disp? If yes, how?

1181


Are there any set of rules for the names of the steps used in a job?

1129


How can values be passed from the job stream to an executable program?

1437


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1836