SET-ENVIRONMENT

Applies an Environment; that is, a combination of settings that change the way in which Reality functions. Environments can be defined using option 4 (Define Environment Settings) in SSM or the DEFINE-ENVIRONMENT TCL command.

Syntax

SET-ENVIRONMENT {[environmentName || ?]}

Syntax Elements

environmentName
The name of the Environment to be applied. The settings in the new environment completely replace the current settings.

? Lists the Environments that are available.

If neither parameter is specified, the name of the currently selected environment is displayed.

Note: Because individual environment options can be changed with the SET-OPTION and CLEAR-OPTION commands, the settings in the selected environment may not accurately reflect the currently selected options. To list the options that are currently set, use LIST CUSTOM.OPTIONS.

Restrictions

None.

Examples

:SET-ENVIRONMENT ?
The following environments are available :

    MVENTERPRISE.V14
    MVENTERPRISE.V14.1
    REALITY
    MVENTERPRISE
    MVBASE.V14.1
    AP
    MVBASE
    REALITY.V11
    D3.V14.1
    REALITY.V12
    REALITY.V14.1
    REALITY.EXT
    D3
    R83
    DEFAULT
    REALITY.V14
    D3.V14
    MVBASE.V14
    PICK

Displays the available environments.

:SET-ENVIRONMENT D3

:SET-ENVIRONMENT
Selected environment is D3

Selects the D3 environment and then displays the name of the currently selected environment.

:SET-ENVIRONMENT RUBBISH

[1149]Environment 'RUBBISH' is not defined.

An invalid environment was specified. The environment remains unchanged.

Go to top button