As I said in the first e-mail sent, I need the numeric value of a macro 
variable like &LV=wklen+8, where I don't know the initial value of wklen, but 
the compiler knows it.
Have you read from the beginning of this thread?

-----Mensagem original-----
De: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> Em nome de 
Jon Perryman
Enviada em: terça-feira, 21 de novembro de 2023 17:21
Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Assunto: Re: RES: RES: RES: Macro variable attributes

Is the EQU something you can't change? If you need it as the value then code it 
as both value and length so it can be accessed as a value and length.  In your 
case, the value will always resolve to a number so it is always a valid length. 
 

EQU_LABEL EQU 30,30
EQU_LABEL EQU ANOTHER_LABEL,ANOTHER_LABEL

Since we don't know your intent, we're guessing about the problem you are 
trying to solve. Maybe global variable would be a better solution. If it's to 
make the length human readable in the listing, why do you feel it's important?


On Tue, 21 Nov 2023 16:31:29 -0300, João Reginato <jb.regin...@gmail.com> wrote:

>In your sample
>&VAR SETA L'EQU_LABEL from EQU_LABEL EQU ,30.
>
>I need to know the value of EQU_LABEL itself, not its length of 30

Reply via email to