Previous Topic: Operand DefinitionsNext Topic: EXECUTE Command


ENVIRONMENT Command (CA Datacom SQL Access)

This command displays the environment definition fill‑in for the current program definition.

This command has the following format:

ENVIRONMENT

The environment definition fill‑in sets the CA Datacom SQL access plan options for the program. If the site also has DB2, the fill‑in also specifies the primary database, that is, the database management system SQL statements that can access only one database management system in a program. For more information, see the SQL concepts section in the Programming Reference Guide.

Program environment data is defined and maintained using the fill‑in shown in the Creating Programs Guide. You can specify default values for the fill‑in using the SET DBSQL command.