CEE_status odbc_SQLSvc_TerminateDialogue_ts_res_( /* In */ CEE_tag_def objtag_ , /* In */ const CEE_handle_def *call_id_ , /* In */ const struct odbc_SQLSvc_TerminateDialogue_exc_ *exception_ ) { SRVRTRACE_ENTER(FILE_OIOM+2); CInterface* pnode = (CInterface*)objtag_; CEE_status sts = CEE_SUCCESS; CEERCV_IOMessage_exc_ RCVexception_; IDL_short error; short reply_count; CEERCV_IOMessage_reply_seq_ reply; char* buffer = NULL; UInt32 message_length = 0; sts = odbc_SQLSvc_TerminateDialogue_param_res_( pnode , buffer , message_length , exception_ ); if (sts == CEE_SUCCESS) sts = pnode->send_response(buffer, message_length, call_id_); SRVRTRACE_EXIT(FILE_OIOM+2); return sts; }
CEE_status odbc_SQLSrvr_SetConnectionOption_ts_res_( /* In */ CEE_tag_def objtag_ , /* In */ const CEE_handle_def *call_id_ , /* In */ const struct odbc_SQLSvc_SetConnectionOption_exc_ *exception_ , /* In */ ERROR_DESC_LIST_def *sqlWarning ) { SRVRTRACE_ENTER(FILE_OIOM+3); CInterface* pnode = (CInterface*)objtag_; CEE_status sts = CEE_SUCCESS; IDL_char* buffer = NULL; IDL_unsigned_long message_length = 0; sts = odbc_SQLSrvr_SetConnectionOption_param_res_( pnode , buffer , message_length , exception_ , sqlWarning ); if (sts == CEE_SUCCESS) sts = pnode->send_response(buffer, message_length, call_id_); SRVRTRACE_EXIT(FILE_OIOM+3); return sts; }
void odbc_SQLSrvr_UpdateLob_ts_res_( /* In */ CEE_tag_def objtag_ , /* In */ const CEE_handle_def * call_id_ , /* In */ const struct odbc_SQLSvc_UpdateLob_exc_ * exception_ ) { CInterface * pnode = (CInterface *) objtag_; CEE_status sts = CEE_SUCCESS; IDL_short error; CEERCV_IOMessage_reply_seq_ reply; char * buffer = NULL; UInt32 message_length = 0; sts = odbc_SQLsrvr_UpdateLob_param_res_( pnode , buffer , message_length , exception_ ); if (sts == CEE_SUCCESS) sts = pnode->send_response(buffer, message_length, call_id_); }
CEE_status odbc_SQLSrvr_EndTransaction_ts_res_( /* In */ CEE_tag_def objtag_ , /* In */ const CEE_handle_def *call_id_ , /* In */ const struct odbc_SQLSvc_EndTransaction_exc_ *exception_ , /* In */ ERROR_DESC_LIST_def *sqlWarning ) { SRVRTRACE_ENTER(FILE_OIOM+13); CInterface* pnode = (CInterface*)objtag_; CEE_status sts = CEE_SUCCESS; CEERCV_IOMessage_exc_ RCVexception_; IDL_short error; short reply_count; CEERCV_IOMessage_reply_seq_ reply; char* buffer = NULL; UInt32 message_length = 0; odbc_SQLSrvr_EndTransaction_param_res_( pnode , buffer , message_length , exception_ , sqlWarning ); if (sts == CEE_SUCCESS) sts = pnode->send_response(buffer, message_length, call_id_); SRVRTRACE_EXIT(FILE_OIOM+13); return sts; } // odbc_SQLSrvr_EndTransaction_ts_res_()
CEE_status odbc_SQLSrvr_Close_ts_res_( /* In */ CEE_tag_def objtag_ , /* In */ const CEE_handle_def *call_id_ , /* In */ IDL_long returnCode , /* In */ IDL_long rowsAffected , /* In */ IDL_long sqlWarningOrErrorLength , /* In */ BYTE *sqlWarningOrError ) { SRVRTRACE_ENTER(FILE_OIOM+12); CInterface* pnode = (CInterface*)objtag_; CEE_status sts = CEE_SUCCESS; IDL_char* buffer = NULL; IDL_unsigned_long message_length = 0; odbc_SQLSrvr_Close_param_res_( pnode , buffer , message_length , returnCode , sqlWarningOrErrorLength , sqlWarningOrError , rowsAffected ); if (sts == CEE_SUCCESS) sts = pnode->send_response(buffer, message_length, call_id_); SRVRTRACE_EXIT(FILE_OIOM+12); return sts; }
CEE_status odbc_SQLSrvr_Execute_ts_res_( /* In */ CEE_tag_def objtag_ , /* In */ const CEE_handle_def *call_id_ , /* In */ IDL_long returnCode , /* In */ IDL_long sqlWarningOrErrorLength , /* In */ BYTE *sqlWarningOrError , /* In */ IDL_long rowsReturned , /* In */ IDL_long sqlQueryType , /* In */ IDL_long estimatedCost , /* In */ IDL_long outValuesLength , /* In */ BYTE *outValues , /* In */ IDL_long outputDescLength // Used with execdirect , /* In */ BYTE *outputDesc // Used with execdirect , /* In */ Long stmtHandle // Used for SPJ result sets , /* In */ IDL_long stmtHandleKey ) { SRVRTRACE_ENTER(FILE_OIOM+23); CInterface *pnode = (CInterface*)objtag_; CEE_status sts = CEE_SUCCESS; CEERCV_IOMessage_exc_ RCVexception_; IDL_short error; short reply_count; CEERCV_IOMessage_reply_seq_ reply; char *buffer = NULL; UInt32 message_length = 0; odbc_SQLSrvr_Execute_param_res_( pnode , buffer , message_length , returnCode , sqlWarningOrErrorLength , sqlWarningOrError , rowsReturned , sqlQueryType , estimatedCost , outValuesLength , outValues , outputDescLength , outputDesc , stmtHandle , stmtHandleKey ); if (sts == CEE_SUCCESS) sts = pnode->send_response(buffer, message_length, call_id_); SRVRTRACE_EXIT(FILE_OIOM+11); return sts; } // end odbc_SQLSrvr_Execute_ts_res_
CEE_status odbc_SQLSrvr_Prepare_ts_res_( /* In */ CEE_tag_def objtag_ , /* In */ const CEE_handle_def *call_id_ , /* In */ IDL_long returnCode , /* In */ IDL_long sqlWarningOrErrorLength , /* In */ BYTE *sqlWarningOrError , /* In */ IDL_long sqlQueryType , /* In */ IDL_long stmtHandleKey , /* In */ IDL_long estimatedCost , /* In */ IDL_long inputDescLength , /* In */ BYTE *inputDesc , /* In */ IDL_long outputDescLength , /* In */ BYTE *outputDesc ) { SRVRTRACE_ENTER(FILE_OIOM+11); CInterface* pnode = (CInterface*)objtag_; CEE_status sts = CEE_SUCCESS; CEERCV_IOMessage_exc_ RCVexception_; IDL_short error; short reply_count; CEERCV_IOMessage_reply_seq_ reply; char* buffer = NULL; UInt32 message_length = 0; odbc_SQLSrvr_Prepare_param_res_( pnode , buffer , message_length , returnCode , sqlWarningOrErrorLength , sqlWarningOrError , sqlQueryType , stmtHandleKey , estimatedCost , inputDescLength , inputDesc , outputDescLength , outputDesc ); if (sts == CEE_SUCCESS) { sts = pnode->send_response(buffer, message_length, call_id_); } SRVRTRACE_EXIT(FILE_OIOM+11); return sts; } /* odbc_SQLSrvr_Prepare_ts_res_() */
CEE_status odbc_SQLSrvr_Fetch_ts_res_( /* In */ CEE_tag_def objtag_ , /* In */ const CEE_handle_def *call_id_ , /* In */ IDL_long returnCode , /* In */ IDL_long sqlWarningOrErrorLength , /* In */ BYTE *sqlWarningOrError , /* In */ IDL_long rowsReturned , /* In */ IDL_long outValuesFormat , /* In */ IDL_long outValuesLength , /* In */ BYTE *outValues ) { SRVRTRACE_ENTER(FILE_OIOM+23); CInterface *pnode = (CInterface*)objtag_; CEE_status sts = CEE_SUCCESS; CEERCV_IOMessage_exc_ RCVexception_; IDL_short error; short reply_count; CEERCV_IOMessage_reply_seq_ reply; char *buffer = NULL; UInt32 message_length = 0; odbc_SQLSrvr_Fetch_param_res_( pnode , buffer , message_length , returnCode , sqlWarningOrErrorLength , sqlWarningOrError , rowsReturned , outValuesFormat , outValuesLength , outValues ); if (sts == CEE_SUCCESS) { sts = pnode->send_response(buffer, message_length, call_id_); } SRVRTRACE_EXIT(FILE_OIOM+11); return sts; } // end odbc_SQLSrvr_Fetch_ts_res_
CEE_status odbc_SQLSrvr_GetSQLCatalogs_ts_res_( /* In */ CEE_tag_def objtag_ , /* In */ const CEE_handle_def *call_id_ , /* In */ const struct odbc_SQLSvc_GetSQLCatalogs_exc_ *exception_ , /* In */ const IDL_char *catStmtLabel , /* In */ SQLItemDescList_def *outputDesc , /* In */ ERROR_DESC_LIST_def *sqlWarning , /* In */ SRVR_STMT_HDL *pSrvrStmt ) { SRVRTRACE_ENTER(FILE_OIOM+14); CInterface* pnode = (CInterface*)objtag_; CEE_status sts = CEE_SUCCESS; CEERCV_IOMessage_exc_ RCVexception_; IDL_short error; short reply_count; CEERCV_IOMessage_reply_seq_ reply; char* buffer = NULL; UInt32 message_length = 0; odbc_SQLSrvr_GetSQLCatalogs_param_res_( pnode , buffer , message_length , exception_ , catStmtLabel , outputDesc , sqlWarning , pSrvrStmt ); if (sts == CEE_SUCCESS) sts = pnode->send_response(buffer, message_length, call_id_); SRVRTRACE_EXIT(FILE_OIOM+14); return sts; } // odbc_SQLSrvr_GetSQLCatalogs_ts_res_()
CEE_status odbc_SQLSrvr_ExtractLob_ts_res_( /* In */ CEE_tag_def objtag_ , /* In */ const CEE_handle_def *call_id_ , /* In */ const struct odbc_SQLsrvr_ExtractLob_exc_ *exception_ , /* In */ IDL_long_long lobDataLen , /* In */ BYTE *lobDataValue ) { CInterface* pnode = (CInterface *)objtag_; CEE_status sts = CEE_SUCCESS; IDL_short error; CEERCV_IOMessage_reply_seq_ reply; char * buffer = NULL; UInt32 message_length = 0; sts = odbc_SQLsrvr_ExtractLob_param_res_( pnode , buffer , message_length , exception_ , lobDataLen , lobDataValue ); if (sts == CEE_SUCCESS) sts = pnode->send_response(buffer, message_length, call_id_); if (lobDataValue != NULL) { delete [] lobDataValue; lobDataValue = NULL; } return sts; }