Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous section


Map routines to namespaces.


[Map.w] Routine_Name Type=Database


Caché adds entries to the CPF file automatically as you define routine mappings using the Management Portal (see the instructions below). The entries appear in a section called [Map.w] where w is the namespace name.

Each entry provides one value that maps a routine to a namespace.

Type is normally not specified. Type only needs to be specified if you want to map part of a routine to another database. Valid values for Type are: MAC, INT, INC, or OBJ.


Map routine SALE to the SALES database:

Copy code to clipboard

Map all routines starting with ACC to the ACCOUNTS database:

Copy code to clipboard

Map the object code for routine TEST to the TEST database:

Copy code to clipboard
Range of Values

A valid routine, optional type, and database name.

Management Portal

On the page System Administration > Configuration > System Configuration > Namespaces, select Routine Mappings for the namespace you want to explore. To add a new entry, select New Routine Mapping. To edit an existing entry, select Edit in that entry's row.