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: daveporcelan
Posted: Tue Mar 14, 2017 7:53 pm (GMT 5.5)

Rather than using 4 and 8, use 1 and 2 for your maxcc.

Step three would be run when < 2

You can then code later steps with these codes in mind.

There are no rules that say non zero return codes must be multiples of four.

Perhaps IBM uses that convention to allow the user flexibility to use the numbers in between


Viewing all articles
Browse latest Browse all 8500

Trending Articles