|
I don't know for sure, but in general for JDBC it's:
userName = user
password = password
databaseName = url
So probably:
JDBC_SetProp(MyProperty: 'user' : %Trim('aUser'));
JDBC_SetProp(MyProperty: 'password' : %Trim('aPassword'));
JDBC_SetProp(MyProperty: 'url': 'RapidLog');
HTH,
--
James R. Perkins
On Mon, Jun 15, 2009 at 15:02, Alan Campin <alan0307d@xxxxxxxxx> wrote:
Does anyone know (Probably Scott) when you are using the TDS Driver forSQL
Server with JDBCR4 what the fields names need to be for the User Name,I
Password and Database?
I am using these but I get an error back saying that it doesn't support
single signon so I am assuming it is not recognizing the properties that
set.list
JDBC_SetProp(MyProperty: 'userName' : %Trim('aUser'));
JDBC_SetProp(MyProperty: 'password' : %Trim('aPassword'));
JDBC_SetProp(MyProperty: 'databaseName': 'RapidLog');
MyConnection =
JDBC_ConnProp('net.sourceforge.jtds.jdbc.Driver' :
'jdbc:jtds:sqlserver://RAPIDLOG:1433':
MyProperty );
Link to Scott's article on the TDS driver.
http://systeminetwork.com/article/sql-server-jdbc-driver-tip
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
To post a message email: RPG400-L@xxxxxxxxxxxx--
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
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.