<str> is not declared in procedure <str> Explanation: You used the parameter as a runtime parameter for a filename or pathname in a DECLARE SCHEMA statement. Such parameters must be declared in every procedure in the module, and must be character data types. You did not declare this paramter in this procedure. User Action: Declare the parameter as a character variable in the procedure. The use of DECLARE SCHEMA is deprecated and should be changed to use DECLARE ALIAS and connect.