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

Answers were Sorted based on User's Feedback



I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.a..

Answer / khan

In job card code restart=17 and cond parameter as follows

restart=17,cond=(00,LE)

Is This Answer Correct ?    48 Yes 7 No

I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.a..

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

I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.a..

Answer / atul

Hi,

Code as: RESTART=PROCNAME.STEP17,COND=(4095,NE)

This executes 17th step only and no other step. For
successful execotuin, you will recieve message 'STEP17
PROCNAME - ENDED BY CC 0000 - TIME=nn' in JESMSGLG in SPOOL.

Is This Answer Correct ?    18 Yes 3 No

I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.a..

Answer / mohammad

code restart=17,cond=(00,le),
cond=(4095,ge) on job card.

This will execute only 17th step.

Is This Answer Correct ?    17 Yes 2 No

I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.a..

Answer / vishwa_nathan

COde RESTART = STEP17 in job and code a condition in step
18 ie

STEP18 EXEC PGM=XXXXX,COND=(0,eq)

Is This Answer Correct ?    10 Yes 2 No

I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.a..

Answer / anurag singh

At Job card level write Restart=step17(ddname) and put null
indicator (//) at the end of 17th step , so that while
executing the job will start form 17th step and after that
it will find the null indicator , so job execution will be
terminated.

Is This Answer Correct ?    16 Yes 9 No

I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.a..

Answer / atul

In addition to answer 5, RESTART parameter can be coded as:
RESTART=PRCNAME.STEP17,COND=(4095,GT) and another one has
already been mentioned in answer # 3.

Is This Answer Correct ?    4 Yes 2 No

I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.a..

Answer / david

1. In job card type restart=step17 and type // followed by spaces after the 17th Step.
2. Use IEBEDIT

JCL interview questions
https://youtu.be/VE6cTuFpsXc
https://youtu.be/bExB_Tjp9A4

COBOL interview questions:
https://youtu.be/_O6gPk6jjLE
https://youtu.be/pQumm7ueYik

Is This Answer Correct ?    0 Yes 1 No

I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.a..

Answer / ss

In job card type restart=step17 and comment after 17th step

Is This Answer Correct ?    12 Yes 24 No

Post New Answer

More JCL Interview Questions

In a proc i will concatinate 4 dd statements.i want to overide 3 dd statement through jcl how?

3 Answers  


How jcl work to handle various input output file operations?

0 Answers  


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

0 Answers  


is it possible to submitt more than one job in job card in jcl? and if yes than is it necessary to have the jobs same name?

4 Answers   Accenture,


i have a base gdg consisting of 12 versions like jan to dec. i need to concatante this gdg to another gdg which have version 1 or to the base gdg itself can anyone give me the code pls ?

4 Answers   IBM,


Explain about LMMLIST�list a library's members

1 Answers  


Explain concatenating datasets?

2 Answers   CTS,


What is the purpose and meaning of the REGION keyword and what JCL statement is it associated with?

3 Answers   IBM,


if time parameter is not coded on the job card and job step then what is the default time assigned to the entire job and for each step in the job by the systyem ?

2 Answers   ITC Infotech,


hi in one of the interview one asked me how to submit a job from cobol?as well as how to submit a jcl from CICS? can u pls any one tell me..

1 Answers   CTS,


i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?

1 Answers   IBM,


Describe the DD statement, its meaning, syntax and keywords?

2 Answers  


Categories