As you can see, WKLEN already has a calculated value of x'023c' when the
second EQU is written.
Why don't use it?
0023C 25379 WKLEN EQU
*-WKSAVE
00684 00004 25380 WKAREA EQU
WKSAVE,WKLEN
-----Mensagem original-----
De: IBM Mainframe Assembler List <[email protected]> Em nome
de Jonathan Scott
Enviada em: quarta-feira, 17 de julho de 2024 14:41
Para: [email protected]
Assunto: Re: Using EQU with length
I must admit that one of the bullets of the explanation of
message ASMA182E doesn't make sense to me:
- It is derived from an absolute value.
This text appears to have been added in 1987 for the equivalent
message IEV182 in the third edition of the Programmer's Guide
for Assembler H V2, so it predates HLASM, but I have no idea
what it is supposed to mean. I have a feeling that something
went missing, but it just seems wrong and it might be better to
simply remove it.
We already have a work item from last year saying "Message
ASMA182E needs a better explanation", mentioning that when it
says it must have been previously defined, it doesn't only mean
that a definition has been seen (which is what the "defined"
attribute tests) but that the definition has been able to be
resolved to a value. We will try to get round to it soon.
Jonathan Scott, HLASM
IBM Hursley, UK