IBM Support

PI66437: ADDRESS A PERFORMANCE ISSUE IN INSPECT STATEMENT WHEN THERE IS A LARGE NUMBER OF TALLYING FIELDS.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • To address a performance issue in INSPECT statement when there
    is a large number of TALLYING fields.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of Enterprise COBOL V5 and later       *
    *                 compilers running programs with INSPECT      *
    *                 TALLYING statements that contain a large     *
    *                 number of TALLYING phrases.                  *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: Performance: Programs with INSPECT      *
    *                      TALLYING with a large number of         *
    *                      TALLYING phrases, and when the BEFORE,  *
    *                      AFTER, LEADING and CHARACTERS keywords  *
    *                      are not used had poor performance.      *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION: Apply the provided PTF.                      *
    *                                                              *
    ****************************************************************
    The scanning alogrithm of the TALLYING phrase of INSPECT has
    been improved to provide better scalability when processing a
    large number of substrings. This improvement applies when the
    BEFORE, AFTER, LEADING nor CHARACTERS keywords are not used.
    These keywords require extra processing.
    
    FIXCAT keyword:  COB0501T/K   COB0502T/K   COB0601T/K
    

Problem conclusion

  • Performance improvement: An improved algorithm for INSPECT
    TALLYING has been implemented.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI66437

  • Reported component name

    LE ENT COBOL LI

  • Reported component ID

    568819812

  • Reported release

    790

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-07-25

  • Closed date

    2016-08-19

  • Last modified date

    2016-09-02

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

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

    UI40213 UI40214

Modules/Macros

  • IGZCEV4  IGZLLIBV IGZXAPI  IGZXDMR  IGZXD24
    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

  • R7A0 PSY UI40213

       UP16/08/25 P F608

  • R790 PSY UI40214

       UP16/08/25 P F608

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":"SSCVR7X","label":"Runtime"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
14 December 2020