We ran into this several years ago and ended up adjusting SECTALGN across the 
board, which we were considering anyway. 

Pasted below is a post from Jonathan Scott about 6mos ago on the subject...

HTH, 
Mike   

>Apr 22, 2022, 1:33:06 PM
>to [email protected]
>Since APAR PH40885 you can simply suppress warning ASMA500W if
>you don't want to be nagged about item alignment exceeding
>SECTALGN, as the alignment warning no longer prevents the
>expected code from being generated.

>The section alignment for purposes of code generation is now
>always assumed to be as strong as is needed, but the binder
>alignment option is set based on SECTALGN and the warning is
i>ssued if item alignment exceeds the binder section alignment.

-----Original Message-----
From: IBM Mainframe Assembler List <[email protected]> On Behalf 
Of Mike Shaw
Sent: Thursday, November 17, 2022 4:04 PM
To: [email protected]
Subject: Re: ASMA500 message question

Caution! This message was sent from outside your organization.

CATTR use requires GOFF object format, which I don't want to use.

Mike


On Thu, Nov 17, 2022 at 3:31 PM Seymour J Metz <[email protected]> wrote:

> You need a CATTR with the proper alignment.
>
> ________________________________________
> From: IBM Mainframe Assembler List <[email protected]> 
> on behalf of Mike Shaw <[email protected]>
> Sent: Thursday, November 17, 2022 3:20 PM
> To: [email protected]
> Subject: ASMA500 message question
>
> Everyone,
>
> This code fragment:
>
> 00001C 4700 0000            00000    71          NOP   0
> 000020 0101                          72          PR
> 000022                               73          DC    0LQ
> *** ASMA500W Requested alignment exceeds section alignment  *
> 000022                               74 QUAD@1   DC    LQ'0'
>
> causes the *ASMA500W* message to be issued; it's description appears below:
>
>
>
>
>
>
>
>
>
>
>
>
> * ASMA500W Requested alignment exceeds section alignment
>
>   Explanation:  The section alignment is lower than that requested on 
> the  instruction and hence the actual alignment may not be honored.
>
>   System Action:  The requested alignment is ignored.
>
>   Programmer Response:  Change the requested alignment to be less than 
> or  equal to that of the section, or ensure that the desired alignment 
> is  achieved during program linking and loading.
>                                                                        *
> * Severity:  4                  *
>
> Does anyone know what the 'section' mentioned in the message is? Is it 
> a reference to the current control section (CSECT)?
>
> I don't get it...all I want to do is get quadword boundary alignment 
> for the QUAD@1 constant.
>
> Mike Shaw
> MVS/QuickRef Support Group
> Chicago-Soft, Ltd.
>

Reply via email to