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 > autocommit problem in db2 v8

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-23-04, 04:49
Anta Anta is offline
Registered User
 
Join Date: Nov 2004
Posts: 2
Question autocommit problem in db2 v8

Hi,

sorry for bothering, but maybe someone can help me please.

I faced the problem:
there are some programs which do not contain COMMIT or CONNECT RESET.
They worked fine with db2 v7.
After upgrading to db2 v8 the changes in db2 tables made by these programs are not commited automatically.
As I can see - autocommit option was set to ON.

Does some other solution exist that can allow not to change the existing programs?

db2 server is on aix.

Thanks in advance.
Anta
Reply With Quote
  #2 (permalink)  
Old 11-23-04, 05:47
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Need more informaiton about the program, type of SQL (dynamic, embedded, prepared, etc) and the DB2 interface used (CLI, SQLJ, java type 2, etc.).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 11-23-04, 06:02
Anta Anta is offline
Registered User
 
Join Date: Nov 2004
Posts: 2
Thank you, Markus. The progams contain embedded SQL (static, as a rule), some of them contains dynamic sql, too. They were written in C++, compiled and called from aix telnet sessions. Their first action is connection to db2.
Anta
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