11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

System and Other Functions• 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).ParametersnThe integer code that specifies what information to display as part of the process' programmermode prompt.01234567Reset the prompt.Host name, also known as the current system name. The name assigned to yourcomputer. For example, LABLAPTOP>. This is the same for all of your terminalprocesses. Refer to $ZUTIL(110) for further details.Namespace name. For example, %SYS>. To set your terminal prompt to just thecurrent namespace name, you can use $ZUTIL(68,26,1). The current namespacename is contained in the $ZNSPACE special variable, and can be changed usingthe ZNSPACE command. It can be an explicit namespace name or an impliednamespace name.Config name. The name of your <strong>Caché</strong> installation. For example, CACHE2>. This isthe same for all of your terminal processes.Current time, expressed as local time in 24-hour format with whole seconds. Forexample, 15:59:36>.This is the static time value for when the prompt was returned.This value changes for each prompt.pid. The process ID for your terminal. For example, 2336>. This is different for eachterminal process. This value can also be returned from the $JOB special variable.Username. For example, fred>. This is the same for all of your terminal processes.Elapse time executing the last command, in seconds.milliseconds. For example,.000495>. Leading and trailing zeros are suppressed.This changes for each prompt.You can specify any number of integer codes in any order. Duplicate integer codes are permitted.Integer codes are evaluated and displayed in the order specified. Multiple elementsin a prompt are separated by a colon (:).720 <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!