IBM Support

IV55345: KSH93:EXTRA SUBSCRIPT ADDED TO ASSOCIATIVE ARRAY BY ++ OPERATOR APPLIES TO AIX 7100-04

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A subscript gets added incorrectly to an associative
    array when ++ operator is called:
    
    $ typeset -A foo
    $ typeset -A foo[bar]
    $ foo[bar][x]=2
    $ (( foo[bar][x]++ ))
    $ set | grep foo
    foo=([bar]=([0]='' [x]=2) [x]=1)
    
    Subscript x was added to foo and value is incremented,
    instead of the subscript [x] of bar value getting
    incremented.
    

Local fix

Problem summary

  • For ksh93 associative array, a subscript gets added
    incorrectly to an associative array when ++ operator
    is called.
    

Problem conclusion

  • Code changes are done to add subscript correctly when
    ++ operation done on assoicative array.
    

Temporary fix

Comments

  • 7100-03 - use AIX APAR IV55195
    7100-04 - use AIX APAR IV55345
    

APAR Information

  • APAR number

    IV55345

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-02-11

  • Closed date

    2014-02-11

  • Last modified date

    2016-05-10

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

    IV52431

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

       UP15/11/23 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
10 May 2016