Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

JCL & VSAM :: RE: COND parameter vs IF THEN ELSE

$
0
0
Author: RahulG31
Subject: Reply to: COND parameter vs IF THEN ELSE
Posted: Fri Jun 17, 2016 8:14 pm (GMT 5.5)

You should apply the COND to the step you want. In this case, it's the step name is CDRBATCH. So, while calling proc the condition should be COND.CDRBATCH=(0,NE) i.e.
Quote:
//JS010 EXEC CDRBATCH,COND.CDRBATCH=(0,NE)

As said earlier, the possible reason of this behavior is due to the COND being overridden. The 'IF THEN' condition doesn't override the COND and so the step would work as you want it to be.

.


Viewing all articles
Browse latest Browse all 8500

Trending Articles