This procedure is also recommended when installing the support routines on Caché 5.1 or later. For more information about this case see the linked FAQ.
-
Create a local database that will hold the Serenji support routines. In this example we call it SERENJI.
-
Create a namespace that uses this database as the default location for its routines. In this example we also call the namespace SERENJI.
-
Define a routine mapping for the SERENJI namespace, directing it to fetch %Serenj* from the SERENJI database.
-
Load the OBJ-only Serenji support routines into the SERENJI namespace from either CACHE5.OBJ (Caché 5.0 or later) or CACHE.OBJ (prior to Caché 5.0).
-
Selectively restore from CACHE.RSA into the SERENJI namespace, choosing %Serenj* routines. Alternatively, load all routines but ignore errors reported on non-%Serenj* routines.
-
Repeat the previous step, restoring the non-%Serenj* routines into the %SYS namespace.
-
For each namespace that you want to use Serenji in, define a routine mapping that directs the namespace to fetch %Serenj* from the SERENJI database.
-
If desired, delete the SERENJI namespace, which only needed to exist in order to load the support routines into the associated SERENJI database. Do not remove the database.