DEFINE-ENVIRONMENT

Creates and updates environments; that is, combinations of settings that change the way in which Reality functions. For example, you might create an environment to emulate a different type of MultiValue system or for backwards compatibility with an earlier version of Reality. The environments you create can be applied at TCL when needed with the SET-ENVIRONMENT command, or associated with user profiles so that each user is given a suitable profile at log on (see SSM Option 2 - Define User Profiles).

Syntax

DEFINE-ENVIRONMENT {[environment-name || ?]}

Syntax elements

environment-name
The name of the environment to be created or updated.

? Lists the environments that are available. When you press RETURN to exit, the ENVIRONMENT CONFIGURATION screen is displayed.

If neither parameter is specified, you are prompted for an environment name.

Restrictions

SYSMAN account only.

Comments

This command works in the same way as selecting the SSM (System Security Maintenance) command and SSM Option 4 - Define Environment Settings.

Since Reality V15.2, the DataBasic SYSTEM(120) function returns the name of the current environment.