The file mkdbs.bat is used to rebuild the appropriate DLL when the DBMS version is different than what is specified in the CA Gen Technical Requirements.
Follow these steps:
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.
mkdbs.bat <dbms>
<dbms> is one of:
Note: The PATH, LIB, and INCLUDE environment variables need to contain proper entries for the DBMS chosen.
Before executing mkdbs.bat, you must set the appropriate environment variables for the specific DBMS you are working with. The following table lists the set of environment variables required for each DBMS:
|
DBMS |
Environment Variables |
Description |
|---|---|---|
|
DB2 |
DB2PATH AEDB AEUSER (optional) AEPASSWORD (optional) |
Base Directory for DB2 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 |
Note: If you choose to use an alternate version of Oracle, there is built-in logic within the mkdbs.bat file to handle Oracle 11g, the default version, and Oracle 10g. When working with Oracle 10g, you must pass the parameter ORACLE10 when executing mkdbs.bat.
Example:
%GENxx%Gen\mkdbs ORACLE10
|
Copyright © 2013 CA.
All rights reserved.
|
|