DB2 Error Code – -822 the sqlda contains an invalid data address or indicator variable address

In this post, you’ll learn about the error message -822 the sqlda contains an invalid data address or indicator variable address in the IBM DB2 database , the reason why it occurs along with the solution to fix it

IBM DB2 Error Message

-822 the sqlda contains an invalid data address or indicator variable address

Reason for the Error

The application program has placed an invalid address in the SQLDA.

Solution

Correct the application program such that valid addresses are placed in SQLDA.