Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRISOpens in a new window, see the InterSystems IRIS Migration Guide and Migrating to InterSystems IRIS, both available on the WRC Distributions pageOpens in a new window (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.

FeedbackOpens in a new window