We're only at 2022-04, I'll have to get our level of HLASM updated.
Thanks,
Robert Ngan
DXC Luxoft
-Original Message-
From: IBM Mainframe Assembler List On Behalf
Of Jonathan Scott
Sent: Tuesday, December 19, 2023 12:42
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: Macro variable
Robert Ngan writes:
> The ability to do the SETA inside the macro really simplifies our code, but
> it's implementation seem to be somewhat flaky. Sometimes it work, other
> times it get errors.
It doesn't fail with the latest level, and I suspect this might
be a symptom of the problem fixed by
-Original Message-
From: IBM Mainframe Assembler List On Behalf
Of Jonathan Scott
Sent: Friday, November 17, 2023 16:22
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: Macro variable attributes
> Is there a way to know the real value of the LEN below when I use a
> variable instead of a
Ok, thank you
-Mensagem original-
De: IBM Mainframe Assembler List Em nome
de Jonathan Scott
Enviada em: quarta-feira, 22 de novembro de 2023 18:05
Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Assunto: Re: RES: RES: RES: RES: RES: Macro variable attributes
> My compiler says the len
> My compiler says the length of the EQU must be an absolute
> value when I use wklen+8 on it.
We probably need to clarify some of the terminology in the books
and the message explanations. The word "defined" normally
simply means that the definition of a symbol has already been
seen, but does
: RES: Macro variable attributes
On Tue, 21 Nov 2023 17:39:02 -0300, João Reginato wrote:
>Have you read from the beginning of this thread?
Yes, I'm familiar with the thread. As I said before, we're making assumptions
because you didn't state your intent. Instead, you gave a specific exam
: terça-feira, 21 de novembro de 2023 19:03
Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Assunto: Re: RES: RES: RES: RES: Macro variable attributes
On Tue, 21 Nov 2023 17:39:02 -0300, João Reginato wrote:
>Have you read from the beginning of this thread?
Yes, I'm familiar with the thread. As I said bef
On Tue, 21 Nov 2023 17:39:02 -0300, João Reginato wrote:
>Have you read from the beginning of this thread?
Yes, I'm familiar with the thread. As I said before, we're making assumptions
because you didn't state your intent. Instead, you gave a specific example
>As I said in the first e-mail
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
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
@LISTSERV.UGA.EDU
Assunto: Re: RES: RES: Macro variable attributes
Joao, In your case, the value is always a number that is used to specify the
length of a variable. Why can't you specify this length number as the second
EQU arg instead of the first arg which is the value that can be extracted using
L
Joao, In your case, the value is always a number that is used to specify the
length of a variable. Why can't you specify this length number as the second
EQU arg instead of the first arg which is the value that can be extracted using
L'?
On Tue, 21 Nov 2023 16:00:31 -0300, João Reginato
I don't care about its length but the actual value
-Mensagem original-
De: IBM Mainframe Assembler List Em nome de
Jon Perryman
Enviada em: terça-feira, 21 de novembro de 2023 14:09
Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Assunto: Re: RES: Macro variable attributes
Like DC & DS, you
Like DC & DS, you can fully define a variable using EQU. The second EQU parm
allows you to define a length that can be queried using SETA L'EQU_LABEL
from EQU_LABEL EQU ,30.
Another possibility is to use DS 0AL4(EQU_LABEL) will display the value in the
listing but the 0 causes the field to
Thank you Jonathan but it seems I don't have these APARs installed.
-Mensagem original-
De: IBM Mainframe Assembler List Em nome
de Jonathan Scott
Enviada em: sexta-feira, 17 de novembro de 2023 19:22
Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Assunto: Re: Macro variable attributes
> Is there a way to know the real value of the LEN below when
> I use a variable instead of a value?
>
> MACRO
> WORK =0
> DS XL()
> MNOTE *,.LEN=
> MEND
If you have a recent maintenance level of HLASM, including APAR
PH34116 from February 2021, you can use SETA to obtain the
Hi
Is there a way to know the real value of the LEN below when I use a variable
instead of a value?
MACRO
WORK =0
DS XL()
MNOTE *,LEN=
MEND
WORK LEN=wklen
Wklen equ 32
In the sample above the mnote says LEN=WKLEN but I preferred LEN=32 instead.
How to
17 matches
Mail list logo