I have a JCL with 100 steps. I want run the Alternate steps
in the JCL ( Like 2 ,4,6,8 etc.. ). How can I acheive this
scenario? If It is by Cond Parameter can you provide the
Condition code for that?
Answer Posted / alla srikanth
small change*** no need to mention cond=EVEN on on job
statement
specify restart=step2 on job statement i.e,
execution begings at step no 2 and every step from step2
onwards executed.
for odd number jobsteps specify cond=(o,le)(condition is
ture for all return codes hence steps with this cond code is
bypassed)
hence begin at step2 and odd no steps are bypassed i.e even
steps are executed
| Is This Answer Correct ? | 7 Yes | 7 No |
Post New Answer View All Answers
how to do automated restart when a job abends?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
How jcl work to handle various input output file operations?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
Is condition checking possible in jcl? If yes, how?
What are the jcl procedures?
What is the purpose of dd * statement in jcl?
What is the function of the dd mgmtclas keyword in sms datasets?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
How would you understand error(execution phase)?
define cond parameter in jcl?
Explain how can a stopped job be started again?
For what purpose steplib and joblib are used ?
Explain how can a jobs execution priority be modified?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?