• Subject: Re: DS fields
  • From: Mark Lazarus <mlazarus@xxxxxxxx>
  • Date: Mon, 12 Jul 1999 19:34:25

Doug,

At 09:34 PM 7/11/99 GMT, you wrote:

>So if a one DS had a given field as (for example) its third subfield,
>how could that same area in storage also be in another DS with
>different subfields surrounding it?

 Correct me if I'm wrong, but isn't each field in a DS a pointer to an area
in memory?  So, if I have 3 fields coming from three different files and
are combined in one DS, changing one field will change the value of the DS.
 So why can't the same field be in multiple DSs?  It's just another pointer
to the same area in memory, right?

 -mark

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].