I am trying to register an XML Schema using ODBC interface. I am calling the Stored Procedure in the following way:
CALL SYSPROC.XSR_REGISTER ('USER', 'Address', 'C:\\Address.xsd',?, NULL)
I get the following error message:
42886(-469)[IBM][CLI Driver][DB2/NT] SQL0469N The parameter mode (IN, OUT, or INOUT) is not valid for a parameter in procedure "XSR_REGISTER" with specific name "XSR_REGISTER" (parameter number "0", name "RSCHEMA"). SQLSTATE=42886
I have also tried this with using the SQLBindParameters method which seems to work but at execution time I get the same message.
I am really out of clues what is going on here and my guess that it is now either a bug or an issue with how to call CLI methods.
I have of course in the SQLBindParameters method played around with the IN , OUT, INOUT modes, but this made no difference.
Any help here would be appreciated.
Regards,
Mohan