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



If that database is on the same system it will not work, as the database is
the name of the system.

Perhaps if on another LPAR.

So, what do you mean with "database"? A library? That is called a
collection in AS/400 SQL. 

Regards,
Carel Teijgeler

*********** REPLY SEPARATOR  ***********

On 2-11-2006 at 13:54 nickmart@xxxxxxxxxxxxxxx wrote:

I am working on an application where I would like to be able to use the
SQL CONNECT TO (database name) if different than the default. The database
is secured and assigned to its own storage pool.

My question is this. If the user job is already pointing at this database,
do I need to use CONNECT TO :database USER:userprf USING :userpassword or
just CONNECT TO :database?




As an Amazon Associate we earn from qualifying purchases.

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