Declaring host variables and indicator variables in C and C++
You can use host variables, host-variable arrays, and host structures in SQL statements in your program to pass data between Db2 and your application.
Procedure
To declare host variables, host-variable arrays, and host structures: