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 parameter of the job statement is used to limit the cpu time consumed by the job?

840


which parameter is used to check the syntax of a jcl without executing it?

799


Is it possible to code instream data in a PROC?

753


Are there any set of rules for the names of the steps used in a job? What are they?

614


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

728






When output dataset space is required, what quantity categories are used?

832


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

1668


What are the utility programs in jcl?

648


How to submit a jcl from cics?

668


which utility is used to sort a file in jcl?

750


What is the function of dd disp parameter?

658


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

789


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

800


Are there any set of rules for the names of the steps used in a job?

637


how to do automated restart when a job abends?

854