In this blog post, let’s learn about the error message “13086 
Error Message
 13086 
Reason for the Error
The data type of a variable declared in the SQL declare section to hold either SQLCODE or SQLSTATE or both was not correct. The variable type to hold SQLCODE must be long and to hold SQLSTATE must be char[6].
Solution
Declare a long or char[6] variable to hold either SQLCODE or SQLSTATE in the declare section, and preprocess the application
 
															