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.

$ZUTIL(68,26)BatchStatusSET oldflag=$ZUTIL(68,25) ; record inital statusIF oldflag=0 {WRITE !,"Already in Interactive mode"; call interactive routine}ELSE {SET flag=$ZUTIL(68,25,0)WRITE !,"Set to Interactive mode"; call interactive routine}SET newflag=$ZUTIL(68,25,oldflag); restore initial status and return current statusIF oldflag'=newflag {WRITE !,"batch status changed" }ELSE {WRITE !,"batch status unchanged" }QUITThere is not a corresponding $ZUTIL(69) (system-wide) function for $ZUTIL(68,25).See Also• JOB command$ZUTIL(68,26)Sets namespace display in programmer prompt for the current process.$ZUTIL(68,26,n)$ZU(68,26,n)ParametersnThe boolean value that specifies whether <strong>Caché</strong> includes the current namespacename in the terminal prompt for the current process.DescriptionThe $ZUTIL(68,26) function specifies whether the process' current namespace name appearsin the programmer-mode prompt for <strong>Caché</strong> Terminal. The current namespace name is containedin the $ZNSPACE special variable. The current namespace name can be an explicit namespaceor an implied namespace.Issuing $ZUTIL(68,26,1) sets the switch for the current process, so that the namespace nameis displayed. Issuing $ZUTIL(68,26,0) clears the switch for the current process, so that thenamespace name is not displayed. To set this switch for the current process from the programmerprompt, use the XECUTE command, as follows:<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 613

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

Saved successfully!

Ooh no, something went wrong!