We have an z/WebSphere app that connects to a Sybase DB. It's been running
successfully for years. I assume you have copied the driver jar file
(jconn2.jar) and put into your HFS somewhere on z/OS. Make sure the
jconn2.jar is in your classpath so your java app can find the Sybase classes
it needs.

Like I said, our implementation is from a z/WebSphere application. But it
should not matter. Your standalone java app should work too. 

Also, when you copy the jar file into the HFS make sure you do it in binary.
Then to check that it is usable run this jar command from OMVS to verify
it's contents:

jar -tvf jconn2.jar

You can also run this command to verify you can execute the Sybase driver:

java -cp jconn2.jar SybVersion

You should get an output that looks something like this:

jConnect (TM) for JDBC(TM)/5.5(Build 25578)/P/EBF12435/JDK13/Tue Feb 22 
6:07:39 2005  

Hope this helps.

Bryan Klimek
Mayo Clinic

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to