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 > [help]make some insert transaction can rollback??

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-12-11, 23:39
Bey Bey is offline
Registered User
 
Join Date: Sep 2011
Posts: 5
Question [help]make some insert transaction can rollback??

dear guys,

now i have a enhancement project to improve effeciency of job schedule in as/400.

overall, description of the job is to insert and delete a few of file/physical file.

but in old version, that job just using common function of as/400 like WRITR, DELT, UPDAT, etc.

in new version, i want to re-make that logic with SQL statement.

but in the progress, i found a problem, if i use SQL statement, when the job have execute a few of insert statement, and suddenly i ended the job, the record won't rollback.

i have been try some method, like : SET TRANSACTION, DECLARE PROCEDURE. But they don't solve my problem.

Fyi, i am using AS/400 SMART ver 2009-04. Can you help me to solve my problem?

thank you before

Last edited by Bey; 09-13-11 at 22:50.
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