On 2016-12-27 18:01, Charles Mills wrote:
> Why won't this assemble?
> 
> SOME  CSECT
>       LLILF 2,FOO
> OTHER CSECT
> FOO   EQU   *
> 
> Why do I get ASMA032E Relocatable value or unresolved symbol found when
> absolute value required - FOO?
> 
> Can't the assembler generate a relocatable address constant for the
> immediate operand of LLILF? Or am I doing something stupid that I am not
> seeing?
>  
Since they're in different CSECTs, the assembler will need to generate
ESD and RLD entries since a Binder ORDER statement may muddle any
relation between the addresses.  But are long displacements relocatable?

> DC A(FOO) at the same spot assembles with no problem. I could presumably
> code DC X'C02F',AL4(FOO) and it would execute correctly.
>  
This seems to indicate that HLASM can manage the ESDs and RLDs.  But can
it depend on the target's being within even long displacement reach?

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to