Enable/disable switching current working directories when changing namespaces.
This setting specifies what happens to the current working directory (for accessing files by relative pathname, etc.) when you switch to a new namespace. The value n
may be 1 or 0:
When 1 (true), if you change namespaces, the current working directory remains unaltered no matter what namespace you switch to.
When 0 (false), if you change namespaces, the current working directory is changed to the directory of the default dataset for non-% globals of the new namespace. However, if this dataset is remote (networked to a different system), the current working directory is left unchanged.
is set to 1, or SwitchOSdir
is set to 0 and the dataset is remote. In these cases, the current working directory does not change automatically as a result of changing the namespace, but you can always change the current working directory programmatically.
Range of Values
0 or 1. The default is 0.
© 1997-2019 InterSystems Corporation, Cambridge, MA