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



It depends.

Once a logical is built, you don't have the same overhead to create the
access path as you would with OPNQRYF.  Dynamic Select affects this, but
it's been awhile since I've dealt with that.

If this is used "often", it's probably best to define a logical.  If rarely
used, like once monthly, just keep using the OPNQRYF.  If used in a lot of
applications, even if rarely, probably easier maintenance to define a
logical.

YMMV.

db

> -----Original Message-----
> From: midrange-l-bounces@xxxxxxxxxxxx / Dwayne Allison
> Sent: Wednesday, October 06, 2004 11:31 AM
>
> We are using the following command:
>
> OVRDBF     FILE(PA0PBR) TOFILE(PASPBR) SHARE(*YES)
> OPNQRYF    FILE((PASPBR)) QRYSLT('ARBGRP *EQ "*C*"')
>
> Is it quicker to create a logical file with a select ARBGRP that
> equal *C only or use the above query?


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.