I have a JCL with 10 steps, want to execute first 5 steps
only, what are ways of doing it?is it possible to control
through JOB card?
Answers were Sorted based on User's Feedback
Answer / vidya
From 5th to 10th step, give COND parameter. Give the
condition as COND=(0,LE). As 0 is always less than or equal
to the return code of executing step it will bypass.
| Is This Answer Correct ? | 14 Yes | 2 No |
Answer / kaarthik
USE IEBEDIT utility to just execute the steps you want to
execute in it.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / zos13
One more Answer:
If you are good with IDCAMS, then in step5 or (add 1 more step
With name step5r after step 5 and before step6) supply
//step5r exec pgm=IDCAMS
//sysin dd *
SET MAXCC = 16
/*
in Job card, use : COND=(16,EQ).
It will execute till step5 successfully, at step5r it will acquire MAXCC=16, Condition in JOB card is true, all steps will be bypassed after5.
**If you can't create new STEP5r, then please use SYSIN DD * in step5, it is same thing*****
You may also use RC in place of MAXCC.
Please reply here if it works for you or at: thespider390@hotmail.com
| Is This Answer Correct ? | 0 Yes | 0 No |
how many max steps can we use in a job? pls answer to my question
Can we change a FB file to VB file in JCL? Please help
What is the error/SOC code if dd names are not sysut1 and sysut2 in IEBGENER?
Must tape dataset definitions include vol=ser specifications?
Hi, My dataset have multiple records, say 100. I want to start copy records only after a record contain a specific value that may be in a specific position. Secondly I want to stop copying rest records if certain record contains a specific value. Can it be done using SORT/ICETOOL utilities?
How to find the number of duplicates in a file using Sort?
Which dd parameters are required?
In job processing, what happens in conversion stage?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
wht do u mean by notify parameter, how can u give acess to multiple users ?
What is dummy parameter in JCL??
What is a S0C4 error ?