I know adcons are relocatable in the sense that they are resolved to a
virtual storage address when the load module is loaded and executed; I was
referring to the second reason listed below in the ASMA032E HLASM error
message:


ASMA032E Relocatable value or unresolved symbol found when absolute value
required

Explanation:  One of the following has occurred:

o   A relocatable or complex relocatable expression is used where an
    absolute expression is required.
o   A DSECT-based expression is used as an operand for an address constant
    where an expression that resolves into a storage address is required.


that's the error you get when you try to use an adcon outside of a DSECT
that points to a field mapped inside the USING range of the DSECT.

Mike

On Sun, Dec 10, 2017 at 2:30 PM, Charles Mills <[email protected]> wrote:

> Sure they can! You most basic A(label) is typically a reference to a
> relocatable expression.
>
> Adcons can't refer to symbols in DSECTs because they don't have an
> address. Where are they? Wherever you want them to be. Wherever their
> register points.
>
> Charles
>
>
> -----Original Message-----
> From: IBM Mainframe Assembler List [mailto:[email protected]]
> On Behalf Of Mike Shaw
> Sent: Sunday, December 10, 2017 10:34 AM
> To: [email protected]
> Subject: Re: Adcon (was: Address of a Literal)
>
> Adcons cannot refer to relocatable expressions.
>

Reply via email to