Data present in the column still SQLCODE is 100
Posted: Mon Mar 07, 2016 7:50 pm
Hi,
I have written a DB2 query to fetch a column from table depending on certain where clause. Query is returning the value present in the column but its setting SQL return code to true. I have coded my program in such a way that it abends if SQL code other 0 comes.
Please help on how to resolve this problem.
Thanks in advance.
I have written a DB2 query to fetch a column from table depending on certain where clause. Query is returning the value present in the column but its setting SQL return code to true. I have coded my program in such a way that it abends if SQL code other 0 comes.
Please help on how to resolve this problem.
Thanks in advance.