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 Database Connectors for DB2.
  2. Set the A_DB2_LOGIN and A_DB2_PASSWD variables, either in your environment or in the ACUFH 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 ACUFH configuration file to avoid impacting other users. You could use the A_CONFIG environment variable to identify a personal ACUFH configuration file.
  4. Define any other ACUFH 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.