Using Caché Multi-Dimensional Storage - InterSystems ...
Using Caché Multi-Dimensional Storage - InterSystems ...
Using Caché Multi-Dimensional Storage - InterSystems ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Global Structure<br />
• The specified directory on your local system, if you do not specify a system name in the<br />
reference. If you omit the system name from an implied namespace reference, you must<br />
supply a double caret (^^) within the directory reference to indicate the omitted system<br />
name.<br />
To specify an implied namespace on a remote system:<br />
["dir","sys"]<br />
To specify an implied namespace on the local system:<br />
["^^dir"]<br />
For example, to access the global ORDER in the BUSINESS directory on a machine called<br />
SALES:<br />
SET x = ^["BUSINESS","SALES"]ORDER<br />
To access the global ORDER in the BUSINESS directory on your local machine:<br />
SET x = ^["^^BUSINESS"]ORDER<br />
To access the global ORDER in the defined namespace MARKETING:<br />
SET x = ^["MARKETING"]ORDER<br />
2.3.2.2 Environment Syntax<br />
The environment syntax is defined as:<br />
^|"env"|global<br />
"env" can have one of four formats:<br />
• The null string ("") — The current namespace on the local system.<br />
• "namespace" — A defined namespace that global is not currently mapped to. Namespace<br />
names are case-insensitive.<br />
• "^^dir" — An implied namespace whose default directory is the specified directory on<br />
your local system.<br />
• "^system^dir" — An implied namespace whose default directory is the specified<br />
directory on the specified remote system.<br />
To access the global ORDER in your current namespace on your current system, when no<br />
mapping has been defined for ORDER, use the following syntax:<br />
12 <strong>Using</strong> <strong>Caché</strong> <strong>Multi</strong>-<strong>Dimensional</strong> <strong>Storage</strong>