how to rollback the data when system failure in progress 4GL

Posted by ravikanth on 08-Mar-2015 10:47

I want to update the records for a scenario.

If i want to update a 100 records ,while updating at 97 record the system crash occurred ,will it be do UNDO operation or And how i can rollback the records ,can any one send the code to me

All Replies

Posted by Thomas Mercer-Hursh on 08-Mar-2015 11:50

This is now the second post on this topic here.  Did you read my answer on ProgressTalk?

What it does will depend on what is defined as a transaction. Use COMPILE LIST to see where the transactions are. Use the transaction keyword to scope the transaction to the desired block. You can either make each update independent or make all of the updates a single transaction.

This thread is closed