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

is there any way to execute more than one proc in the same exec statement at the same time..?

2601


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

1190


What is the difference between the positional and keyword parameters? Give examples.

1212


How to alter the parameters for the existing gdg?

1163


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

1190


How does jcl act on a cobol code?

1138


What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

2501


Explain the hierarchy levels in jcl?

1650


What are the jcl procedures?

1080


What is NOTCAT ?

1294


In job processing, what happens in conversion stage?

1165


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

4861


What is the function of the steplib dd statement?

1162


How do you create a temporary dataset?

1149


How can unused space allocation be returned to the system when a dataset is closed?

1440