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



Try WRKUSRJOB QUSER and look for at the active jobs.  Scan the job for
the user Id you used when setting up your datasource.

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Pete Helgren
Sent: Wednesday, August 03, 2005 5:12 PM
To: Java Programming on and around the iSeries / AS400
Subject: Re: how do we know that JDBC connection has correct library
list

Get your hands on the WRKODBCJOB command from Brian Dietz.  We couldn't 
function without it.  Works for JDBC connections as well (internal or 
external)

Find it here: http://home.columbus.rr.com/jbmmdietz/iseries.html

Pete


Ashish Kulkarni wrote:

>Hi
>Suppose i am doing the following to create connection
>Does this gurantee that the connection will have the
>library list as defined in libl.
>is there a way to check if the connection was created
>properly with library list or not?
>is there a way to find out the libarary list of
>connection
>
>Ashish
>Class.forName("com.ibm.as400.access.AS400JDBCDriver"
>);
>
>//DriverManager.registerDriver(new
>com.ibm.as400.access.AS400JDBCDriver());
>          Properties prop = new Properties();
>          prop.put( "user", "user" );
>          prop.put( "password", "pass" );
>          prop.put("prompt", "false");
>          prop.put( "naming", "system" );
>          prop.put( "date format", "iso" );
>          prop.put( "time format", "hms" );
>          prop.put("translate binary", "true");
>          String libl = new String("TESTLIB62
>MAPS6202FX MAPS6202DV MAPS6202TF MANU6202TQ QTEMP 
>QGPL");  
>prop.put( "libraries", libl );
>           conn = DriverManager.getConnection(
>"jdbc:as400:myas400ip", prop ); 
>           
>
>
>               
>____________________________________________________
>Start your day with Yahoo! - make it your home page 
>http://www.yahoo.com/r/hs 
> 
>  
>

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.