11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

TCOMMITNetwork TransactionsTo synchronize the completion of transactions over a network, use the ZSYNC command.Synchronous CommitA TCOMMIT command requests a flush of the journal data involved in that transaction todisk. Whether to wait for this disk write operation to complete is a configurable option.Go to the System Management Portal, select Configuration, then select Advanced Settings.On the pull-down Category list select Transactions. View and edit the current setting ofSynchronousCommit. When set to “true” , TCOMMIT does not complete until the journaldata write operation completes. When set to “false” , TCOMMIT does not wait for the writeoperation to complete. The default is “false” .SQL and Transactions<strong>Caché</strong> <strong>ObjectScript</strong> transaction processing, using TSTART and TCOMMIT, differs from,and is incompatible with, SQL transaction processing using the SQL statements STARTTRANSACTION and COMMIT. <strong>Caché</strong> <strong>ObjectScript</strong> transaction processing provides limitedsupport for nested transactions; SQL transaction processing supports savepoints withintransactions. An application should use one type of transaction processing throughout, andnot attempt to mix the two.See Also• TROLLBACK command• TSTART command• $TLEVEL special variable• Using <strong>ObjectScript</strong> for Transaction Processing in Using <strong>Caché</strong> <strong>ObjectScript</strong><strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 137

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!