On 13/12/17 16:07, Farley, Peter x23353 wrote:
This is really a simple problem to solve.  Here is a sample "data" program that 
I believe satisfies the OP's needs:

         MACRO
&LBL     LITADCON &LIT
DATAAREA LOCTR ,
L&SYSNDX DC    &LIT
&SYSECT  LOCTR ,
&LBL     DC    A(L&SYSNDX)
         MEND

The problem here is that if a pointer to the same data area
is needed several times, then the data will be included several times:
when only one copy is needed.

This could waste literally *dozens* of bytes of memory!

--
                        Martin

Dr Martin Ward | Email: [email protected] | http://www.gkc.org.uk
G.K.Chesterton site: http://www.gkc.org.uk/gkc | Erdos number: 4

Reply via email to