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 <jb.regin...@gmail.com> wrote:

>I don't care about its length but the actual value
>
>De: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> Em nome de 
>Jon Perryman
>
>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 &VAR 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 not be used. It's in hex but easy to 
>convert.
>
>Ask yourself if this is something that you really need to display the length 
>using MNOTE. The listing field reference shows the length or You can subtract 
>the offsets from the listing to get the length. You're adding unnecessary 
>lines to the listing.
> 
>On Mon, 20 Nov 2023 18:34:20 -0300, João Reginato <jb.regin...@gmail.com> 
>wrote:
>
>>Thank you Jonathan but it seems I don't have these APARs installed.
>
>>De: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> Em nome
>>de Jonathan Scott
>>>If you have a recent maintenance level of HLASM, including APAR
>>>PH34116 from February 2021, you can use SETA to obtain the value
>>>of an equated symbol which has been defined and resolved.  (Some
>>parameter cases did not work and required a further fix for APAR
>>PH50923).

Reply via email to