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 FunctionsUSER>XECUTE "SET x=$ZUTIL(68,26,0)">If you call $ZUTIL(68,26) without specifying n, $ZUTIL(68,26) returns the current switchsetting.The initial value of this switch depends on the both the system platform and the system-widedefault setting. The system default setting is 1 for Windows systems, and 0 for all otherplatforms.To control whether the current namespace name appears by default as part of the prompt forall processes on the system, use any one of the following:• Go to the System Management Portal, select System Configuration, select AdvancedSettings, on the pull-down Category list select <strong>ObjectScript</strong>. View and edit the currentsetting of PromptShowsNamespace.• $ZUTIL(69,26) — Enable/Disable System Namespace Display Default function.• The %ZSTART user-defined system startup routine (ZSTU startup routines are alsosupported).You can also set various values, including the current namespace, as the terminal prompt forthe current process using $ZUTIL(186).ParametersnThe boolean value that specifies whether <strong>Caché</strong> displays the current namespace as part ofthe process' programmer mode prompt.01Specifies that the current namespace does not appear.Specifies that the current namespace does appear.ExampleThe following example tests the namespace name status, and sets it to display the currentnamespace at the programmer prompt, if necessary.614 <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!