× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



user
password
database

did it. Thanks.

Wow, what a difference! Connects almost instantly.

On Mon, Jun 15, 2009 at 4:07 PM, James Perkins <jrperkinsjr@xxxxxxxxx>wrote:

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 for
SQL
Server with JDBCR4 what the fields names need to be for the User Name,
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
I
set.

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
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.


--
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 thread ...

Replies:

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

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.