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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Configuring Namespaces<br />

(1)<br />

("A")<br />

(1):(5)<br />

("A"):("Z")<br />

(BEGIN):("X")<br />

("Y"):(END)<br />

Note:<br />

When specifying a range (for example, ("A"):("Z"), the range is “from-to” (not<br />

“from-through”) the specified subscripts; that is, the lower end of a defined subscript<br />

range is inclusive, while the upper end of the defined subscript range is exclusive. For<br />

example, Name (1):(10) includes Name (1) but does not include Name (10); the<br />

exclusive upper range allows you to have a defined upper boundary when working with<br />

subscripted ranges, such as Name ("a"):("b"), where Name ("aa") and Name<br />

("aaaaa") are equally valid ranges to precede Name ("b").<br />

You can use the reserved words BEGIN and END to refer to the first and last possible<br />

subscripts; however, you cannot use the asterisk (*) wildcard with subscripted globals<br />

because global subscripts must be mapped individually.<br />

6. Click Advanced to display the following:<br />

a. Select the Collation.<br />

b. Select the Lock Database Location.<br />

7. 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 />

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

2.2.3.2 Routine Mappings<br />

You can add mappings to your namespace at the routine level that overrides the default database<br />

mapping for routines of the namespace:<br />

1. Navigate to the [Home] > [Configuration] > [Namespaces] page, and click Routine Mappings in the<br />

row of the namespace where you want to map the global.<br />

2. From the [Home] > [Configuration] > [Namespaces] > [Routine Mappings] page, click New Routine<br />

Mapping.<br />

3. Select the Routine database location database where the routine is located.<br />

4. Enter the Routine name. The routine does not have to exist when you map it (that is, it can be the<br />

name of a routine you plan to create).<br />

5. Select the Routine type.<br />

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

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

Saved successfully!

Ooh no, something went wrong!