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



If I understand what you need, I believe you want the EXTFLD keyword as
follows:

D WORKDS        E DS                  EXTNAME(WKFILE01) 
D   FLD_HERE    E                     EXTFLD(FLD_ON_FIL)

The external file definition for field FLD_ON_FIL within file WKFILE01 is
known to this program as FLD_HERE.

Good luck.
Larry Jansen

-----Original Message-----
From: G Armour [mailto:garmour400r@xxxxxxxxx]
Sent: Thursday, September 04, 2003 10:34 AM
To: RPG400-L@xxxxxxxxxxxx
Subject: rename one field in a ext. data structure in RPG-IV?


Is there a way to rename one field in an externally-described data structure
in
RPG-IV (v5r1)?  I am already using Prefix to distinguish between multiple
DS's using
the same external definition, but there are common fields defined with the
same name
in different external definitions, and I have three DS's for three different
external definitions that have a common field defined in each.

Better yet, if there's a way to tell the compiler to ignore a certain field
in the
DS, that would work too, since I'm not using the field in question.

TIA, GA

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/03
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/03
 

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.