Declaring host variables and indicator variables in 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: