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


If we have 100 job steps in JCL and we want to excute steps
only starting from 43 to 50, then how it can be coded in JCL/

Answers were Sorted based on User's Feedback



If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how i..

Answer / shaik.apsar

While submitting the JCL, use RESTART=Step43.
And from steps 50 step complet i am close the //

Is This Answer Correct ?    13 Yes 1 No

If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how i..

Answer / avinashn17

use the following,

//STEP1 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=XXXX(MEMBER),DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP43-STEP50)
/*

only steps 43-50 would be included and executed.

Is This Answer Correct ?    6 Yes 0 No

If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how i..

Answer / aloke deb

A new and better way of doing this is by using the IEBEDIT
utility. The syntax is:
//IEBEDITJ JOB ACCT,'',CLASS=P,MSGCLASS=T,MSGLEVEL=
(1,1),NOTIFY=&SYSUID
//STEP0001 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=xxxxx.yyyyy.zzzzz,DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP10,STEP5,STEP15)
/*
//

Is This Answer Correct ?    7 Yes 3 No

If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how i..

Answer / vssd

While submitting the JCL, use RESTART=Step43
And from steps 51 thru 100, use COND=ONLY in step EXEC
statement.

Hope this helps, please correct me if wrong.

Is This Answer Correct ?    11 Yes 8 No

If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how i..

Answer / vinay sonar

Use IEBEDIT

//STEP2 EXEC PGM=IEBEDIT
EDIT TYPE=INCLUDE,STEPNAME=(STEP43-STEP 50)

Is This Answer Correct ?    3 Yes 0 No

If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how i..

Answer / astha mittal

I don't want to use COND=ONLY..then what will be the next
alternative..sorry to bug u as interviewer has aske me like
this...

Is This Answer Correct ?    3 Yes 1 No

If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how i..

Answer / vichu

asha , u can try using IF RC not equal 0 THEN --- ENDIF

Is This Answer Correct ?    3 Yes 2 No

If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how i..

Answer / sundar

While submitting the JCL, use RESTART=Step43.
And from steps 50 step complet i am close the /* is it
correct plz tell me

Is This Answer Correct ?    1 Yes 0 No

If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how i..

Answer / nitesh sethi

IEBEDIT can be used but the syntax needs to be bit modified.
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP10,STEP5,STEP15)
/*
//
Instead of this it will be

//SYSIN DD *
EDIT START=IEBEDITJ,TYPE=INCLUDE,
STEPNAME=(STEP10,STEP5,STEP15)
/*
//

Is This Answer Correct ?    1 Yes 1 No

If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how i..

Answer / yogesh s p

//jobname job , ,con=(4093,gt,step49)
//step1 exec pgm=
//step2
.
.
.
.
.
.
.
//step50 exec pgm=.....,
it will execute 49 th step before executing 50 step it will
check the return code of 49th it will satisfies the
condition so it wont execute the step50 it will come out of
the sequence.

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More JCL Interview Questions

How do you access an uncatalogued dataset in a jcl?

0 Answers  


Explain dd statement in jcl?

0 Answers  


What do you understand by the term notcat 2 – gs?

0 Answers  


what is the meaning of keyword in jcl?what is is opposite?

4 Answers  


If the proc stepname is excluded while overriding the COND, TIME, REGION and PARM parameters while calling the proc, will the override only apply to the first step in the proc or all the steps for all the above parameters?

2 Answers  


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  


what are the statements that are not valid to be included in an include statement?

0 Answers   IBM,


What is a procedure?

1 Answers  


How is a new GDG coded?

2 Answers  


Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.

2 Answers  


A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?

4 Answers   IBM,


When we give TYPERUN = SCAN , what are the syntax errors we get?

5 Answers   Kanbay,


Categories