How can I use the library list to access tables and files with JDBC?
Joe Sam Shirah Set the 'naming' driver property to 'system'. This works for both the Toolbox and native driver. One caution, the library list used comes from the job description associated with the job, which is not necessarily the current library list.
// Create a properties object. Properties p = new Properties(); // Set the properties for the connection. p.put("naming", "system"); // Connect using the properties object. Connection con = DriverManager.getConnection( "jdbc:db2:localhost", p );