IBM Support

PI66355: sibDBUpgrade.sh yeilds different results on different Unix-based Operating Systems

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Script uses Arithmetic for loop, which is not supported on
    some Unix shells.
    
    Error seen:
    /opt/MIGR/WASX/bin/sibDBUpgrade.sh[61]: 0403-057 Syntax error
    at line 135 : ´(' is not expected.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server on Unix operating systems            *
    ****************************************************************
    * PROBLEM DESCRIPTION: Syntax error when running               *
    *                      bin/sibDBUpdate.sh                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The following syntax error is seen when running the
    bin/sibDBUpdate.sh script:
    sibDBUpgrade.sh[61]: 0403-057 Syntax error at line 135 : ´('
    is not expected.
    

Problem conclusion

  • The script tries to make use of arithmetic for loop syntax,
    which is specific to the bash shell and not supported in other
    Unix shells, including ksh.
    
    The fix avoids using this arithmetic for loop syntax,
    implementing the functionality using standard sh shell syntax.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 9.0.0.1.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI66355

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-07-26

  • Closed date

    2016-09-14

  • Last modified date

    2016-09-14

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
17 October 2021