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 / srk

specify restart=step2,cond=even on job statement i.e,
execution begings at step no 2 and every step from step2
onwards executed.

for odd number jobsteps specify cond=(o,le)(condition is
ture for all return codes hence steps with this cond code is
bypassed)

hence begin at step2 and odd no steps are bypassed i.e even
steps are executed

Is This Answer Correct ?    1 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

916


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

2267


what are the types of abends that occur on job failure? And explain the possible causes of these

1222


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

844


what happens in execution stage in job processing?

729






What is the function of job statement in jcl?

724


Explain dfsort utility?

856


How does jcl act on code(if you take a cobol program)?

814


what is the purpose of coding notify parameter in job statement?

779


what is use of disp parameter in dd statement?

740


What is the function of dd name parameter with a 2 part structure; audit.report?

795


how to compare two datasets without using superce because output is limited to 133 bytes

1617


Explain about LMQUERY�give a dialog information about a data set

992


Is it possible to code instream data in a PROC?

855


What is the purpose of disp parameter?

728