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



The info is in QSYS2/SYSTABLES. Aliases have type 'A' in that SQL catalog view. Do a DSPFD against that view to see where the info really comes from - there'll be an SQL statement in DSPFD.

HTH
Vern

At 01:53 PM 11/17/2003 -0800, you wrote:
As discussed in my original post, we are looking at using SQL's ALIAS to
be able to access multi-membered files in SQL.  (The design of using
multi-membered files is out of our hands because it's part of a package we
didn't write.)

So, anyway, I created the ALIAS for Lib/File(MBR), was able to run a
SELECT on the ALIAS, confirmed it was getting the right member, by virtue
of identifying the data it was displaying.

But, how does one determine which member of the PF-DTA file is being
referenced by ALIAS'd DDM file?  Neither DSPDDMF nor DSPFD shows any
member references.  The only way I can tell is by opening the ALIAS file
in SQL and displaying the job with OPTION(*OPNF).

There's gotta be a better way. ;-)

TIA, GA



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.