Routine
Synopsis
[Map.w] Routine_RoutineName_Type=Database
Description
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 Add Global, Routine, and Package Mapping to a Namespace.
Examples
Map routine SALE to the SALES database:
Routine_SALE=SALES
Map all routines starting with ACC to the ACCOUNTS database:
Routine_ACC*=ACCOUNTS
Map the object code for routine TEST to the TEST database:
Routine_TEST_OBJ=TEST
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.