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



Me likey, thanks Glen.

John

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Glenn Gundermann
Sent: Wednesday, August 17, 2022 10:51 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: 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.


Even simpler:

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

Yours truly,

Glenn Gundermann
Email: glenn.gundermann@xxxxxxxxx
Cell: (416) 317-3144

--

On Wed, 17 Aug 2022 at 10:47, John Rusling via RPG400-L < rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:

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/listinf
o/rpg400-l__;!!JAIo9NhAvg!t_X3h1YCQf7ncX040m8ic7vo5wn7PVno4AlPKFMce_rR
cPZ8CVW8rma-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-Xsr
NPYAfE9CO9r6YK5MEF_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-XsrNPYAfE9CO9
r6YK5MEF_zQwkHZemJNIxw$
--
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/listinf
o/rpg400-l__;!!JAIo9NhAvg!pGX4xu90CnKt01R5SE9ZUHaMlndMu7TLN6I9QbaTz5Bk
4f5F3Q-nQYVW2nYDySLv3VOKUJDGf1pxvNMJdxuhJHkscVI$
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!pGX4xu90CnKt01R5SE9ZUHaMlndMu7TLN6I9QbaTz5Bk4f5F3Q-nQYVW2nYDySLv3VOKUJDGf1pxvNMJdxuh_t8tr2g$ .

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
!pGX4xu90CnKt01R5SE9ZUHaMlndMu7TLN6I9QbaTz5Bk4f5F3Q-nQYVW2nYDySLv3VOKU
JDGf1pxvNMJdxuhDc1fCqQ$

--
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!pGX4xu90CnKt01R5SE9ZUHaMlndMu7TLN6I9QbaTz5Bk4f5F3Q-nQYVW2nYDySLv3VOKUJDGf1pxvNMJdxuhJHkscVI$
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!pGX4xu90CnKt01R5SE9ZUHaMlndMu7TLN6I9QbaTz5Bk4f5F3Q-nQYVW2nYDySLv3VOKUJDGf1pxvNMJdxuh_t8tr2g$ .

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!pGX4xu90CnKt01R5SE9ZUHaMlndMu7TLN6I9QbaTz5Bk4f5F3Q-nQYVW2nYDySLv3VOKUJDGf1pxvNMJdxuhDc1fCqQ$

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.