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 / rekha
In JOB card give Restart=(name of the second step).
After that for every ODD numbered step give the cond as
COND=(0,GE) because the Condition Code will starts from 0
onwards,so every odd step will be skiped and only the even
steps will be executed.
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
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
what is DD statement is used in JCL?
What is one line to pass PARM from JCL to COBOL?
How would you understand error(execution phase)?
Is condition checking possible in jcl? If yes, how?
how you will the direct the data to spool using sysout option?
What is the use of symbol // in jcl?
What is the use of disp parameter?
How gdg are concatenated?
Can I send output of job to my remote device careerride123?
What is condition checking in jcl? Is this possible?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
What is job control language?
What is jcl in mainframe?
How can values be passed from the job stream to an executable program?