IBM Support

IC75191: DB2ICRT MIGHT REPORT A SYNTAX ERROR IN JAPANESE ENVIRONMENT.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The db2icrt command reports a syntax error in Japanese locale
    (ja), the error does not come up in English locale.
    
    # export LANG=ja
    # db2icrt -u <fenc_id> <instance_id>
    <snip>
    Oracle Corporation    SunOS 5.10    Generic Patch   January 2005
    ksh: syntax error row 1 : `(' unexpected
    Oracle Corporation    SunOS 5.10    Generic Patch   January 2005
    Oracle Corporation    SunOS 5.10    Generic Patch   January 2005
    
    In Japanese locale, output of date command contains parentheses.
    Then echo command reports a syntax error due to the parentheses.
    

Local fix

  • Users can ignore the syntax error, db2icrt command runs
    successfully.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users who create a DB2 instance in Japanese environment.     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The db2icrt command reports a syntax error in Japanese       *
    * locale (ja), the error does not come up in English locale.   *
    *                                                              *
    * # export LANG=ja                                             *
    * # db2icrt -u <fenc_id> <instance_id>                         *
    * <snip>                                                       *
    * Oracle Corporation    SunOS 5.10    Generic Patch  January   *
    * 2005                                                         *
    * ksh: syntax error row 1 : `(' unexpected                     *
    * Oracle Corporation    SunOS 5.10    Generic Patch  January   *
    * 2005                                                         *
    * Oracle Corporation    SunOS 5.10    Generic Patch  January   *
    * 2005                                                         *
    *                                                              *
    * In Japanese locale, output of date command contains          *
    * parentheses.                                                 *
    * Then echo command reports a syntax error due to the          *
    * parentheses.                                                 *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Please upgrade to V9.5 FixPack 5 or later.                   *
    ****************************************************************
    

Problem conclusion

  • This problem is first fixed in DB2 V9.7 FixPack 5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC75191

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-03-23

  • Closed date

    2012-01-17

  • Last modified date

    2012-01-17

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

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC75191

Modified date: 17 January 2012