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


Please Help Members By Posting Answers For Below Questions

What is use of restart and how to use it?

877


what is DD statement is used in JCL?

764


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

1592


what happens in execution stage in job processing?

729


how to do automated restart when a job abends?

958






What parameters can be used to limit the number of records written to a sysout dataset?

846


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2267


in ways data can be passed to a COBOL program from JCL?

738


Explain dfsort utility?

856


Explain how can a jobs execution priority be modified?

835


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

1087


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?

2327


What is the format of comment statement?

770


what is the use of JCL?

763


What is the significance of addrspc parameter in the exec statement?

699