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

DB2 :: RE: JCL to Set Return code based on DB2 SQL query result

$
0
0
Author: vinu78
Subject: Reply to: JCL to Set Return code based on DB2 SQL query result
Posted: Thu Mar 16, 2017 1:04 pm (GMT 5.5)

Thanks Arun.

Yes, I have put the multiple COUNT statements like below and it threw error

//TOOLIN DD *
COUNT FROM(INPUT) EQUAL(0) RC1
COUNT FROM(INPUT) EQUAL(1) RC4
COUNT FROM(INPUT) EQUAL(2) RC8
/*


Viewing all articles
Browse latest Browse all 8500

Trending Articles