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 is the sortcard for comparing two files with a field key and get the duplicates in onefile and noduplicates in another file
how can handle the s0c4 abend???
how to convert a file form fixed Length to variable length?
How to pass values in jcl to cobol?
Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
What is DYNAMBR in jcl?
How to copy VSAM files without using REPRO
What is the motivation behind coding class parameter in job statement?
Explain how can return codes be tested before execution of a job step?
What is a JCL Command statement ?
What is the DD statement for a output file?