Ok, thanks

-----Mensagem original-----
De: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> Em nome de 
Seymour J Metz
Enviada em: terça-feira, 12 de novembro de 2024 19:38
Para: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Assunto: Re: HLASM question

It is documented, but you have to read between the lines. The literal does 
follow the EQU, but the EQU refers to the length attribute of a DC that follows 
the literal.

"Recursion" See "Recursion".

-- 
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר



________________________________________
From: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> on behalf 
of Jonathan Scott <jonathan_sc...@vnet.ibm.com>
Sent: Tuesday, November 12, 2024 4:49 PM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: HLASM  question

External Message: Use Caution


> LN       EQU   L'TKJSONPF
>          CLC  =AL(LN)(TKJSPFX),TKDSNM
>** ASMA151E Literal expression modifiers must be absolute and predefined

For this to work, the length modifier has to be not only
"defined" in the sense that it has been seen, but resolved, so
that the numeric value is known at the time it is used.  If the
length of TKJSONPF was not known when the EQU was encountered,
resolution is deferred, which means that the definition has not
yet taken effect.

There are other similar errors where something is documented
as needing to be predefined, but it also needs to be resolved.
I've already made a note that we should try to clarify this
in the message explanations.

Jonathan Scott, HLASM
IBM Hursley, UK

Reply via email to