Previous Topic: DBMS Stub EXE RebuildingNext Topic: Database Loader Rebuild


Altering the DBMS Version

To alter the DBMS version that they will use with the GUI Runtimes, the following hand-edits must take place in the Windows Runtime environment:

Follow these steps:

  1. Update the appropriate make procedure stub<dbms>n.mak:

    The stub<dbms>n.mak file contains a set of DBMS-specific libraries linked to the appropriate DBMS stub executable supplied with CA Gen. This set of libraries must be updated based on the DBMS version.

    Note: xx refers to the current release of CA Gen. For the current release number, see the Release Notes.

  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 stub<dbms>n.mak

    The stub<dbms>n.mak procedure updates the database stub executable and rebuilds the DDL loader for the DBMS.

  4. Update the Build Tool Profile:

    After adjusting the GUI Runtime environment for an alternate DBMS version, reflect the changes in the Windows Build Tool profile before building applications. Modify the following tokens appropriately:

Token Key

Value

LOC.DBLIB

DBMS library path

LOC.DBPATH

DBMS binary path

LOC.DBINCLUDE

DBMS include path

OPT.DBLIB

DBMS library filename

OPT.DBSQLLIB

DBMS SQL library filename

OPT.DBPCC

DBMS precompiler filename

OPT.DBPCCFLAGS

DBMS precompiler flags

Note: For more information, see the Build Tool User Guide.