IBM Support

PH51488: ASMA500W HLASM WARNING FROM DS 0D FOR $STATIC WSA

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When assembling code generated by the XL Metal C compiler, a
    warning message, ASMA500W, is output regarding alignment:
    
    
    170 M_WSA CATTR   RMODE(ANY),PART(test#S),NOTEXECUTABLE,ALIGN(2)
    171 $STATIC  DS   0D
    
    ** ASMA500W Requested alignment exceeds section alignment
    ** ASMA435I Record 1034 in test.s on volume:
    
    
    The 'DS  0D' forced alignment conflicts with the requested
    ALIGN(2).
    
    The system HLASM assembler has introduced a new warning message,
    ASMA500W, in V2R4 to warn against conflicting alignment.
    Previous alignment conflicts were not flagged, and so the new
    warning message may be seen with code that previously assembled
    without warnings.
    

Local fix

  • The warning does not affect generated code and can be ignored or
    suppressed.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: XLC Users using the METAL option of the      *
    *                 V2R4 compiler or the standalone Metal C      *
    *                 compiler.                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: The static area is aligned too          *
    *                      strictly with doubleword alignment      *
    *                      instead of single-word alignment,       *
    *                      resulting in an ASMA500W warning.       *
    ****************************************************************
    * RECOMMENDATION: Install the PTF                              *
    ****************************************************************
    The static area is set to be doubleword aligned. However, with
    ALIGN(2), it should instead be single-word aligned, which
    results in an ASMA500W warning.
    

Problem conclusion

  • The user should install the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH51488

  • Reported component name

    C/C++ FOR MVS

  • Reported component ID

    56551210A

  • Reported release

    7C0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-12-14

  • Closed date

    2023-01-26

  • Last modified date

    2023-03-07

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • CCNECICS CCNECWI  CCNED240 CCNEDSCT CCNEDWRT CCNEFILT CCNEHIFC
    CCNEIPA3 CCNEIPAO CCNEMDEP CCNEOPTP CCNEP    CCNEPP   CCNETBY
    CCNMSGE  CCNMSGT  CCNQIPA
    

Fix information

  • Fixed component name

    C/C++ FOR MVS

  • Fixed component ID

    56551210A

Applicable component levels

  • R7C0 PSY UI90293

       UP23/03/07 I 1000

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSTLTF","label":"z\/OS XL C\/C++"},"Platform":[{"code":"PF054","label":"z Systems"}],"Version":"7C0","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
08 March 2023