Author: sumannath
Subject: Reply to: DB2 Program abending without giving any SQL error code
Posted: Thu Jun 01, 2017 5:05 pm (GMT 5.5)
As Rohit rightly states, every SQL query should return some sort of SQLCODE. Check your program to see if you are displaying this SQLCODE. Also how are you sure that its the OPEN CURSOR that is abending. It may be some other issue with data.
_________________
Suman
Subject: Reply to: DB2 Program abending without giving any SQL error code
Posted: Thu Jun 01, 2017 5:05 pm (GMT 5.5)
As Rohit rightly states, every SQL query should return some sort of SQLCODE. Check your program to see if you are displaying this SQLCODE. Also how are you sure that its the OPEN CURSOR that is abending. It may be some other issue with data.
_________________
Suman