IBM Support

IJ02392: KSH MATCHING SLOW IF LANG IS CHANGED APPLIES TO AIX 7100-05

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Scripts performing a large number of pattern matching
    operations will be very slow if the LANG changes after
    the start of the script.
    
    For example, pattern matching such as this -
    
    [[ "$line" = +([!:])::* ]]
    
    - will be slow if the script starts with LANG=en_US and
    is then switched to C.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:
    * Systems running the 7100-05 Technology Level with
    * any of the following filesets at or between the given levels:
    * MIN          MAX          FILESET
    * 7.1.5.0      7.1.5.16     bos.rte.shell
    ****************************************************************
    * PROBLEM DESCRIPTION:
    * Scripts performing a large number of pattern matching
    * operations will be very slow if the LANG changes after
    * the start of the script.
    * For example, pattern matching such as this -
    *    "$line" = +( !: )::*
    * - will be slow if the script starts with LANG=en_US and
    * is then switched to C.
    ****************************************************************
    * RECOMMENDATION:
    * Install APAR IJ02392.
    ****************************************************************
    

Problem conclusion

  • Fixed the code to have same performance while LANG change
    during large number of pattern matching.
    

Temporary fix

Comments

  • 6100-09 - use AIX APAR IJ02345
    7100-05 - use AIX APAR IJ02392
    7200-03 - use AIX APAR IJ02377
    

APAR Information

  • APAR number

    IJ02392

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    YesPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-12-04

  • Closed date

    2017-12-04

  • Last modified date

    2019-11-14

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

    IJ00658

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

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U874816

       UP18/09/06 I 1000

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SG11R"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
19 April 2022