|
Hmm... interesting. It's complaining about the variable already being defined in an D spec. Okay, then I guess Barbara is right, Data structures are *always* contiguous, but record layouts are not guaranteed to be. That makes them much more useful in my book. Regards, Jim Langston Anton Gombkötö wrote: > > At 13:28 02.11.00 -0800, you wrote: > >Hmm.. I'm not sure if I agree with that statement. What about this? > > > >D BB S 10A > > > >D MyStru DS > >D AA 10A > >D BB 10A > >D CC 10A > > > >Not positive this will compile, but you should get the idea. > > It doesn't compile (RNF3315), so Barbara seems to have something against it... > > Are you sure that when you read file f1 with field BB and file f2 with > field BB (which was possible in RPG II times, don't know about later times) > that there were two BB's available for you? I not.... > > BTW, the question was "why is based(ptr) not allowed for ds subfields...." :-) > > 0.02 Euro > > Mit freundlichen Grüssen / best regards > > Anton Gombkötö > > e-mail Office : mailto:Anton.Gombkoetoe@avenum.com > Homepage : http://www.avenum.com > > ---------- > Avenum Technologie GmbH > Brigittenauer Lände 50-54, Stiege 6 Salzburger Strasse 29 Dreifelder > Strasse 4 > A-1200 Wien / Austria A-5163 Mattsee D-70599 > Stuttgart > > Tel./phone : +43-1/92101-148 +43-6217/5995 - > 0 +49-711/4411 116 > Fax : +43-1/92101-300 +43-6217/5995 - > 13 +49-711/4411 563 > > ---------- > Avenum ist der Zusammenschluss von AS Software und Black System. > > ---------- > > +--- > | 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 > +--- +--- | 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 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.