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.

Structured System VariablesThe meaning of each of these SSVNs and use of their subscripts is explained in the followingsections.Each description identifies which functions are allowed with the particular structured systemvariable. Each description contains one or more examples about how to use structured systemvariable as arguments to the $DATA, $ORDER, and $QUERY functions to scan systemtable information.^$GLOBALProvides information about globals.^$|nspace|GLOBAL(global_name)^$|nspace|G(global_name)Parameters|nspace|or[nspace]global_nameOptional — An extended global reference, either an explicitnamespace name or an implied namespace. Must evaluate to aquoted string, which is enclosed in either square brackets([“nspace”]) or vertical bars (|“nspace”|). Namespace names arecase-insensitive; they are stored and displayed in uppercase letters.An expression that evaluates to a string containing an unsubscriptedglobal name.DescriptionYou can use ^$GLOBAL as an argument to the $DATA, $ORDER, and $QUERY functionsto get information about the existence of global variables in the current namespace (thedefault), or in a specified namespace.For more information on global variables, refer to Using <strong>Caché</strong> Multi-Dimensional Storage.ParametersnspaceThis optional parameter allows you to specify a global in another namespace by using extendedglobal reference. You can specify the namespace name either explicitly, or by specifying animplied namespace. The namespace name must be specified as a quoted string. Namespacenames are case-insensitive. You can use either bracket syntax [“USER”] or environmentsyntax |“USER”|. No spaces are allowed before or after the nspace delimiters. You can use502 <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!