I am trying to create a WRAPPER in a stored procedure. This is my code, This is throwing some error.
Kindly correct me If I am wrong.
CREATE PROCEDURE CREATE_ROUGH()
DECLARE EOF INT DEFAULT 0;
DECLARE STMT VARCHAR(200);
DECLARE CONTINUE HANDLER FOR NOT FOUND
SET EOF = 1;
EXECUTE IMMEDIATE 'DROP WRAPPER Wrapper1';
SET STMT =
-------- CREATE WRAPPER Wrapper1 LIBRARY 'db2drda.dll' 'OPTIONS (ADD DB2_FENCED "N");-----------
An unexpected token ""db2drda.dll"" was found following "PER Wrapper1 LIBRARY". Expected tokens may include: "CHAR_STRING_LITERAL".. SQLCODE=-104, SQLSTATE=42601, DRIVER=3.67.28
Run of routine failed.
- Roll back completed successfully.