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
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
What is jcl in mainframe?
What is NOTCAT ?
Explain how can a stopped job be started again?
How jcl is used for testing batch programs?
Can I share my data with other jobs? How?
How to submit jcl through a cobol program?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
How jcl work to handle various input output file operations?
Explain the function of //jcllib statement?
Explain the job statement in jcl?
Explain the function of dd name parameter with a 2 part structure; audit.report?
How is the record format of an output dataset specified?
what is the compile process of cobol program expalin with code
What is timing concept in mainframe?