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


We have 100 steps in a procedure and we need to run the jcl
and execute only 25th step in the proc and not the
remaining steps. How can we do it?

Answers were Sorted based on User's Feedback



We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc..

Answer / manjunath s h

use restart parameter, restart = procstep.stepname
procstep: the step of the jcl which is invoking the proc.
stepname: the step in proc where u want the execution to
start.

use null statement after the 25th step in the proc.
or
override the cond parameter of 26th step as cond=(0,LE).

Is This Answer Correct ?    12 Yes 1 No

We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc..

Answer / prakash

Use IEBEDIT utility and select the required step alone for
execution

Is This Answer Correct ?    4 Yes 1 No

We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc..

Answer / vikas bhardwaj

//QV1P01TV JOB ABCB......
//STP EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT = *
//SYSUT1 DD DSN=.......
//SYSUT2 DD DSN=.......
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP25)
/*

Is This Answer Correct ?    5 Yes 2 No

We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc..

Answer / indrani

We can copy the PROC into personal library and edit the
proc and put a null card post 25th step. Then make the JCL
use your personal library as the proc and only 25th step
will run and the rest of all steps will be bypassed.

I would recommend this to be the best answer.

Is This Answer Correct ?    3 Yes 1 No

We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc..

Answer / varmak

@ Indrani

In case if we are anyways editing the proc, we can copy
only step25 into local jcl pds & execute... why copy
entire proc..?

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More JCL Interview Questions

A job has 90 steps i want to execute only step7 and step15

3 Answers   Cognizant,


How different is the JCL executing a COBOL program? 1) if the program is using VB file as input. 2) if the program is using FB file as input.

1 Answers   HSBC,


How is the record format of an output dataset specified?

0 Answers  


What are the default system and catalog libraries in JCL?

2 Answers   Infosys,


Are all (i), (ii), (iii), (iv) of the below are VALID to reference a temporary dataset ? STEP2 DD1 DD DSN = &&TEMP STEP3 DD2 DD (i) DSN = TEMP (ii) DSN = *.TEMP (iii) DSN = *.STEP1.DD1 (iv) DSN = *.STEP1.DD1.ONE

8 Answers   IBM,


There is a procedure in A.B.PROCS(PROC1) (member name is PROC1) //PROCA... There is a call to a procedure PROCA from a JOB. //STEP01 EXEC PROCA ... Here "PROCA" in JOB refers to the actual PROC name or the member name of the PDS where this PROCA is stored.

2 Answers   Merrill Lynch,


In job processing, what happens in conversion stage?

0 Answers  


i have 10steps and i want run step3 and based on step3 i want execute step7,8,9,10?in jcl

1 Answers  


What is Automatic Restart ? EXEC PGM = PROG1, RD = R (Is it the Restart of a JOBSTEP or Restarting the execution of the program?) Do we Restart it or it automatically Restarts executing again and again ? Then when it will finish executing ? or After Abending, when we submit it again, then it is Restarted from the Last successful Checkpoint ? If some JOBSTEP is abending, what is the benifit to Restart it, WILL IT NOT ABEND AGAIN if you don't change the LOGIC ?

1 Answers   IBM,


In jcl i have 255 steps. In 255 step i declared proc. In proc i have 20 steps this job is executable or not? why?

4 Answers  


What is a Generation Data Group (GDG)?

2 Answers  


Suppose there r 10 steps . Out fo which i want to execute 10th, 9th and 8th in reverse order without using IEBEDIT. How can i do that..???

5 Answers   IBM, UST,


Categories