Whenever a namespace (w) contains mappings, InterSystems IRIS® data platform creates a section in the configuration parameter (CPF) file called [Map.w] for that namespace. For example, mappings for the USER namespace appear under the section [Map.USER]. The [Map.w] section contains every global mapping, routine mapping, and package mapping for that namespace.
Routine mappings take the form Routine_RoutineName, where RoutineName is the specific routine that is being mapped. Each routine entry contains a database location (Database) that contains the named routine. The specified routine become available in the w 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.
For more information about mappings, see the Add Global, Routine, and Package Mapping to a Namespace section of the “Configuring InterSystems IRIS” section of System Administration Guide.
Map routine SALE to the SALES database:
Map all routines starting with ACC to the ACCOUNTS database:
Map the object code for routine TEST to the TEST database:
Changing This Parameter
On the Namespaces page of the Management Portal (System Administration > Configuration > System Configuration > Namespaces), select Routine Mappings for the namespace you want to explore. To add a new entry, click New. To edit an existing entry, select Edit in that entry's row.