> For the complete documentation index, see [llms.txt](https://olddocs.exivity.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://olddocs.exivity.io/3.4.3/data-pipelines/transform/language/environment.md).

# environment

The `environment` statement specifies the name of environment to use for resolving [global variables](/3.4.3/data-pipelines/transform.md#global-variables).

## Syntax

**`environment`**` `*`name`*

## Details

The `environment` statement selects the predefined environment to use for [global variable](/3.4.3/data-pipelines/transform.md#global-variables) lookup. It is and error to specify the environment which is not defined in global database.

If no environment specified, default environment (the one specified as *default* in global database) is assumed.

{% hint style="info" %}
Environment can be changed many times without limitations, and change affects only global variables that are referenced first time within the script, e.g. all global variables, resolved (copied to local variables) retain their values.
{% endhint %}
