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



Huh? JDBC is a standard for implementing database drivers in Java.

Are you asking if there's way to use an SQL statement (presumably run via IBM's DB2 for i JDBC driver) to get the object text of a physical file object?

If so:

Select LABEL from systables
where NAME='MYFILE' and DBNAME='MYLIBRARY'

This would work from any SQL interface, and that includes IBM's DB2 for i JDBC driver.

You could also call a CL program as a stored procedure or UDF and have the CL program get the object text and return it. This would allow any object type (not just *FILE).



On 4/27/2011 5:09 PM, James Lampert wrote:
Is the object-text on a file visible through JDBC?

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.