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.

System and Other FunctionsEvery time the block is updated, its version is incremented by 1. This version number is resetonly at startup and is not stored in a journal file. The zero-based block number tells where tolocate the directory block in a journal file. For example:OPEN jfile:("rf":8192)USE jfile:blocknumberREAD xSee Also• Using <strong>ObjectScript</strong> for Transaction Processing in Using <strong>Caché</strong> <strong>ObjectScript</strong>• Journaling in the <strong>Caché</strong> High Availability Guide$ZUTIL(78,29)Flushes journal buffer.$ZUTIL(78,29)$ZU(78,29)DescriptionAs part of rolling back a failed transaction, you need to flush to disk the journal buffer associatedwith that transaction. To do so, you use the $ZUTIL(78,29) function.You must have the %Admin_Manage:Use privilege to execute any of the $ZUTIL(78) functions.These functions can also be invoked by % routines located in the manager's directory.For further details, refer to the Privileges and Permissions chapter of the <strong>Caché</strong> SecurityAdministration Guide.$ZUTIL(78,29) returns a 1 if the buffer flush is successful, and a 0 if the buffer flush is notsuccessful.See Also• TROLLBACK command• Using <strong>ObjectScript</strong> for Transaction Processing in Using <strong>Caché</strong> <strong>ObjectScript</strong>• Journaling in the <strong>Caché</strong> High Availability Guide688 <strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!