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 6:16 pm (GMT 5.5)

Hi expat,

The inbuilt abend step is in the CDRBATCH step.
The jcl goes like this:
//JS005 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD DSN=xxxx.xxxx.controlcard(ABC),
// DISP=SHR
//JS010 EXEC CDRBATCH,COND=(0,NE,JS005)
//CDRBATCH.DMPUBLIB DD DSN=xxxx.xxxx.controlcard,
// DISP=SHR
//SYSIN DD DSN=xxxx.xxxx.controlcard(XYZ),
// DISP=SHR


The control card ABC has LISTCAT ENTRIES(DSN)
i.e. the DSN whose existense is checked.

The control card XYZ has the SNODE PNODE DSNI and DSNO details.
_________________
Alks..!!!


Viewing all articles
Browse latest Browse all 8500

Trending Articles