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



In addition I found an external name example also:

D IPARTS        E DS                  EXTNAME(WSINTKPART) OCCURS(50)
D                                     PREFIX(PT)                    
D  PTMBR                         2                                  

Or 

 D ZLDA          EUDS                  EXTNAME(ZLDA)        
 D  BEGYMD               710    717  0                      
 D  ENDYMD               720    727  0                      
 D  BEGCHR               730    737                         
 D  ENDCHR               740    747                         
 D  BEGYMD6              750    755  0                      
 D  ENDYMD6              760    765  0                      


Dave Boettcher

-----Original Message-----
From: Joel Cochran [mailto:jrc@xxxxxxxxxx]
Sent: Thursday, August 07, 2003 10:59 AM
To: RPG programming on the AS400 / iSeries
Subject: RE: Overlay an External DS - RESOLVED



> ddsElems        e ds                  extname(elems)           
> d  array          s             10    dim(4) based(@)
> d  @              s               *   inz(%addr(dsElems))
> 
> 

This was the solution I ended up using and it works great. I understand
that part of the problem was that this is an SQLRPGLE program and part
of the problem *could* be that you can't append an externally defined
DS.  Can anyone confirm the latter?

Thanks!

Joel


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.