IBM Support

PH46565: S0C4 IN IGZXLPKD MODULE QX11 ON CLOSE OF QSAM FILE

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a CLOSE is issued for a file that has reached end of
    volume, a s0c4 in QX11 offset x'32' may occur instead of the
    expected sB37 or sD37 abend.  An unexpected save area was passed
    into the DCB exit routine (QX11), resulting in the s0c4
    exception when using registers from this unexpected save area.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL 5 and later        *
    *                 releases writing to a QSAM file with more    *
    *                 records than the file can handle and         *
    *                 closing the file afterwards.                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: The COBOL program may terminate with    *
    *                      an 0C4 abend in the COBOL Runtime       *
    *                      program QX11 (module name IGZXLPKD)     *
    *                      rather than a SD37/SB37 abend           *
    *                      indicating that the file system is      *
    *                      out of space.                           *
    ****************************************************************
    * RECOMMENDATION: Install the provided PTF.                    *
    ****************************************************************
    When more than the maximum number of records that a QSAM file
    can hole are written to that QSAM file, the COBOL Runtime issues
    a QSAM CLOSE statement and upon return of the QSAM CLOSE, the
    NAB/DSA is not setup correctly in the COBOL Runtime causing a
    possible 0C4 abend.
    
    COB0501T/K COB0502T/K COB0601T/K COB0602T/K COB0603T/K
    COB0604T/K
    

Problem conclusion

  • The COBOL Runtime has been fixed to setup the correct NAB/DSA
    upon return from the QSAM CLOSE statement so that processing can
    proceed as expected.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH46565

  • Reported component name

    LE ENT COBOL LI

  • Reported component ID

    568819812

  • Reported release

    7D0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-05-18

  • Closed date

    2022-06-17

  • Last modified date

    2022-09-08

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

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

Modules/Macros

  • IGZCEV4  IGZCJNI2 IGZLLIBV IGZXAPI  IGZXCA31 IGZXCDA  IGZXD24
    IGZXDMR  IGZXJNI2 IGZXLPIO IGZXLPKA IGZXLPKB IGZXLPKC IGZXLPKD
    IGZXLPKE IGZXLPKF IGZXLPKG IGZXPK2
    

Fix information

  • Fixed component name

    LE ENT COBOL LI

  • Fixed component ID

    568819812

Applicable component levels

  • R7B0 PSY UI81075

       UP22/06/24 P F206

  • R7C0 PSY UI81077

       UP22/06/24 P F206

  • R7D0 PSY UI81078

       UP22/06/24 P F206

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":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS6SG3","label":"Enterprise COBOL for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7D0","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
08 September 2022