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
/*
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
/*