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



I could understand it if the Secure(*Yes) keyword was used.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
lgoodbar@xxxxxxxxxxxxxx
Sent: 08 January 2009 18:44
To: midrange-l@xxxxxxxxxxxx
Subject: RE: Recompile required for OVRDBF?

Thanks for the explanation Scott. Fortunately, these are older OPM CL
and RPG/400 programs (the typical CL "driver" and RPG logic model), and
the RPG doesn't specify any libraries for its files. Will keep in mind
if I see one.

--Loyd

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Thursday, January 08, 2009 12:20 PM
To: Midrange Systems Technical Discussion
Subject: Re: Recompile required for OVRDBF?

Hi Loyd,

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

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.