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: Alks
Posted: Fri Jun 17, 2016 7:14 pm (GMT 5.5)

Thanks Robert for showing my place to me. But when I am using IF ENDIF to control the execution of CDRBATCH, the ABEND step is not getting triggered. This is what confusing me.

//JS005 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD DSN=xxxx.xxxx.xxxx.CTC(ABC),
// DISP=SHR
// IF JS005.RC = 0 THEN
//JS010 EXEC CDRBATCH
//CDRBATCH.DMPUBLIB DD DSN=xxxx.xxxx.xxxx.CTC,
// DISP=SHR
//SYSIN DD DSN=xxxx.xxxx.xxxx.CTC(XYZ),
// DISP=SHR
// ENDIF
_________________
Alks..!!!


Viewing all articles
Browse latest Browse all 8500

Trending Articles