Caché Parameter File Reference
Namespace
[Home]  
InterSystems: The power behind what matters   
Class Reference   
Search:    

Define Caché namespaces.
Synopsis
[Namespaces]    Name=globals,routines,temporary
Description
Each entry provides three comma-separated values that define a namespace. Only the first field is required. If the other fields are not specified, they are set to the system default. From left to right:
Globals starting with a % are mapped to CACHESYS unless mapped to another database by a user defined mapping.
Temporary globals are by default mapped to CACHETEMP. These include globals starting with CacheTemp* and mtemp*.
In all namespaces, routine and classes that start with a % come from the CACHELIB database with the following exceptions:
Note that routines that reside in the CACHESYS database have special security privileges including the ability to modify the roles and other security attributes of the process executing them.
Caché adds entries to the CPF file automatically as you add and configure namespaces using the Management Portal (see the instructions below).
Examples
In the [Namespaces] section, each entry appears all on one line:
[Namespaces]
%SYS=CACHESYS
DOCBOOK=DOCBOOK  
SAMPLES=SAMPLES
USER=USER 

SALES=SALESGBL,SALESRTN   
; Globals and routines/classes split into separate databases.
BILLING=BILLING,,TEMPDATA 
; Globals and routines/classes in the same database, 
; temporary globals are mapped to the databases TEMPDATA
Range of Values
A valid namespace or database name.
Management Portal
On the page System Administration > Configuration > System Configuration > Namespaces, to add a new entry, select Create New Namespace. To edit an existing entry, select Edit in that entry's row.