RCALIAS - External Name Definition for Statically Linked Modules

#### Search Results

Search

# RCALIAS - External Name Definition for Statically Linked Modules

This Natural profile parameter can be used to define the external names of modules defined by profile parameter `RCA` as being statically linked to the Natural nucleus and requested for dynamic loading during the initialization of a Natural session. `RCALIAS` corresponds to the `NTALIAS` macro in the Natural parameter module.

Possible settings | See RCALIAS Parameter Syntax.
Default setting | `OFF` | See RCALIAS Parameter Syntax.
Dynamic specification | yes | This parameter can only be specified dynamically. In the Natural parameter module, the macro `NTALIAS` is used instead.
Specification within session | no |

The following topics are covered below:

- RCALIAS Parameter Syntax

- NTALIAS Macro Syntax

- Example of RCALIAS Parameter

- Examples of NTALIAS Macros

## RCALIAS Parameter Syntax

The parameter syntax of `RCALIAS` is as follows:

RCALIAS=(internal-module-name,external-module-name,internal-module-name,external-module-name)

Or:

RCALIAS=OFF

Where:

Syntax Element | Value | Explanation
--- | --- | ---
`internal-module-name` | 1 - 12 characters. | The internal name of the module (used by the `CALL` statement) that must also be defined by the profile parameter `RCA` or `CSTATIC` (only if `RCA=ON`).
`external-module-name` | 1 - 12 characters. | The corresponding external alias name for the load request during session initialization.
- | `OFF` | No external names for modules defined by profile parameter `RCA` as being statically linked to the Natural nucleus are defined.

Note
With the profile parameter `RCALIAS` you can specify multiple name pairs; see Example of RCALIAS Parameter.

## NTALIAS Macro Syntax

The `NTALIAS` macro is specified as follows:

             NTALIAS internal-module-name,external-module-name

Where:

Syntax Element | Value | Explanation
--- | --- | ---
`internal-module-name` | 1 - 12 characters. | The internal name of the module (used by the `CALL` statement) that must also be defined by the profile parameter `RCA` or `CSTATIC` (only if `RCA=ON`).
`external-module-name` | 1 - 12 characters. | The corresponding external alias name for the load request during session initialization.

Notes:

1. A separate `NTALIAS` macro must be specified for each name pair; see Examples of NTALIAS Macros.
2. The value `OFF` cannot be specified with the `NTALIAS` macro; it can only be specified dynamically with the profile parameter `RCALIAS`.

## Example of RCALIAS Parameter

    RCA=(MODULE1,MODULE2),RCALIAS=(MODULE1,ALIAS1,MODULE2,ALIAS2)

## Examples of NTALIAS Macros

             NTALIAS MODULE1,ALIAS1
             NTALIAS MODULE2,ALIAS2

### On this page

- RCALIAS Parameter Syntax
- NTALIAS Macro Syntax
- Example of RCALIAS Parameter
- Examples of NTALIAS Macros