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 |
what happens when time=0 is given in jcl code. what happens when blksize=0 is given in jcl code. what is symbolic and overriding parameters and a example program.
what is static and dynamic call with examples?
What are SD37, SB37, SE37 abends?
wht r different types of sorts ?
When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step is bypassed or executed?
I have an job having three job steps.Suppose i want to call a pgm in step2 and aproc in step3.How to write the code?
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 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00
How do you submit a job for execution?
If your job fails at particular step then what would be the return code for next steps
We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc and not the remaining steps. How can we do it?
5 Answers IBM, JPMorgan Chase,