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



Justin:

Suppose this is your original view:

Create view JOIN_VIEW as (
Select * from MYLIB.TABLE1 A
Join select * from MYLIB.TABLE2 B on A.ID = B.ID
Join select * from MYLIB.TABLE3 C on B.ID = C.ID
)

Now, create an alternate view that uses the "other" table (or PF), e.g.:

Create view JOIN_VIEW2 as (
Select * from MYLIB002.TABLE1A A
Join select * from MYLIB.TABLE2 B on A.ID = B.ID
Join select * from MYLIB.TABLE3 C on B.ID = C.ID
)

Then, you can issue:

OVRDBF FILE(JOIN_VIEW) TOFILE(JOIN_VIEW2)

and run your program or query as before, and that should do what you want ...

Hope that helps,

Mark S. Waterbury

> On 1/26/2017 4:39 PM, Justin Taylor wrote:
I have a view that joins three PF's. I now need to override one of those PF's. We tried OVRDBF, but it doesn't seem to. Any way to get there from here?

Thanks




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.