On 2017-12-10, at 14:31:41, Mike Shaw wrote: > > 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. > There are several problems here:
o "Either-or" messages are deplorable. The programmer should be provided a distinct message with a unique indication of which error was detected. Or, at least, a reason code should be provided telling which explanation is applicable. o The message text states a falsehood. An absolute value is *not* required in this context. It is not satisfactory to say (as IBM too often does), "Ignore the message text; just read the explanation." o I can find no documentation of this reasonable restriction in the HLASM Language Ref. -- gil
