IBM Support

PI69867: METAL-C GENERATING INCORRECT ZHOOK CODE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When compiling with METAL C, the compiler is generating
    incorrect code for a ZHOOK function resulting in a S0C4.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Metal C users for z/OS V2.1 and later.       *
    ****************************************************************
    * PROBLEM DESCRIPTION: Using __ptr32 attribute in              *
    *                      AMODE64 programs is supposed to create  *
    *                      an 8byte variable but only the lower    *
    *                      4bytes are used. When extracting        *
    *                      this pointer the displacement of 4      *
    *                      bytes to access the lower 4 bytes is    *
    *                      missing.                                *
    ****************************************************************
    * RECOMMENDATION: Apply the provided PTF.                      *
    *                                                              *
    ****************************************************************
    .
    

Problem conclusion

  • Apply provided fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI69867

  • Reported component name

    C/C++ FOR MVS

  • Reported component ID

    56551210A

  • Reported release

    7A0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-09-28

  • Closed date

    2016-09-28

  • Last modified date

    2016-12-01

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

    PI63714

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

Modules/Macros

  • CCNETBY
    

Fix information

  • Fixed component name

    C/C++ FOR MVS

  • Fixed component ID

    56551210A

Applicable component levels

  • R7A0 PSY UI41215

       UP16/11/02 P F611

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":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7A0","Edition":"","Line of Business":{"code":"","label":""}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSQKCWV","label":"IBM C\/C++ for MVS\/ESA"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7A0","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
09 August 2024