|
Thanks Dave, I had thought that you could do that, must have read it somewhere. I think it really boils down to the SQL compiler folks not keeping up with RPGIV enhancements. Joel http://www.rpgnext.com On Thu, 2003-08-07 at 12:50, Dave Boettcher wrote: > 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 > > _______________________________________________ > 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.
As an Amazon Associate we earn from qualifying purchases.
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.