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 had 100 steps in jcl i want to execute first 10 steps only?

Answers were Sorted based on User's Feedback



I had 100 steps in jcl i want to execute first 10 steps only?..

Answer / albert n

If the JCL is not submitted by TSO/ISPF where automatic
generation of a JOB card is normal, you simply add a card
to the deck that has only //. This signals to the JCL
conversion that the jobstream had ended.

e.g

//STEP1 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP2 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP3 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP4 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP5 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP6 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP7 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP8 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP9 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP10 EXEC PGM=....
//.... DD DISP=...,DSN=...
// <- END of job signal to JCL conversion
//STEP11 EXEC PGM=.... From here down is ignored
//.... DD DISP=...,DSN=...
//STEP12 EXEC PGM=....
//.... DD DISP=...,DSN=...
//STEP13 EXEC PGM=....
//.... DD DISP=...,DSN=...

Is This Answer Correct ?    7 Yes 1 No

I had 100 steps in jcl i want to execute first 10 steps only?..

Answer / shivanadri naveen kumar

After 10th step you should give jcl null statement or else
code condition parameter in step11.

Is This Answer Correct ?    7 Yes 1 No

I had 100 steps in jcl i want to execute first 10 steps only?..

Answer / harsha

You can use IEBEDIT utility to perform this activity.

Is This Answer Correct ?    6 Yes 0 No

I had 100 steps in jcl i want to execute first 10 steps only?..

Answer / srinivas

After 10th step you should give jcl null statement or else
code condition parameter in step11.

Is This Answer Correct ?    2 Yes 0 No

I had 100 steps in jcl i want to execute first 10 steps only?..

Answer / kamaldeep

The answer #5 by Challa Srinivas is wrong, if we give //STEP11 EXEC=PGM2,COND=(0,LE,STEP10) then it will only not run Step11 but will run all the step after it.

Is This Answer Correct ?    1 Yes 0 No

I had 100 steps in jcl i want to execute first 10 steps only?..

Answer / challa srinivas

Just code at step 11 as below.

//STEP11 EXEC=PGM2,COND=(0,LE,STEP10).

Please note that Step 10 should execute successfully at any cost else again the job will start executing from step 11 till end.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More JCL Interview Questions

what's the significance of freespace(0 0) and freespace(100 100)

3 Answers  


List the different jcl statements that are not permitted in the procedures?

0 Answers  


what is use of space parameter in dd statement?

0 Answers   IBM,


What you mean by skeleton JCl?

2 Answers  


What parameter directs the output of the job log dataset?

0 Answers  


how to execute the last 5 steps in jcl

2 Answers   Syntel,


If a field is declared as a comp-3 field and if we want to sort a dataset based on this field, then how will the sort card be??? e.g- if we want to sort by a field which is defined as a PIC X(5) then we will mention - sort fields=(1,5,ch,a). Likewise if a field is defined as PIC S9(10)COMP-3 then in this case how will the sort field be defined (because in this case a sign is also involved)???

8 Answers  


i have step1,step2,step3 from where can i start coding cond parameter ?

2 Answers   Verizon,


How To get the last record in VSAM file in cluster? and How can u get the ksds file records into ur cobol program ? Pls tell me about these two questions.

1 Answers   Cap Gemini,


Can you give the sort card to arrange the specific column in the version of GDG.

1 Answers  


Suppose I have seven jobs to do, but I want to hold one than how can I do this?

1 Answers  


What is a procedure?

1 Answers  


Categories