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


How to execute only th 15th step of JCL consisting of 50 steps?

Answers were Sorted based on User's Feedback



How to execute only th 15th step of JCL consisting of 50 steps?..

Answer / madhavi

Restart= step15 will run from 15th step not only 15th step

Is This Answer Correct ?    28 Yes 0 No

How to execute only th 15th step of JCL consisting of 50 steps?..

Answer / raj

use iebedit utility

Is This Answer Correct ?    24 Yes 0 No

How to execute only th 15th step of JCL consisting of 50 steps?..

Answer / ekanthraj

cond=(0,le),restart = step15.

Is This Answer Correct ?    16 Yes 1 No

How to execute only th 15th step of JCL consisting of 50 steps?..

Answer / muttaiah

There are 3 ways to achieve the above task.
1) Using restart & Cond:
Code restart=step15,cond=(0,le)
2) using restart & Null stmt
restart=step15, Code a null stmt(//) after step15.
3) Using Iebedit
//jobcard
//stepname exec pgm=iebedit
//sysut1 dd dsn=actual pds/ps that has the jcl
//sysut2 dd sysout=(*,intrdr)
//sysin dd *
edit type=include,stepname=step15
/*

Using option 1 & 2 will require the jcl to be copied to ur
personal pds and edit the jcl and pass it on to Operation
team to restart the job with the override pds

using option3 we can directly send this jcl to run without
editing the actual jcl
best way would be create a iebedit jcl in ur program
whenever the job needs to run for particular steps change
the iebedit jcl and send it to the team who will run the job

Hope this will give complete idea regarding restarting a
job.
Corrections are heartily welcomed.

Is This Answer Correct ?    12 Yes 0 No

How to execute only th 15th step of JCL consisting of 50 steps?..

Answer / paray2x

One option is to use RESTART=STEP15 and insert a null JCL
before it.

Otherwise, determine what condition code STEP15 will
return. If it will return 0, then code RESTART=STEP15 and
COND=(0,EQ) on the job card itself.

The COND will apply to all steps. Since STEP15 has no
previous step when restarting, COND will be ignored for
this step. Then, other steps will flush because of the COND
parameter.

Is This Answer Correct ?    12 Yes 2 No

How to execute only th 15th step of JCL consisting of 50 steps?..

Answer / nygrande

I go with Raj reply. Use iebedit utility.

The sintax is:

//SYSIN DD *
EDIT TYPE=INCLUDE, STEPNAME=(STEP15)
/*

Is This Answer Correct ?    7 Yes 0 No

How to execute only th 15th step of JCL consisting of 50 steps?..

Answer / muttaiah

Nishant,

Cond wil execute the step only when the cond is false. If
you see we have given Cond as cond=(0,le) so it will
satisfy what ever may be the return code of the step that's
why it will bypass all the steps.

Hope this answers.

Is This Answer Correct ?    2 Yes 0 No

How to execute only th 15th step of JCL consisting of 50 steps?..

Answer / sathish

What about using SUBS in the JCL comand line and selecting step15 alone to run

It will run only with selected job step

Is This Answer Correct ?    0 Yes 0 No

How to execute only th 15th step of JCL consisting of 50 steps?..

Answer / nishant

bt suppose step 15 returns code = 0 nd we coded cond=(0,le)
aftr 15th step thn will it execute the step aftr 15th step
or not? i think i should execute..wat u say

Is This Answer Correct ?    0 Yes 1 No

How to execute only th 15th step of JCL consisting of 50 steps?..

Answer / nishant

Yes u r rite...

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More JCL Interview Questions

i want to see the jobs in skeleton queue in diff region. (eg. 7 regions are running means , i want to see all the jobs in 7 regions which are in skel queue using 1 command)

1 Answers  


i have 3 steps in my jcl, where i want to run only one step at a time depending on the variable. How should i give the condition statement... I have tried this with two steps which is working but not able to add condn for the 3rd step. can anyone help me... I want to know the cond stmt which i can code in step 3 and step4, so that only either step2 or step3 or step4 executes

3 Answers  


how to edit a tape dataset ? asked in wipro

1 Answers   Wipro,


How to pass values in jcl to cobol?

4 Answers   IBM, Infosys,


what is the general use of PARM? Give an explanation about the system defined parameters that could be passed through this PARM like XREF,LIST,LET,APOST,RENT etc..

3 Answers   Cognizant,


Give the syntax of job specifying jcl statement.

0 Answers  


explain concatinating datasets?

1 Answers  


Hi, I have 3 files say file A , file B and file C.I want to form an output file in which i will have all the records from file A. Files B and C also may contain records that are present in file A.I want those records also to be included in my output file. for eg: file A contains: 1 2 3 file B contains: 2 4 5 file C contains: 1 3 5 So in my output file should look like: 1 2 3 2 1 3 Can any one help ???.....thanks in advance.

2 Answers  


How to send data from cobol program to jcl?

2 Answers   CSC,


What happens if both JOBLIB & STEPLIB is specified ?

0 Answers  


If your job fails at particular step then what would be the return code for next steps

3 Answers   ADP,


How can we increment subscript and index?

1 Answers   CTS, IBM,


Categories