Since UNIX systems communicate with the CA Datacom Server mainframe server through a proxy server or a Type 4 driver connection, the only file that is needed for either a Driver or a datasource connection is cadcjdbc.jar. These files can be copied from either the Windows environment or the USS environment. To verify that the jar file is installed correctly, one or more of the Java samples can be copied as well. If cadcjdbc.jar is copied from a Windows system and it was installed, the default install location cadcjdbc.jar is located in “C:\Program Files\CA\CA DatacomServer\Java\Classes”. If the cadcjdbc.jar file is copied from USS, it is located in “/datacomdir/lib” where /datacomdir is the subdirectory that was specified when the product was installed.
Follow these steps:
Applications are commonly installed in “/opt” or “/usr/local” subdirectories. For example:
/opt/CA/cadcdir
Copy the cadcjdbc.jar file from either the Windows or USS directory noted above, into the directory in item 1.
For example, to run a JDBC application that uses the JDBC driver, this variable could be set as follows:
set CLASSPATH=/$CA_DATACOM/lib/cadcjdbc.jar:$CLASSPATH export CLASSPATH
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|