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 / sathish kumar

In job card give restart=stepname2
from stepname3 to consecutive ODD steps give the below
condition
cond=(4095,GE)
This will execute the steps stepname2,4,6,8.... and
bypasses the odd steps.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is condition checking possible in jcl? If yes, how?

843


Explain the job statement in jcl?

741


What are the 2 types of parameters in dd statement?

730


What are the utility programs in jcl?

729


what happens in execution stage in job processing?

729






What methodology can be adapted to transfer data to a program that is coded using the exec statement?

707


How to alter the parameters for the existing gdg?

799


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

822


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) ?

1903


What is job control language?

704


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

2089


how would you create a temporary dataset? And where will you use them?

854


How does the jcl specify the job to os?

780


I need exexution process for JCL programs

1935


how you can direct the data to spool using SYSOUT option?

1009