On 12/20/2010 1:13 PM, Robert A. Rosenberg wrote:
At 11:03 -0500 on 12/20/2010, David Bond wrote about Re: Baseless vs Based:

A good use for LARL is to set up the base register for the constants - and
maybe the modifiable data area if the program is not reentrant.  LARL can
even be used to get the address of other control sections.  But I think you
are trying to use LARL for everything.

A LARL reference to another control section is playing with fire
since the displacement of the CSECT being referenced can change at
Bind Time. Only a ACON can track the real location/displacement:

Since z/OS 1.7 (and even better in 1.8) the binder manages relative references
to external symbols as needed.

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
310-338-0400 x318
[email protected]
http://www.phoenixsoftware.com/

Reply via email to