IBM Support

IV56265: /USR/SBIN/LSWPAR DISPLAYS ERROR MESSAGE WHEN LANG IS NOT SET. APPLIES TO AIX 7100-03

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When  environment variable LANG is not set, the lswpar
    command throws a perl error message as follows.
    
    $ unset LANG; lswpar
    Use of uninitialized value $cur_locale in string at
    /usr/sbin/lswpar line 37.
    Name         State  Type  Hostname     Directory
     RootVG WPAR
    ---------------------------------------------------------
    --------------
    ....  It goes on to print the correct information ....
    

Local fix

  • Use the following command line syntax
    $ LANG=C   lswpar ## LANG could also be set to another
                      ## valid  value
    

Problem summary

  • When  environment variable LANG is not set, then lswpar
    command shows perl error message.
    

Problem conclusion

  • Fixed the code in such a way that When  environment variable
    LANG is not set, then lswpar does not show perl error message.
    

Temporary fix

Comments

  • 6100-07 - use AIX APAR IV58402
    6100-08 - use AIX APAR IV58064
    6100-09 - use AIX APAR IV55591
    6100-09 - use AIX APAR IV55591
    6100-09 - use AIX APAR IV55591
    7100-01 - use AIX APAR IV57713
    7100-02 - use AIX APAR IV57173
    7100-03 - use AIX APAR IV56265
    7100-04 - use AIX APAR IV56278
    

APAR Information

  • APAR number

    IV56265

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-03-05

  • Closed date

    2014-03-05

  • Last modified date

    2016-05-10

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

    IV55591

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

       UP14/05/22 I 1000

PTF to Fileset Mapping



Document information

More support for: AIX Enterprise Edition

Software version: 710

Operating system(s): AIX

Reference #: IV56265

Modified date: 10 May 2016