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

there are 10 steps in jcl how to execute the steps from
step2 to step8 only

Answer Posted / suputhru

AAA BHAI LOOG, First understand the requirement.

1.we can't code COND=(0,LE) for first step.
here we can use COND=only,
2.for not execution of 9 and 10 use COND=(0,LE)

else direct answer: IEBEDIT utility.
Incude 2 to 8 stepnames.

ex:

//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=(STEP001,STEP002,...STEP008)
/*

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

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Cataloged Procedures?

1172


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

1295


Define concatenating?

1108


How does jcl specify the job to the operating system?

1249


Explain in DD statement what is the use of DCB parameter?

1148


How can a stopped job be started again?

1196


Is there any command to check wether the ps file is in sorted order?

2888


In job processing, what happens in execution stage?

1208


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2717


What are the rules employed while naming the steps in a job?

1146


Can we call instream to catalog and catalog to instream?

1147


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

1406


how can you check if a file is empty using jcl?

1426


which parameter is use to declare the name of dataset in dd statement?

1273


Is acct parameter mandatory?

1217