ok,
I found that I am working again IF I put the origional, old jar
(jtds-1.2.5.jar) back into the /QIBM/UserData/Java400/ext/ folder??????????



On Tue, Sep 29, 2015 at 10:33 AM, Gerald Magnuson <
gmagqcy.midrange@xxxxxxxxx> wrote:

thanks Scott...

I get a java console screen...

Exception in thread "main" java.lang.UnsupportedClassVersionError:
JVMCFRE003
bad major version; class=net/sourceforge/jtds/jdbc/Driver offset=6
....... other stuff.......


I am in debug, and this occurs when I return from new_Driver procedure...



On Tue, Sep 29, 2015 at 10:24 AM, Scott Klement <
midrange-l@xxxxxxxxxxxxxxxx> wrote:


Hi Gerald,

What you've posted looks like the normal/correct behavior (Java does not
use EBCDIC, so the class name is in ASCII). What sort of problems are you
having?

Please provide the specific error message. (If you just say "it doesn't
work" that doesn't give me enough info to help you.)

-SK


On 9/29/2015 9:37 AM, Gerald Magnuson wrote:

I changed my classpath away from the "/QIBM/UserData/Java400/ext/'
path...

I am working fine with the mySQL driver...

however the MS SQL driver (from sourceforge) is not working, and now the
old one is not working either...

I am having trouble at this point:

in the new_driver procedure:


drv_name = %xlate('.': '/': driver_name);
QDCXLATE(%len(drv_name): drv_fixed: 'QTCPASC');

cls = FindClass(env: drv_name);

drv_name looks ok ( net/sourceforge/jtds/jdbc/Driver) BEFORE the
"QDCXLATE"

but after....

it becomes: ÁÈ Ë?ÍÊÄÁÃ?ÊÅÁ ¦ÈÀË ¦ÀÂÄ àÊÑÎÁÊ


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.




This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].