IBM DB2 Error Code -785 – use of sqlcode or sqlstate is not valid

In this post, you’ll learn about the IBM DB2 Error -785 and the reason why you are receiving it

IBM DB2 Error Code :

-785

Reason for this Error in DB2

USE OF SQLCODE OR SQLSTATE IS NOT VALID