The address of a program variable was not set in SQLDA.
In SQLDA, write the address to the HOSTVARADDR position.