How to use conditional statement in jcl?

How to use conditional statement in job as well as exec statement.with example?

Showing Answers 1 - 3 of 3 Answers

Shivanadr Naveen Kumar

  • Sep 18th, 2011

conditional statement is used whether the current step execute or not based on the prior step execution.


stepname :- it is an optional i we mention the step name the condition checks the mentioned step name if not it checks all prior step execution.

Condition :- LE,GE,LT,GT,EQ,NE

Value :- it is numeric value

we can code max 8 conditions in a particular step.

  Was this answer useful?  Yes


  • Sep 19th, 2011

When we use conditional statements if the condition
specified is true then step bypassed, and if you use if and else statements then condition specified is true then step is

  Was this answer useful?  Yes


  • Sep 25th, 2011

By COND operator and IF THEN ELSE , condition can be specified in JCL

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions