i have 3 steps in my jcl, where i want to run only one step
at a time depending on the variable. How should i give the
condition statement... I have tried this with two steps
which is working but not able to add condn for the 3rd
step. can anyone help me... I want to know the cond stmt
which i can code in step 3 and step4, so that only either
step2 or step3 or step4 executes
Answers were Sorted based on User's Feedback
Answer / uday bhaskar
if we refer cond perameter with first step then we can
bypass the third and forth steps also
if you not refer then it will take return code of the above
step so if above step was bypass then all will bypas
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / anjui
We can achieve it through if then else statement in jcl
along with the instream proc.
| Is This Answer Correct ? | 4 Yes | 0 No |
What is S322 abend ?
how can the same proc be re-used and called by many jobs?
What type of versions we r using in mainframe (jcl, cobol, db2, vsam, cics)?
how to code instream data in procedure?
diff bw SB37,SD37,SE37 ?( bcz these 3 belongs Space related abends only)
What is the meaning of the following declaration : DCB=BLKSIZE=, What is the difference between above declaration & not specifying DCB at all for a output file?
What are SD37, SB37, SE37 abends?
Suppose we have 5 steps in a job.No step should be executed After submitting every step in a job
i have 10 steps in jcl program but i have to exicute only 2,4,6,8th and 10th ?how it's possible?
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
As PARM can supply information to a program ? Can PARM be used to supply information to a cataloged or Inline Procedure also ?
which utility is used to run a cobol-db2 program?