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 significance of addrspc parameter in the exec statement?
Explain about REXX
how to code instream data in procedure?
what's the significance of freespace(0 0) and freespace(100 100)
What is STEPLIB, JOBLIB? What is it used for?
what is “Cond= even” and “Cond=only”?
How many extents are possible for a sequential file ? For a VSAM file ?
what is the default region size if I dont specify region parametre in my job card ( I know that if I specify region=0k or 0M, then the job will occupy all he available resources at the time of job execution), but I want to know the defult value for "region" paramatre.
I have 10 steps, I want to run STEP1 TO STEP4 then I should not run STEP5 and STEP6. Aganin I want to execute from STEP7 to STEP10. ONLY using CONDITION CODES how can we execute this process? 1. Where we can set cond codes for STEP5 and STEP6? 2. How can we execute remaining steps from STEP7 to STEP10?
difference between internal sort and external sort
i have 10,000 records in one input file.i want to sort 1 to 5000 records in one outputfile and remaining records sort in another output file write the syntax for this?
what is the alternative to model parameter?