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



Bruce,

The database APIs are another way to do this. You probably know
that the format returned by those APIs is a little convoluted. The
open source iSeries-toolkit at www.iseries-toolkit.org contains a
retrieve file description procedure that hides the complexity of
those APIs and makes it easy to retrieve file descriptions without
resorting to an outfile.

The source for that procedure is at:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/iseries-toolkit/CVSROOT/src/qrpglesrc/rtvfd.irp?rev=HEAD&content-type=text/vnd.viewcvs-markup

David Morris

>>> bvining@vnet.ibm.com 04/25/02 09:05AM >>>
>
>And doing a DSPFD to either print outs or to an outfile are subject to
the
>whims of IBM and may change format with each new version of the OS.
>

Doing a DSPFD to *print and then trying to process the output in a
program is definitely not recommended due to column changes, text
changes, text translations in other National Language Versions, etc.;
but using an *outfile should be OK.  You need to make sure that level
checking is off as IBM may add new fields to the end of existing
records, but IBM goes to great lengths to retain upward compatibility
for *outfile formats.

Bruce


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.