IBM Support

PH34168: INCORRECT LENGTH MIGHT BE ASSEMBLED WHEN COPYING FUNCTION RETURNVALUE USING METAL-C

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Incorrect length might be assembled when copying function return
    value using METAL-C
    
    This happens for a SS format instruction length field when an
    expression is used as an operand in the compiler generated
    assembly output for the SS instruction
    

Local fix

  • Manually edit the .s file to provide the correct length
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: z/OS V2R4 XLC users of the METAL option      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Incorrect length might be assembled for *
    *                      a SS format instruction length field    *
    *                      when an expression is used as an        *
    *                      operand in the compiler generated       *
    *                      assembly output for the SS instruction  *
    ****************************************************************
    * RECOMMENDATION: Install PTF or use workaround                *
    ****************************************************************
    N/A
    

Problem conclusion

  • Install PTF
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH34168

  • 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

    2021-02-04

  • Closed date

    2021-02-05

  • Last modified date

    2021-04-01

  • 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 UI73821

       UP21/03/26 P F103

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.

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

Document Information

Modified date:
02 April 2021