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 is d/f b/w sysout & sysprint
In jcl i have 255 steps. In 255 step i declared proc. In proc i have 20 steps this job is executable or not? why?
What parameter of the job statement is used to limit the cpu time consumed by the job?
how to see the latest generation in gdg?
Is it possible to left uncode disp?
I have 5 steps in my job. say s1, s2, s3, s4, s5 //s1 exec ............. //s2 exec ............ //s3 exec .......... //s4 exec ........ //s5 exec ............... my question is i want to exeute only s2 and s4 steps... please advice me how to do this:
how do u send return code from cobol to jcl ?
Explain about Specifying compiler options in the PROCESS (CBL) statement
what is the Difference between SYSIN and PARM ?
I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?
Suppose I have Five Steps in PROC In this Case I want to Execute third Step in PROC using Main JCL don't use any COND Explain with Coding Thanks & Regards SHREE
what is alternate index?