Skip to main content
Previous section   

Routine

Map routines to namespaces.

Synopsis

[Map.w] Routine_Name Type=Database

Description

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.

Examples

Map routine SALE to the SALES database:

Routine_SALE=SALES
Copy code to clipboard

Map all routines starting with ACC to the ACCOUNTS database:

Routine_ACC*=ACCOUNTS
Copy code to clipboard

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

Routine_TEST_OBJ=TEST
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.

Previous section Package