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

Answers were Sorted based on User's Feedback



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

Answer / sai

Hi,

CODE THE CONDITION PARAMETER COND=
(0,LE) IN THE STEPS THAT WE DONT WANT TO EXECUTE

Regards
Sai

Is This Answer Correct ?    11 Yes 0 No

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

Answer / chowdary

give restart from step 2 and give end statement after 8th
step

it might be possible by using cond parameter

Is This Answer Correct ?    8 Yes 3 No

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

Answer / 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

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

Answer / vinay sonar

You can use cond parameter but it will be very tedious.
So you can use IEBEDIT
Syntax is

//SYSIN DD*
EDIT TYPE=INCLUDE,STEPNAME=
(STEP2,STEP3,STEP4,STEP5,STEP6,STEP7,STEP8)
/*

Is This Answer Correct ?    0 Yes 0 No

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

Answer / guest

He wants step 1 and 10 should be bypassed and not 9 and 10.
We can use restart parameter

Is This Answer Correct ?    1 Yes 3 No

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

Answer / anonymous

If it is confirm that step 2 to step 8 will execute normally
then what we can do is write COND=(0,EQ) for step 9 &
step10.So these last steps will be byepassed.

Is This Answer Correct ?    4 Yes 7 No

Post New Answer

More JCL Interview Questions

If a job has 3 steps and step 1 and step 3 should get executed and step 2 should not get executed irrespective of the return code from the previous steps. How can it be done?

5 Answers   TCS,


What is timing concept in mainframe?

0 Answers  


What is the use of ikjeft1b utility in jcl?

1 Answers  


How can i execute 5th step without executing first 4 steps?

4 Answers  


What is the syntax of JCL statement?

0 Answers  


what is a MODELDSCB?

1 Answers  


File1 has 100 records and file2 has 200 records i want to copy 50 records which r in both file into file3

7 Answers  


What parameter of the job statement is used to limit the cpu time consumed by the job?

0 Answers  


Explain concatenating datasets?

2 Answers   CTS,


which utility is used a dummy utility?

0 Answers   IBM,


how can u understand ps and pds from their names ?

1 Answers   TCS,


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

0 Answers  


Categories