Previous Topic Next topic Print topic


To set up the user environment

Restriction: This topic applies only when a Database Connectors license has been installed via the Micro Focus License Management System, and applies to Windows platforms only.
  1. Ensure that your execution path contains the name of the directory in which you placed the run time executable that includes for DB2.
  2. Set the A_DB2_LOGIN and A_DB2_PASSWD variables, either in your environment or in the .

    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 to avoid impacting other users. You could use the A_CONFIG environment variable to identify a personal .
  4. Define any other 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.

Previous Topic Next topic Print topic