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



Hth Darryl,

--->> EXTFILE eliminates the need to do a RUN-TIME OVRDBF.
--->> EXTDESC eliminates the need of a COMPILE-TIME OVRDBF.

dcl-f bar542d workstn infds(ScrDS) extfile('GLOBAL/BAR542D')
extdesc('GLOBAL/BAR542D') ;

John B

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of dfreinkel@xxxxxxxxxxxxxxxxx
Sent: Wednesday, August 17, 2022 9:49 AM
To: 'RPG programming on IBM i' <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Keyword to the F-Spec - How do we add a keyword to point to the actual file and library to use

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.


We are working with some old style programs that use the same file defined twice in the program. Once for inquiry and the second for update.



Usually, before compiling one would use a OVRDBF command pointing the second file to the actual file. Example:



File_1

File_1A



The OVRDBF would be FILE_1A to FILE_1.



There is a keyword that one can use in the F-Spec that saves you from having to use the OVRDBF.



What is the keyword we could use on the F-SPEC keyword.



Darryl Freinkel

A4G

Telephone: 770.321.8562 Mobile: 678.355.8562



--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: https://urldefense.com/v3/__https://lists.midrange.com/mailman/listinfo/rpg400-l__;!!JAIo9NhAvg!t_X3h1YCQf7ncX040m8ic7vo5wn7PVno4AlPKFMce_rRcPZ8CVW8rma-XsrNPYAfE9CO9r6YK5MEF_zQwkHZ9yQlLcM$
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at https://urldefense.com/v3/__https://archive.midrange.com/rpg400-l__;!!JAIo9NhAvg!t_X3h1YCQf7ncX040m8ic7vo5wn7PVno4AlPKFMce_rRcPZ8CVW8rma-XsrNPYAfE9CO9r6YK5MEF_zQwkHZWzp9tBE$ .

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://urldefense.com/v3/__https://amazon.midrange.com__;!!JAIo9NhAvg!t_X3h1YCQf7ncX040m8ic7vo5wn7PVno4AlPKFMce_rRcPZ8CVW8rma-XsrNPYAfE9CO9r6YK5MEF_zQwkHZemJNIxw$

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.