11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

$ZUTIL(68,21)$ZUTIL(68,21)Sets synchronous commit mode for the current process.$ZUTIL(68,21,n)$ZU(68,21,n)ParametersnA boolean value that specifies whether or not synchronous transaction commit modeis enabled for the current process.DescriptionYou can use $ZUTIL(68,21) to set the synchronous transaction commit mode for the currentprocess. This enables or disables synchronizing TCOMMIT with the corresponding journalwrite operation. Every TCOMMIT command requests a flush of the journal data involved inthat transaction to disk. When $ZUTIL(68,21) is enabled (set to 1) a TCOMMIT does notcomplete until the journal data write operation completes. When set to 0, TCOMMIT doesnot wait for the write operation to complete.Invoking $ZUTIL(68,21) without specifying n returns the current switch setting.$ZUTIL(68,21) can be used when synchronous transaction commit mode is turned off systemwide(usually to improve performance), but the current process requires synchronouscommit—for example, when interfacing with another system.You can use $ZUTIL(69,21) to set the synchronous transaction commit mode system-wide.Setting $ZUTIL(69,21) changes the system configuration setting and is persistent across<strong>Caché</strong> shutdowns and startups.This system configuration setting can also be changed using the System Management Portal.Select Configuration, then select Advanced Settings. On the pull-down Category list selectTransactions. View and edit the current setting of SynchronousCommit. The default is “false”.ParametersnThe boolean switch that determines the default mode for synchronous transaction commit: 0= TCOMMIT completion does not wait for journal file write completion. 1 = TCOMMITcompletion waits for the journal file write operation to complete. The default is 0.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 609

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

Saved successfully!

Ooh no, something went wrong!