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



Geert ,

An alternative might be to look at the system catalog files like syscolumns. If 
you do this, be sure to look at the existing access paths. You may also need to 
use SQL to copy some information from the native to SQL definitions.

David Morris


>>> dawall@us.ibm.com 11/08/01 09:50AM >>>

Sorry, the RLA classes don't retrieve that data.  Have you tried JDBC or
using a system API to dump the data to a file which you can read with RLA?

David Wall
AS/400 Toolbox for Java




                    Geert Van
                    Landeghem                To:     "'java400-l@midrange.com'" 
<java400-l@midrange.com>
                    <gvl@reynderseti.b       cc:
                    e>                       Subject:     How to retrieve 
TEXT/COLHDG of a database field
                    Sent by:                  using the toolbox     ?
                    java400-l-admin@mi
                    drange.com


                    11/08/2001 09:26
                    AM
                    Please respond to
                    java400-l





Hello all,

Does anybody know how to retrieve the TEXT or COLHDG of a database field?
I'm using the SequentialFile, RecordFormat, FielDescription and
AS400DataType classes
to retrieve all the information needed about database fields of a given
file.

Unfortunately the getText() method of FieldDescription does not return the
TEXT value
defined in the DDS on the system. The database fields are all defined using
reference fields.

I'm not using the open version of the toolbox. Could this make any
difference?
Is there another way to retrieve this info using java? (not system api's)



Geert Van Landeghem
Reynders Etiketten N.V
*   +32-(0)3/460.32.81
* +32-(0)3/455.18.83
M      +32-0477/75.95.33
*   gvl@reynderseti.be




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.