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


  • Subject: Re: How to set Default Library using tool box classes.
  • From: David Gibbs <david@xxxxxxxxxxxx>
  • Date: Tue, 3 Apr 2001 09:15:26 -0500 (CDT)

I think this question would be more appropriately posed in the
JAVA400-L mailing list.

Folks, please post followups there ... not here.

Thanks!

david
 
> Hi everybody,
> i am making a connection to AS400 using as400 object from java toolbox =
> for AS400. I want to access a particular library which is the default =
> library for my=20
> profile. I have all the rights for that library and the file which i m =
> accessing.
> 
> But when i try to fetch data using SQL and following code=20
> 
> com.ibm.as400.access.AS400JDBCDriver d =3D new =
> com.ibm.as400.access.AS400JDBCDriver();
>   com.ibm.as400.access.AS400 o =3D new =
> com.ibm.as400.access.AS400("MyMachine",userID,passWord);
>   o.setGuiAvailable(false);
>   Connection c =3D d.connect (o);
> 
> I get this error.
> 
> Exception from getBase   java.sql.SQLException: [SQL0204] PARMFILE in =
> DTRIVEDI t
> ype *FILE not found.
> 
> However if i explicitly specify the library as in SELECT * FROM LIB.FILE
> i get results.
> Could any body explain why and how to get out of this.
> Thanxx Kaush
+---
| This is the WEB400 Mailing List!
| To submit a new message, send your mail to WEB400@midrange.com.
| To subscribe to this list send email to WEB400-SUB@midrange.com.
| To unsubscribe from this list send email to WEB400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.