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

Explain the jcl exec statement?

653


How can the attributes of one sms dataset be copied to another dataset?

864


What is notcat 2 - gs?

941


What do you understand by the terms: joblib and steplib?

626


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1774






what is use of dsn parameter in dd statement?

675


What is the function of //jcllib statement?

814


Is condition checking possible in jcl?

722


What is multithreading in jcl?

946


What is jcl in mainframe, and how many types of jcl statements are there for a job?

634


Is it possible to left uncode disp?

719


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

942


Define concatenating?

671


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1360


Is it possible to define dd statements as you want?

648