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 have a JCL which 20 steps. How do I execute 17 th step
alone (It should execute only 17ths tep.and it should not
execute 18,19,20 steps??

Answer Posted / pradeep

There is a better way of doing it as given below:

//STEP001 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=XXX.GENERAL.STUDY(TEST001),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP0017)
/*

Here, I have used the utility, IEBEDIT to execute only the
required step. You can also, given the syntax,

EDIT TYPE=INCLUDE,STEPNAME=(STEP0017,STEP0021,STEP0099) to
execute the reqd steps only.

Similarly, we can use TYPE=EXCLUDE to exclude the steps
from exec.

Is This Answer Correct ?    41 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of disp parameter?

1052


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

1326


Explain the function of a dd statement?

1119


Can an individual step be restricted from using all the jobs allowed cpu time?

1497


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 ?

9690


Explain how can a jobs execution priority be modified?

1146


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2695


What is the function of the steplib dd statement?

1131


What are the parameter we cannot use in procedure?

1055


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?

2218


Differentiate between the joblib and the steplib statements?

1336


How to alter the parameters for the existing gdg?

1135


Is condition checking possible in jcl?

1144


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

1022


How do you access an uncatalogued dataset in a jcl?

1158