Host variable, <str>, not within scope of BEGIN DECLARE and END DECLARE section Explanation: Your program referred to a variable that was declared outside of the BEGIN DECLARE and END DECLARE statements. User Action: Either move the desired host variable declaration to be within this section or remove the BEGIN DECLARE and END DECLARE statement. You can also ignore this warning message. BEGIN DECLARE and END DECLARE are only for standard complicance.