InterSystems IRIS Data Platform 2019.2  /  InterSystems Programming Tools Index

InterSystems Programming Tools Index
Previous section           Next section
InterSystems: The power behind what matters   

Get information about InterSystems IRIS namespaces programmatically; query for list of namespaces.
Background Information
In InterSystems IRIS, any code runs within a namespace. A namespace provides access to data and to code, which is stored (typically) in multiple database files. For an introduction, see “Namespaces and Databases” in the Orientation Guide for Server-Side Programming.
Typically you create and configure namespaces via the Management Portal. See “Configuring Namespaces” in the chapter “Configuring InterSystems IRIS” in the System Administration Guide.
Available Tools
%SYS.Namespace class
Provides the following class methods:
This class also provides the following query:
Availability: All namespaces.
Includes the following class method:
Availability: All namespaces.
Config.Namespaces class
Enables you to modify and obtain information about the [Namespaces] section of the CPF file. (Note that you usually perform this configuration via the Management Portal, as noted above.)
The class also provides the List() class query. The class documentation includes examples and details.
Availability: %SYS namespace.
%Installer.Manifest class and other classes in the %Installer package
Enable you to define and use an installation manifest. Among other tasks, you can configure namespaces.
Availability: All namespaces.
%Library.EnsembleMgr class
Provides the EnableNamespace() method, which you can use to enable a namespace to work with InterSystems IRIS. This is useful if you create namespaces programmatically.
Do not use this method to repair a damaged namespace. In the event of a damaged namespace, contact the InterSystems Worldwide Response Center (WRC) for assistance.
Ignore all other methods in this class.
Availability: %SYS namespace.
The special variable $SYSTEM is bound to the %SYSTEM package. This means that instead of ##class(%SYSTEM.class).method(), you can use $SYSTEM.class.method().
See Also

Previous section           Next section
Send us comments on this page
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-08-22 06:48:58