Before you can run JDBCODA, you must:
Table 9. Shell and batch file configuration variables
Variable | Explanation | Example |
---|---|---|
AGENTNAME | Name of the ODA |
set AGENTNAME=JDBCODA
|
AGENT | Name of the ODA's jar file |
set AGENT= %CROSSWORLDS%\ODA\JDBC\JDBCODA.jar
|
DRIVERPATH | Path of JDBC driver library; JDBCODA uses the driver classes to establish a connection to a specified database |
set DRIVERPATH=%CROSSWORLDS%\ /
lib\xwutil.jar;%CROSSWORLDS%\lib\ /
xwbase.jar;%CROSSWORLDS%\lib\ /
xwsqlserver.jar;%CROSSWORLDS%\lib\ / spy\lib\spy.jar
|
DRIVERLIB | Path of the native libraries used by the JDBC driver |
DRIVERLIB=%CROSSWORLDS%\bin\db2jdbc.dll
|
After installing the JDBC driver and setting configuration values in the shell or batch file, you must do the following to generate business objects: