Environment Variables

The following variables can be used to control the way AcuSQL accesses your data source. They can be set at the system/environment level or they can be specified in a runtime configuration file.

Variable Description
ACUSQL_DATASET Assign to the name of the intended ODBC data source
ACUSQL_INCLUDE Specify multiple search directories for SQL INCLUDE files
ACUSQL_PASSWORD Specify the value of the password associated with the value of ACUSQL_USER
ACUSQL_RUNTIME_DLL Specify the COBOL connector for the intended data source
ACUSQL_USER Specify the username of an authorized database user
ASQL_ENCRYPT_CONNECTION When set to TRUE, ON, or any non-zero value, the interface adds Encrypt=Yes to the connection string. Otherwise the interface adds nothing extra.
ASQL_EXTRA_CONNECTION_INFO Enables you to add connection information not otherwise represented by Acu4GL connection options. Set to a literal string. This string is literally added to the connection string, prepended by a semicolon (;) to separate it from other connection attributes.
ASQL_TRUST_SERVER_CERTIFICATE When set to TRUE, ON, or any non-zero value, the interface adds TrustServerCertificate=Yes to the connection string. Otherwise the interface adds nothing extra.