Setting Up the User Environment

In addition to setting the variables required for ODBC, you will need to do the following:

To set up your user environment to use Acu4GL, the most convenient method is to populate an ACUCOBOL-GT run-time system configuration file with the configuration variables to suit your requirements; you can make a personalized copy of the ACUCOBOL-GT run-time system configuration file and set the A_CONFIG variable to point to this. Populate this file with the variables as detailed in Configuration File Variables.

Alternatively, if you do not use a configuration file, you must set each required variable directly in the environment, either from the command line or programmatically.

Whichever method you use, you must at least set the valid user login details for your data source. These are A_ODBC_LOGIN and A_ODBC_PASSWD.

Tip: For security reasons, we recommend setting A_ODBC_PASSWD from your COBOL program, by prompting for a password and then executing:
 SET ENVIRONMENT "A_ODBC_PASSWD" TO user-entry