How to call a DB2 stored procedure using ADO from C++ ?
Tried using the following:
CString QueryStr;
QueryStr.Format("{ CALL HTEUSER.UTIVRACISP(?,?,?,?,?,?,?,?,?,?,?) } ");
try{
pCommand->CommandText = (LPCSTR)QueryStr;
pCommand->CommandType = adCmdText;
pCommand->ActiveConnection = pConnection.GetInterfacePtr();
Get the following error:
[[IBM][iSeries Access ODBC Driver][DB2 UDB]SQL0204 - UTIVRACISP in HTEUSER type *N not found.]