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



Yes, UNION ALL clause.
For example:

CREATE VIEW QTEMP/ALLFILES AS
(SELECT * FROM lib1/FILEA
UNION ALL
SELECT * FROM lib2/FILEA
UNION ALL
SELECT * FROM lib3/FILEA)

Now query the QTEMP/ALLFILES view or read it sequentially using RLA.

Elvis

Celebrating 11-Years of SQL Performance Excellence on IBM i, i5/OS and
OS/400
www.centerfieldtechnology.com


-----Original Message-----
Subject: SQL question: something analogous to a multi-format logical . . .

Is there something that can be done in SQL, that would effectively make
a bunch of instances of the same file, in several different libraries,
look like a single file?

Case in point: a user enrollment file, associated with an instance of an
application.

--
JHHL




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.