Previous Topic: DBMS Stub EXEsNext Topic: Altering the DBMS Version


DBMS Stub EXE Rebuilding

Each of the stub<dbms>n.mak files are located in the %GENxx%Gen\VSabc directory (for Visual Studio). Some DBMS choices, require that the particular stub<dbms>n.mak file execute before building the application with the Build Tool.

Note: VSabc refers to the supported version of Visual Studio. Replace VSabc with VS100 for Visual Studio 2010 and VS110 for Visual Studio 2012. xx refers to the current release of CA Gen. For the current release number, see the Release Notes.

Follow these steps:

  1. Launch an MS-DOS Command window.
  2. Change the current directory to the directory that contains the appropriate makefile STUB<dbms>N.MAK, %GENxx%Gen\VSabc for Visual Studio.

    Note: VSabc refers to the supported version of Visual Studio. Replace VSabc with VS100 for Visual Studio 2010 and VS110 for Visual Studio 2012. xx refers to the current release of CA Gen. For the current release number, see the Release Notes.

  3. Run the command:
    nmake -nologo -s -f stub<dbms>n.mak all
    

Note: The PATH, LIB, and INCLUDE environment variables must contain entries for the appropriate DBMS chosen.

Before executing any of the stub<dbms>n.mak files, you must set the appropriate environment variables for the specific DBMS that you are working with, similar to mkdbs.bat. The following table lists the set of environment variables required for each DBMS choice:

DBMS

Environment Variables

Description

DB2

AEDB

AEUSER (optional)

AEPASSWORD (optional)

Database to Connect to

Userid of Database to Connect to

Password of Database to Connect to

ODBC

N/A

 

Oracle

ORACLE_HOME

Base Directory for Oracle