i have 3 steps in my jcl, where i want to run only one step
at a time depending on the variable. How should i give the
condition statement... I have tried this with two steps
which is working but not able to add condn for the 3rd
step. can anyone help me... I want to know the cond stmt
which i can code in step 3 and step4, so that only either
step2 or step3 or step4 executes

Answer Posted / uday bhaskar

if we refer cond perameter with first step then we can
bypass the third and forth steps also
if you not refer then it will take return code of the above
step so if above step was bypass then all will bypas

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Matching Logic in Jcl not in cobol.Could any one please answer this question

3945


I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

9524


what happens in execution stage in job processing?

877


Is acct parameter mandatory?

976


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

1027


What is the difference between the positional and keyword parameters? Give examples.

999


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

2048


Must tape dataset definitions include vol=ser specifications?

1388


What is catelog procedure and how many catelog procedure to use in one job?

8092


What do you understand by the term job time – out and how can you overcome that?

826


When space is allocated for an output dataset, what units can be used?

1017


What is one line to pass PARM from JCL to COBOL?

4699


what is use of disp parameter in dd statement?

879


Define concatenating?

903


What is the purpose of disp parameter?

882