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:
Answers were Sorted based on User's Feedback
code always true condition on s1 s3 s5 steps using cong
parameter Ex: //s1 exec..... cond=(4096,gt)
or
by using iebedit utility
//job exec pgm=iebedit
//s1
//s2
//
//
//s5
//sysin dd *
start jobname type=include (s2,s4)
//
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / girish kumar
by using iebedit utility u can solve this easily.
first u code all steps in saparate member using iebedit
utility and then write another jcl program menction member
name like pgm=membername and
then code like this.
sysin dd *
edit type=include,stepname=(s2,s4)
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / siri
using iebedit utility...
//jobname job ,,,,,,,,
//step exec pgm=iebedit
//sysut1 dd dsn=eidujk.hii.jcl,disp=shr
//sysut2 dd dsn=sysout=(*,intrdr)
//sysprint dd sysout=*
//sysin dd *
edit start=jobname,type=include,step name=(step2,step4)
/*
| Is This Answer Correct ? | 1 Yes | 0 No |
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:
what is the use of IEBGENER utility?
i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i code RESTART and COND parameter?
What is the motivation behind coding class parameter in job statement?
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?
What is use of restart and how to use it?
What is the use of IEBGENER ?
how would you create a temporary dataset? And where will you use them?
what is JCLLIB and PROCLIB in jcl and their syntax
How does the jcl specify the job to os?
What is the function of the dd mgmtclas keyword in sms datasets?
What are the kinds of job control statements?