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 FunctionsParametersflagA flag code that specifies which $ZUTIL(131) value to set or return:0 = the system name or system name alias for this instance of <strong>Caché</strong>.1 = a system identifier string, consisting of the system name followed by a colon (:), and the<strong>Caché</strong> instance name.aliasThe alias value to set, specified as a quoted string. The $ZUTIL(131,0,"alias") function(like all <strong>ObjectScript</strong> functions) sets the specified value and returns the previous value. Analias value is set for the duration of the current <strong>Caché</strong> session.ExamplesWRITE $ZUTIL(131,0)returns MYSYSWRITE $ZUTIL(131,1)returns MYSYS:CACHE2WRITE !,$ZUTIL(131,0,"FRED")WRITE !,$ZUTIL(131,0)WRITE !,$ZUTIL(131,1)WRITE !,$ZUTIL(131,0)returns:MYSYSFREDMYSYS:CACHE2FREDSee Also• $ZUTIL(68,42) Set $JOB format for the current process function• $ZUTIL(110) Return Current System Name function• $ZUTIL(67,15) Return IP Address legacy function706 <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!