If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > commit from stored procedure

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-06-03, 08:23
bobnorma bobnorma is offline
Registered User
 
Join Date: Oct 2003
Location: Florida
Posts: 15
commit from stored procedure

Hi All,

UDB v8 on AIX

I have a c++ application that calls an external stored procedure, the problem is that the stored procedure is causing the work I'm doing (before the stored procedure call) to commit, the stored procedures are db2dari procedures and defined as:

extern "C" SQL_API_RC SQL_API_FN MqEqStatus( void *reserved1, void *reserved2, struct sqlda *wml_sqlda, struct sqlca *wml_ca )

I checked the prep and bind but nothing look like it will help, i checked in the procedures themselves and there aren't any commit statements, so there must be an automatic commit when the procedure returns.

any ideas would be appreciated!!

thanks....bob
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On