Previous Topic: DBMS DLL RebuildNext Topic: Database Loader Rebuild


Altering the DBMS Version

To alter the DBMS version they will use with the block mode and server runtimes, you need to make the following hand-edits in the Windows Runtime environment:

Follow these steps:

  1. Update the appropriate make procedure mkdbs.bat:

    The mkdbs.bat file contains a list of DBMS-specific libraries linked into the appropriate DBMS library supplied with CA Gen. Update this set of libraries for the correct 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 batch file MKDBS.BAT, %GENxx%Gen\VSabc for Visual Studio 32-bit or %GENxx%Gen\VSabc\amd64 for Visual Studio 64-bit.

    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 mkdbs.bat:

    The mkdbs.bat procedure updates the database library and the DDL loader for the DBMS.

  4. Update the Build Tool Profile:

    After your Windows Runtime environment is adjusted for an alterative DBMS version, you need to reflect these changes in your Windows Build Tool profile before building any applications.

The following tokens must be modified 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.