Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see How to Migrate to InterSystems IRIS, available on the WRC Distributions page (login required).

Transaction Processing

When you're ready to store/delete data, precede the Set/Kill statements with a TStart command, and place a TCommit command afterwards. This marks the Set/Kill statements as a transaction. If the system happens to crash during a transaction, the system (when it returns to operation) will roll back (cancel) the incomplete transaction. Either the entire transaction completes, or none of it does.

As you'll learn in the next section, save and delete operations on Caché Objects or SQL Tables are automatically performed inside a transaction.