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.

$ZHOROLOGSetting $ZERRORYou can set $ZERROR with the SET command to a value of up to 128 characters only in<strong>Caché</strong> mode.See Also• ZTRAP command• $ECODE special variable• $ZTRAP special variable• Error Handling chapter in Using <strong>Caché</strong> <strong>ObjectScript</strong>• System Error Messages in <strong>Caché</strong> Error <strong>Reference</strong>$ZHOROLOGContains the number of seconds elapsed since <strong>Caché</strong> startup.$ZHOROLOG$ZHDescription$ZHOROLOG contains the number of seconds that have elapsed since the most recent <strong>Caché</strong>startup. This is a count, which is independent of clock changes and day boundaries. The valueis expressed as a floating point number, indicating seconds and fractions of a second. Thenumber of decimal digits is platform-dependent. $ZHOROLOG truncates trailing zeros inthis fractional portion.This special variable cannot be modified using the SET command. Attempting to do so resultsin a error.Note:Because of a limitation in the Windows operating system, putting your Windowssystem into hibernate or standby mode may cause $ZHOROLOG to return unpredictablevalues. This problem does not affect $HOROLOG or $ZTIMESTAMPvalues.ExamplesThis example outputs the current $ZHOROLOG value.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 473

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

Saved successfully!

Ooh no, something went wrong!