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

What is one line to pass PARM from JCL to COBOL?

5010


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

2505


What are s0c1, s0c4, s0c5, s0c7 and socb?

1218


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

1199


Explain about LMQUERY�give a dialog information about a data set

1506


What is the function of the dd dcb keyword?

1395


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5596


What is the syntax of JCL statement?

1289


What do you understand by the term job time – out and how can you overcome that?

1085


Is condition checking possible in jcl?

1256


what is DD statement is used in JCL?

1245


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

2349


What is the function of the dd avgrec keyword in sms datasets?

1382


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9803


when can a job time-out occur? How to overcome that?

1348