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



SQL will recognize an OVRDBF. That was all we had before ALIAS but problem
is that it runs in two different client jobs and I don't see anyway to
change that.

The one solution that I would recommend if you won't use ALIAS is to create
a stored procedure, put the OVRDBF in there, pass it the member name and
return the result as a result set that you can consume.. .

On Fri, Nov 12, 2010 at 4:55 PM, Dennis Lovelady <iseries@xxxxxxxxxxxx>wrote:

Yes. This is the only way, since SQL does not honor OVRDBF.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Get your facts first, and then you can distort them as much as you
please."
-- Mark Twain


When using SQL to access data in file members other than *FIRST, I
usually
do a CREATE ALIAS to that member. It's a one-time operation for each
member.

HTH,
Loyd

On Fri, Nov 12, 2010 at 5:17 PM, Reggie Acosta - El Monte <
racosta@xxxxxxxxxxxxxxx> wrote:

We have multi-member files and we're on v5r4 and QZRCSRVS and
QZDASOINIT
run in QUSRWRK. My excel VBA pulls DB2 data in from the first member
with an
SQL SELECT statement. I want to pull the data from a different member.
When
the program runs, the OVRDBF runs in QZRCSRVS and the SQL SELECT runs
in
QZDASOINIT.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.