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 do you understand by the term notcat 2 – gs?
What happens if both JOBLIB & STEPLIB is specified ?
How can u know the current date using jcl?
Explain about Cobol Subroutines
what is force complete
which utility is used a dummy utility?
My requirement is : How to populate a empty PS/flat file with ONLY spaces in the first line. You should not use any input dataset to do this. I'm not sure whether you may use any utility for this purpose?
What is a procedure?
i have step1,step2,step3 from where can i start coding cond parameter ?
MOD, DELETE; What does a disposition of (,DELETE) mean ?
Is CPU time assigned to a JOB and JOBSTEP BOTH, by default ?
if we give TIME=0 how many sec that job/step