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??
Answer Posted / 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 |
Post New Answer View All Answers
Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
What is the significance of addrspc parameter in the exec statement?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
Is automatic restart possible in jcl? If yes, how?
what is SOC4 error?
what is the use of IEBGENER utility?
which utility is used to sort a file in jcl?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
Suppose I have five jobs to do. But I want to hold one?
How do you overcome this limitation ?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
How is the record format of an output dataset specified?
Explain the function of a dd statement?
How to alter the parameters for the existing gdg?