IBM Support

PH70378: FOREGROUND COMPILE DOES NOT REMOVE DD ALLOCATIONS AFTER COMPLETING

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When invoking the XLC compiler in the foreground, the compiler
    is allocating a number of DD data definitions that are not being
    released after completion of the compile.  Examples of
    foreground compiles are using the provided REXX EXECs (https://
    www.ibm.com/docs/en/zos/3.1.0?topic=guide-cataloged-procedures-
    rexx-execs)or invoking the compiler via an assembler macro (http
    m.com/docs/en/zos/3.1.0?topic=guide-calling-zos-xl-cc-compiler-
    from-assembler).
    
    After the compile, checking active DD allocations on the system
    with the ISRDDN utility will show DDnames starting with
    SYST####:
    
    SHR,KEEP   >    SYST0001 CEE.SCEEH.H
    
    SHR,KEEP   >    SYST0002 CEE.SCEEH.SYS.H
    
    SHR,KEEP   >    SYST0003 USERID.MYSYSLIB
    
    These are compiler header file DDs that are not released by the
    compiler.  If a user-allocated SYSLIB DD is used, an additional
    SYST#### DD is allocated by the compiler.
    
    Batch JCL compiles are not affected by this issue because the
    JES system automatically deallocates leftover DDs at the end of
    the job.
    

Local fix

  • Manually deallocate the leftover DDs using the ISRDDN utility
    (launched via TSO).
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of IBM z/OS V2.4 XL C/C++ using the    *
    *                 compiler through REXX execs or HLASM         *
    *                 invocation (JCL and USS should clean up      *
    *                 automatically).                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: The compiler generates temporary DD's   *
    *                      while processing header files. Not all  *
    *                      the DD's are released when the          *
    *                      compilation is done.                    *
    ****************************************************************
    * RECOMMENDATION: Install the PTF                              *
    ****************************************************************
    N/A
    

Problem conclusion

  • Install the PTF
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH70378

  • 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

    2026-03-03

  • Closed date

    2026-03-30

  • Last modified date

    2026-05-02

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

       UP26/04/23 P F604

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":"PF025","label":"Platform Independent"}],"Version":"7C0","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
02 May 2026