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 Functionsa $ZDATE function call has more than three parameters, the valid date range is taken eitherfrom the $ZDATE mindate and maxdate parameters (if specified) or from the date rangeestablished for the current locale.The default setting of $ZUTIL(69,32) is 0 for all <strong>Caché</strong> products, and 1 for all ISM products.Setting the Behavior for Invalid DatesAn invalid date is either not a positive integer, or is not a value within the range of valid dates,as specified above.$ZUTIL(69,32,0) causes $ZDATE to issue the error message or if you submit an invalid date. The behavior can be overriddenby supplying an erropt to the $ZDATE call.$ZUTIL(69,32,1) causes $ZDATE to return the null string if you submit an invalid date.This behavior is set for any $ZDATE function call, regardless of the number of parameters.This configuration default cannot be changed using the System Management Portal.Setting $ZUTIL(69,32) overrides the System Configuration default; it does not change thedefault setting.Calling $ZUTIL(69,32)When you create a new process, its $ZDATE behavior is initialized from the current SystemConfiguration default and $ZUTIL(69,32). Calling $ZUTIL(68,32) overrides this behaviorfor the current process. Changing the setting of $ZUTIL(69,32) affects only processes subsequentlycreated, not existing processes.See Also• $ZDATE function• $ZUTIL(68,32) Set Date Range and Invalid Date Behavior function• More information on locales in Customized National Language Translations666 <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!