cond statement..



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

cond statement..

Postby nagendra » Sat Jul 24, 2010 3:08 pm

hii,,\\


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

what is the use of cond statememt//

please help me to find it out.........
Nagendra
nagendra
 
Posts: 21
Joined: Mon Jul 19, 2010 12:18 pm
Location: bangalore
Has thanked: 0 time
Been thanked: 0 time

Re: cond statement..

 

Re: cond statement..

Postby NicC » Sat Jul 24, 2010 5:08 pm

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!!)
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: cond statement..

Postby MrSpock » Sat Jul 24, 2010 5:20 pm

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.
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post