A job has 90 steps i want to execute only step7 and step15
Answers were Sorted based on User's Feedback
Answer / praveen bejjanki
In the jobcard, Give restart=step7, code cond=(0,le) from
step8 - step14, Give a null stmt(//) after step15. That's
it your requirement is met.
Simplest way:
There is an utility IEBEDIT which is used to execute only
few particular steps from 'n' steps in a jcl.
//JOBCARD
//STEPNAME EXEC PGM=IEBEDIT
//SYSUT1 DD DSN=MYPRGM.DSN,DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE STEPNAME=(STEP7,STEP15)
/*
//
MYPRGM.DSN = The name of the dataset that has the actual
JCL.
Suggestions are kindly accepted.
Do correct me if i'm wrong.
| Is This Answer Correct ? | 16 Yes | 0 No |
Ans1) you can use IEBEDIT Utility like
//step1 exec pgm=iebedit
//sysprint dd sysout=*
//sysut1 dd dsn=proj.test.file,disp=shr
//sysut2 dd sysout=(*,intrdr)
//sysin dd *
edit type=include
stepname=(step7,step15)
/*
correct me if i am wrong
thanks
| Is This Answer Correct ? | 2 Yes | 0 No |
What statement can be used to send data to another mvs jes3 node?
what are the statements that are not valid to be included in an include statement?
How do you handle empty files in a JCL ?
What is the differentiation between TRK,cyl, and Bytes... how they can be connected??
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx
What are the 4 fields in dd statement?
can u explain gdg with example wht happens if we give limit,empty,noempty,scartch and no scartch
wht is sysudump n sysout,sysprint ?
what is DSN in JCL and what are the parameters to declare the DSN?
What is meant by S0C7 system abend code?
AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE DUPLICATES HOW TO REMOVE THE DUPLICATE FILES IN JCL? CAN I GET THE PROGRAM FOR THIS