You must use the sample ACUCOBOL-GT runtime configuration file, described in Sample ACUCOBOL-GT runtime configuration file, and error map file as your template. These files contain important settings for DB2:
In addition to setting the variables required for DB2, you need to perform certain steps, as detailed in To Set Up The User Environment.