On this page

SHOW ALL ENVIRONMENTS

Core command SHALENV SHOW ALL ENVTS

Lists every Environment of the CDF, active or inactive, with its Production flag and whether it is active.

Syntax

SHOW ALL ENVIRONMENTS

Examples

SHOW ALL ENVIRONMENTS;

Example session

WORLD-QA> SHOW ALL ENVIRONMENTS;
|---------------|---------------------------------------------|----------|
|ID             |DESCRIPTION                                  |PRODUCTION|
|---------------|---------------------------------------------|----------|
|IN             |Integration                                  |false     |
|LOCAL          |Local                                        |false     |
|PROD           |Production                                   |true      |
|QA             |Quality assurance                            |false     |
|---------------|---------------------------------------------|----------|

4 environment(s) found
Illustrative output: the values come from the WORLD sample and the practice connections of the how-to on QA and production copies of WORLD, and the layout from this release; it was not captured from a BroadSQL run, and your timings will differ.

Details

One row per Environment, active and inactive alike (ID, Description, Production, Active), sorted by ID, followed by the number found, in the same table layout as SHOW ALL CONNECTIONS. GitHub #339 (Finding 7): ACTIVE is the Environment's status in the CDF, true or false as in SHOW ALL GROUPS; an inactive Environment (DEL ENVIRONMENT) stays listed until PURGE ENVIRONMENT removes it.

The list does not depend on the current connection: it is always every Environment of the CDF. Do not confuse it with SHOW ENVIRONMENTS, which lists the Environments of the current connection's Database Group with the connection each one maps to.

Used in these how-tos

Last modified in release 5.6.0.

Found something wrong or unclear on this page? , with the page address.