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
What is use of restart and how to use it?
what is DD statement is used in JCL?
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 happens in execution stage in job processing?
how to do automated restart when a job abends?
What parameters can be used to limit the number of records written to a sysout dataset?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
in ways data can be passed to a COBOL program from JCL?
Explain dfsort utility?
Explain how can a jobs execution priority be modified?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
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?
What is the format of comment statement?
what is the use of JCL?
What is the significance of addrspc parameter in the exec statement?