cond statement..

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

cond statement..

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


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

what is the use of cond statememt//

please help me to find it out.........
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.
Global moderator
Posts: 2505
Joined: Sun Jul 04, 2010 12:13 am
Location: Down on the pig farm
Has thanked: 4 times
Been thanked: 86 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
Global moderator
Posts: 811
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
    Last post