25.01.2015 Views

Caché System Administration Guide - InterSystems Documentation

Caché System Administration Guide - InterSystems Documentation

Caché System Administration Guide - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Configuring Namespaces<br />

a. Click New Package.<br />

b. In the New package name text box, enter a name.<br />

5. Click OK.<br />

Note:<br />

>> displayed in the first column of the new mappings row indicates that you opened the<br />

mapping for editing.<br />

6. To save the mappings in the cpf file, click Save Changes.<br />

See the Package Mapping section in the “Packages” chapter of Using <strong>Caché</strong> Objects for a description<br />

of packages and the procedure for mapping them.<br />

For example, to make the class definitions in the Cinema package of the SAMPLES database available<br />

in the TESTSAMPLES namespace, navigate to the [Home] > [Configuration] > [Namespaces] > [Package<br />

Mappings] page and click New Package Mapping. Enter the information as shown in the following<br />

Package Mapping dialog box:<br />

2.2.3.4 Mapping Data to All Namespaces<br />

In addition to mapping globals, routines, and packages to specific namespaces, you can map them to<br />

all namespaces (except DOCBOOK and SAMPLES). To enable this form of mapping, you must first<br />

create a namespace named %ALL (see the Create a Namespace section of this guide). Then, use the<br />

procedures described in the Add Global, Routine, and Package Mapping to a Namespace section of<br />

this guide, choosing Global Mappings, Routine Mappings or Package Mappings in the %ALL namespace<br />

row.<br />

<strong>Caché</strong> <strong>System</strong> <strong>Administration</strong> <strong>Guide</strong> 19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!