Irgendwie klappt das bei mir noch nicht:
Code:
dcl-s clobFile sqltype(CLOB_FILE) CCSID(1200);
dcl-s text varucs2(300000);
clobFile_Name = %trim(file);
clobFile_NL = %len(%trim(clobFile_Name));
clobFile_FO = SQFRD; //Read Only
exec sql set :text = :clobFile;
return text;
Beim Kompilieren bekomme ich immer:
"Variable TEXT nicht definiert oder nicht verwendbar. Reason: No declaration for the variable exists, the declaration is not within the current scope, or the variable does not have an equivalent SQL data type."
Hat jemand eine Idee?
Bookmarks