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.

Description<strong>Caché</strong> allows you to display the current namespace name for your process in the <strong>Caché</strong> Terminalprompt. (This setting also controls the display of the current namespace name in Telnetwindows.) You control whether the current namespace is displayed, by default, as part of theprompt for all processes on the system when you establish a configuration with the SystemManagement Portal, or a %ZSTART (or ZSTU) user-defined system configuration routine.You can also use $ZUTIL(69,26,n) to change whether the system displays the currentnamespace as a default for all processes at some point after system startup.Invoking $ZUTIL(69,26) without specifying n returns the current switch setting.You can set various values, including the current namespace, as the terminal prompt for thecurrent process using $ZUTIL(186).<strong>Caché</strong> maintains the name of the current namespace in the $ZNSPACE special variable. Thecurrent namespace can be an explicit namespace or an implied namespace.ParametersnA boolean switch that determines whether <strong>Caché</strong> by default displays the current namespaceat the terminal prompt for all processes on the system. 0 = Do not display the currentnamespace name. 1 = Display the current namespace name (the default).Issuing $ZUTIL(69,26,1) sets the switch. Issuing $ZUTIL(69,26,0) clears the switch.Notes$ZUTIL(69,26)This system-wide default is configurable. Go to the System Management Portal, select SystemConfiguration, select Advanced Settings, on the pull-down Category list select <strong>ObjectScript</strong>.View and edit the current setting of PromptShowsNamespace.Setting $ZUTIL(69,26) changes the system configuration setting shown in the SystemManagement Portal; this change persists across a <strong>Caché</strong> shutdown and restart.Any change you make with $ZUTIL(69,26) affects only processes that log in after you issue$ZUTIL(69,26). That is, if you issue $ZUTIL(69,26,0), only processes that subsequentlylog in do not display their current namespace. Processes that logged in before you issued$ZUTIL(69,26) still display their current namespace in the programmer-mode prompt.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 659

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

Saved successfully!

Ooh no, something went wrong!