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



Venu,
                  Ofcourse our files are too big.  As I mentioned "
Building access path every time when I run OPNQRYF"
which takes loooong time is our major problem. That is why we thought that
to replace  Logical File instead of OPNQRYF.

I have never mentioned that I would like to create 3 P.F for this problem.
What I have mentioned that  is "Open Query is
joining 3 different P.F ,  and using keyfield, ( Also I have typed the
exact OPNQRYF command on CL , with dummy
fille names and filed names  on  my  mail )" .

For the problem of building access path dynamically which takes long time,
for that I am trying to replace LF   over  OPNQRYF.

Also,  I have mentioned that  " I am struck because joining LF does'nt
allow me to use secondary file field as a Key field"
where as  OPNQRYF does'nt have that restriction.

I am very much clear about my problem Venu.

Mr. David Duerr has suggested a solution by using  SQL VIEW.  I am going to
try that today.


- Raj









From: VENU YAMAJALA <venu_yamajala@goodyear.com> AT Internet on 12-21-98
      04:08 PM

To:   <MIDRANGE-L@midrange.com> AT Internet@ccmail
cc:    (bcc: Rajan Srinivasan/Servicing/SuperiorBank)
Subject:  Re: Join Logical File Problem




Hi Raj,

I am not trying to give you an answer to your problem. But it seems you are
a little confused!! The purpose of OPNQRYF and join logicals is almost
similar. I normally prefer OPNQRYF if the file is not too big!! If the file
is too big, I use join logicals. Replacing OPNQRYF with join logicals is
not always necessary. It depends on the files we use for it.

OPNQRYF generally looks for an exisitng access path. If it finds an access
path, it uses otherwise, it builds the access path. Building access path
dynamically is taking long time for you. You can avoid this time by already
creating the access paths outside. Whether you create 19 different logicals
or 3 different PFs, is your design issue. But to reduce the time, better
make OPNQRYF use an existing access path.

Hope this helps.

Vg
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To
subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To
unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. |
Questions should be directed to the list owner/operator: david@midrange.com
+---







+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.