Locations of the executables, DLLs, and Java class files for a z/OS application must be specified to use CA Datacom Server in the USS environment. Set the standard UNIX environment variables to specify these locations:
Specifies the locations of executable files.
Specifies the locations of DLL files.
Specifies the locations of Java class files.
Optional environment variables specific to CA Datacom Server include the following:
Specifies the configuration path.
For example, to run a JDBC application that uses the JDBC driver, these variables could be set as follows:
set PATH=$JAVA_HOME/bin:$PATH
export PATH set LIBPATH=/datacomdir/mvs:$LIBPATH export LIBPATH set CLASSPATH=/datacomdir/lib/datacomjdbc.jar:$CLASSPATH export CLASSPATH
In this case, $JAVA_HOME identifies the directory where Java is installed, and /datacomdir represents the directory chosen when CA Datacom Server was installed. It is not necessary to include the /datacomdir/bin directory in the PATH to run a Java application. It is also not necessary to set the PATH, LIBPATH, and CLASSPATH environment variables when using the supplied shell scripts to run the JDBC Proxy. These environment variables are automatically set in the shell scripts installed in the /datacomdir/bin directory, equivalent to the following:
set PATH=$JAVA_HOME/bin:/datacomdir/bin:$PATH export PATH set LIBPATH=/datacomdir/lib/mvs:$LIBPATH export LIBPATH set CLASSPATH=/datacomdir/lib/datacomjsrv.jar:$CLASSPATH export CLASSPATH
Note: The shell scripts assume that JAVA_HOME has been set, typically in a user profile.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|