IBM Support

JR49677: ISA TOOL BPMDC.SH HAS SYNTAX ERROR IF BASH IS NOT DEFAULT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • When you enter the bpmdc.sh command with the PMR option, such
    as ./bpmdc.sh -PMR=12345.678.901, and bash is not the default
    shell, the program returns with the following error:
    
    bpmdc.sh[24]" 0403-057 Syntax error at line 24 : '(' is not
    expected
    

Local fix

  • Change the first line of the script bpmdc.sh from
       #!/bin/sh
    to
       #!/bin/bash
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM Business Process Manager (BPM)          *
    *                  Advanced                                    *
    *                  IBM BPM Standard)                           *
    ****************************************************************
    * PROBLEM DESCRIPTION: When you enter the bpmdc.sh command     *
    *                      with the PMR option, such               *
    *                      as ./bpmdc.sh -PMR=12345.678.901, and   *
    *                      bash is not the default                 *
    *                      shell, the program returns with the     *
    *                      following error:                        *
    *                      bpmdc.sh[24]" 0403-057 Syntax error     *
    *                      at line 24 : '(' is not                 *
    *                      expected                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    No additional information is available.
    

Problem conclusion

Temporary fix

  • To fix the errors that occur when the bpmdc.sh command runs
    with PMR option, but bash is not the default shell, you can
    modify the first line of the bpmdc.sh from
    
    #!/bin/sh
    
    to
    
    #!/bin/bash
    

Comments

APAR Information

  • APAR number

    JR49677

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    850

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-03-19

  • Closed date

    2014-06-19

  • Last modified date

    2014-06-19

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

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

Fix information

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
19 June 2014