Previous Topic: Default BehaviorNext Topic: Related User Exits


Building on Windows

After modifying the user exit, use the make procedure stubdb2n.mak (Db2), stuboran.mak (Oracle), or stubodbn.mak (ODBC) in %GENxx%Gen\VSabc for Visual Studio to precompile, compile, and link the stub executable so that all applications have access to the new logic.

Note: xx refers to the current release of CA Gen and abc refers to the supported version of Visual Studio. For the current release number and the the supported version of Visual Studio, see the Release Notes.

Follow these steps:

  1. Launch a Command Prompt window.
  2. Change your current directory to that directory which contains the makefile (%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. Set Microsoft Visual Studio compiler environment variables.
  4. Run nmake –nologo –s –f stubdbmsn.mak all

    where dbms is either ‘db2’, ‘ora’ or ‘odb’

Additional qualifiers may be available for each DBMS. See the comments section of each .mak file.