Host variable <str> was not declared Explanation: Every host variable that is used in an SQL statement in a program must been declared in the host language. User Action: Declare the specified variable using a supported declaration.