IBM Support

PI74514: NEW LEGACY OPTION FOR DSECT UTILITY

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • To better support the DSECT zero-duplication-factor ASM concept,
    a new option, LEGACY, is introduced to enable/disable
    zero-extent-array generation for this type of ASM statement.
    
    The default setting in the DSECT utility is LEGACY.  To enable
    zero-extent-array generation, use option NOLEGACY.
    
    
    INPUT
    -----------------------------------------------------------
    TEST       DSECT
    FIELD1     DS    AL1
    FIELD2     DS    AL2
    FIELD3     DS    AL3
    VARDATA    DS    0D
    ALIGN      DS    0C
    DSECTEND   DS    0D
               END
    
    OUTPUT
    -----------------------------------------------------------
    #pragma pack(packed)
    
    struct test {
      unsigned char  field1;           1 byte
      unsigned short field2;           2 bytes
      unsigned int   field3 : 24;      3 bytes
      unsigned char  vardata;          1 byte
      unsigned char  _filler1;         1 byte = 8bytes
      __extension__ union {
        int            _align;
        double         _dsectend;
        } _test_union1[0];
      };
    #define align    _test_union1[0]._align
    #define dsectend _test_union1[0]._dsectend
    
    #pragma pack(reset)
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: XLC Users on zOS.                            *
    ****************************************************************
    * PROBLEM DESCRIPTION: In certain cases duplication factor of  *
    *                      zero DS/DC is generated as regular      *
    *                      member which takes space or is          *
    *                      omitted altogether, both of which       *
    *                      is incorrect.                           *
    ****************************************************************
    * RECOMMENDATION: Apply the provided PTF.                      *
    *                                                              *
    ****************************************************************
    .
    

Problem conclusion

  • Apply provided service.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI74514

  • 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

    2017-01-09

  • Closed date

    2017-01-09

  • Last modified date

    2017-02-01

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

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

Modules/Macros

  •    CCNEPP
    

Fix information

  • Fixed component name

    C/C++ FOR MVS

  • Fixed component ID

    56551210A

Applicable component levels

  • R7A0 PSY UI43767

       UP17/01/26 P F701

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