Declaring Host Variables to SQL

A host variable is a variable referenced by SQL in your program. DB2® Server for VM recognizes two types of host variables: main variables and indicator variables.