|
I too am trying to access the SQL server using the MSSQLTEST routines. After applying a full set of cumulative PTF's, downloading the JAVA (5722JV1) options 10 & 11, then applying the Java Group PTF's, and finding out how to get the iSeries to use a different version of the JVM, I have finally gotten past all the "Invalid ClassDefinition" errors etc. and the program runs, however all I get is the "Unable to Connect." Error message. When I run in debug (code snippet below)
prop = JDBC_Properties();
JDBC_setProp(prop: 'databaseName=': 'database name');
JDBC_setProp(prop: 'user=' : 'domain name\user'); (I've also tried it with just the user name without the domain name)
JDBC_setProp(prop: 'password=' : 'password');
(Prop Values changed to protect the innocent)
conn = JDBC_ConnProp('com.microsoft.sqlserver.jdbc.SQLServerDriver'
:'java:jdbc:sqljdbc.jar:192.168.1.21:1433'
: prop );
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.