In addition to setting the variables required for ODBC, you will need to do the following:
- Ensure that your execution path contains the name of the directory in which you placed the runtime executable that includes
Acu4GL for ODBC.
- Set the A_ODBC_LOGIN and A_ODBC_PASSWD variables, either in your environment or in the ACUCOBOL-GT runtime configuration file,
if they are required for your data source. Also, consider whether or not setting the USER_PATH variable would be useful in
your set up situation. For security reasons, it is best to set the password variable from your COBOL program by asking the
user to enter a password and then executing:
SET ENVIRONMENT "A_ODBC_PASSWD" TO user-entry
- You may want to make and use a personalized copy of the configuration file to avoid impacting other users. The ACUCOBOL-GT
documentation describes how to use the A_CONFIG environment variable or the ā-cā runtime option to identify a personal configuration
file.
- Define any other configuration file variables you require for your unique environment. Possible variables define error map
file location, locking method, commit count, commit timing, and BINARY/CHAR type conversion.
For detailed information on ACUCOBOL-GT configuration file variables, see Configuration File Variables.