Page 1 of 1

cond statement..

PostPosted: Sat Jul 24, 2010 3:08 pm
by nagendra
hii,,\\


i m having a gr8 confusion with cond statement......

what is the use of cond statememt//

please help me to find it out.........

Re: cond statement..

PostPosted: Sat Jul 24, 2010 5:08 pm
by NicC
What is the use of the COND statement? Suggest you read the JCL manual. It starts off with a large paragraph on its purpose.

You have to read it carefully because the logic is a bit twisted - if a condition is met then the step is NOT executed (I think!!)

Re: cond statement..

PostPosted: Sat Jul 24, 2010 5:20 pm
by MrSpock
I'd suggest that you stay away from using COND completely and use the much nicer IF/THEN/ELSE logic. Anyway, you can read all about COND here.