Parameter <str> in procedure <str> must be a character parameter 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. The parameter in this procedure is not a character data type 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.