IBM Support

PI65115: WRITING BEYOND THE END OF A TABLE IN V5.X CAN CORRUPT INDEX NAMES IN THAT TABLE.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Writing beyond the end of a table in COBOL Enterprise Edition
    for z/OS V5.x can corrupt index names for that table
    potentially leading to application ending its execution
    abnormally (e.g. S0C4 abend error).
    
    Note, this behavior differs from the behavior  COBOL Enterprise
    Edition for z/OS  V4.x and earlier versions of COBOL Enterprise
    Edition for z/OS compilers.
    

Local fix

  • There is no available workaround in COBOL Enterprise Edition
    V5.x, but using compiler option SSRANGE can detect those coding
    errors earlier on and alert the user of potential
    problem at execution time.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL 5.2 compiling and  *
    *                 running programs that modify data items      *
    *                 past the end of a table when the table has   *
    *                 index-names (INDEXED BY phrase) in it.       *
    *                 NOTE: programs that can run without SSRANGE  *
    *                 errors are not affected.  Only invalid       *
    *                 programs are affected (programs that would   *
    *                 get SSRANGE errors if run after being        *
    *                 compiled with SSRANGE)                       *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Incorrect output at runtime:            *
    *                      Index-names for the table can be        *
    *                      corrupted, resulting in a possible      *
    *                      program ABEND or incorrect results  In  *
    *                      pre-V5 versions of the compiler, index  *
    *                      names would not be corrupted in this    *
    *                      scenario.                               *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION: Apply the provided PTF.                      *
    *                                                              *
    ****************************************************************
    Starting with COBOL V5.1, index-names were located in memory
    immediately following the memory for the associated table,
    which meant that programs that modify dsta beyond the end of a
    table could corrupt their associated index-names.
    

Problem conclusion

  • Index-names for tables defined in WORKING-STORAGE or
    LOCAL-STORAGE sections have been moved to the top of the
    associated storage area.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI65115

  • Reported component name

    ENT COBOL FOR Z

  • Reported component ID

    5655W3200

  • Reported release

    520

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-06-29

  • Closed date

    2016-07-22

  • Last modified date

    2016-08-29

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

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

    UI39594 UI39595 UI39596 UI39597 PI68274

Modules/Macros

  •    IGYACT   IGYCCBE  IGYCCICS IGYCCSRV IGYCDGEN
    IGYCDIAG IGYCDMAP IGYCEN$D IGYCEN$R IGYCEN$0 IGYCEN$1 IGYCEN$2
    IGYCEN$3 IGYCEN$4 IGYCEN$5 IGYCEN$8 IGYCFGEN IGYCFREE IGYCHKJA
    IGYCINIT IGYCJA$D IGYCJA$R IGYCJA$0 IGYCJA$1 IGYCJA$2 IGYCJA$3
    IGYCJA$4 IGYCJA$5 IGYCJA$8 IGYCKACT IGYCLIBH IGYCLIBO IGYCLIBR
    IGYCLSTR IGYCLVL0 IGYCLVL1 IGYCLVL2 IGYCLVL3 IGYCLVL8 IGYCMALL
    IGYCOSCN IGYCPGEN IGYCRCTL IGYCRDPR IGYCRDSC IGYCREAL IGYCRWT
    IGYCSCAN IGYCSIMD IGYCUE$D IGYCUE$R IGYCUE$0 IGYCUE$1 IGYCUE$2
    IGYCUE$3 IGYCUE$4 IGYCUE$5 IGYCUE$8 IGYCXREF IGY8RWTU
    

Fix information

  • Fixed component name

    ENT COBOL FOR Z

  • Fixed component ID

    5655W3200

Applicable component levels

  • R52H PSY UI39595

       UP16/07/29 P F607

  • R520 PSY UI39594

       UP16/07/29 P F607

  • R521 PSY UI39596

       UP16/07/29 P F607

  • R522 PSY UI39597

       UP16/07/29 P F607

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"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"520","Edition":"","Line of Business":{"code":"LOB17","label":"Mainframe TPS"}},{"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":"520","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
29 August 2016