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



Hi Loyd,

Do CL programs that use OVRDBF need to be recompiled if the referenced
file changes? Our vendor software increased the size of some key
database fields, and we are reviewing our inhouse code.

No, OVRDBF doesn't need to be recompiled (unless, of course, you want to change the parameters you specified on the OVRDBF command.)


Ovrdbf file(myfile) tofile(*libl/myfile)

Isn't that syntactical sugar? I.e. performs no useful function?

Most likely, you're right, it does nothing.

But, less likely, it's possible that it DOES do something. It would do something if the HLL program hard-codes a library. The OVRDBF would prevent the hard-coded library, and let you use the *LIBL.

For example if I did this in RPG:

FCUSTMAS IF E K DISK EXTFILE('QTEMP/CUSTMAS')

Without the override, this will only look for the CUSTMAS file in the QTEMP library. With the override, it'll look in *LIBL.

Why would someone write code like this? I have no idea -- I'm just pointing out that it's possible.

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.