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 > how i can commit curren 1 row only?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-19-04, 23:46
chuxu chuxu is offline
Registered User
 
Join Date: Apr 2004
Posts: 2
how i can commit curren 1 row only?

on db2(os390 7.1.1)
in my transcation i operate n table (update ,insert ),if i find a logic error
and i want to rollback all this operate,but i want to write a log recorder to my log table for error information and just commit this work . on db2(as400) i can use insert with nc,but i can use this on db2(os390).

how i can do ?
thanks!
Reply With Quote
  #2 (permalink)  
Old 04-20-04, 03:29
Walter Janissen Walter Janissen is offline
Registered User
 
Join Date: Nov 2003
Location: Germany
Posts: 62
You can first do your rollback, then insert your log record and then commit.
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