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


  • Subject: externally defined data structure + renamed fields = confusion!!!!!
  • From: "Prowak, Dave" <DProwak@xxxxxxxxxxxxxxxxx>
  • Date: Fri, 23 Mar 2001 09:01:29 -0500


Hi,

Here's a "simple" example to depict my quandary:
   File1 contains a field named F0001.
   File2 also contains a field named F0001.

With an I-spec I redefine F0001 to C0001.

I have an externally described data structure that
refers to File2.  The problem is that the field within the
externally described data structure that refers to F0001 needs
to refer to C0001 instead (since C0001 is the field in File2, while
F0001 still refers to the field within File1).
D Some_DS     E  DS                  ExtName(File2)       

I can't use the ExtFld keyword within the externally described 
data structure because C0001 is not externally described.

So, how do I get the externally described data structure
to refer to the redefined fields within File2?

Thanks,
Dave


        
        

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.