To set up the user environment

  1. Ensure that your execution path contains the name of the directory in which you placed the run time executable that includes Acu4GL for DB2.
  2. Set the A_DB2_LOGIN and A_DB2_PASSWD variables, either in your environment or in the ACUCOBOL-GT runtime configuration file.

    Also, consider whether or not setting the USER_PATH variable would be useful in your setup 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_DB2_PASSWD" TO user-entry
  3. You may want to make and use a personalized copy of the ACUCOBOL-GT runtime configuration file to avoid impacting other users. You could use the A_CONFIG environment variable to identify a personal ACUCOBOL-GT runtime configuration file.
  4. Define any other ACUCOBOL-GT runtime 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.