IBM Support

IV64057: SETUPADAPTERNONROOT.SH : 0403-057 SYNTAX ERROR AT LINE 386 : ´ELSE' IS NOT MATCHED.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ERROR DESCRIPTION:Ø
    Execution of the script resulted in :
    
    [...]
      Replacing the DEFAULT stanza in file /var/ct/cfg/ctrmc.acls.
      Press enter to continue ...
    
      /opt/IBM/tsamp/sam/bin/setupAdapterNonRoot.sh[378]: 0403-057
      Syntax error at line 386 : ´else' is not matched.
    
    After fixing the "else if' to read "elif", the script failed in
    a new place:
    [...]
      Replacing the DEFAULT stanza in file /var/ct/cfg/ctrmc.acls.
      Press enter to continue ...
    
      /opt/IBM/tsamp/sam/bin/setupAdapterNonRoot.sh[388]: test:
      0403-004 Specify a parameter with this command.
    
    This was resolved by adding quotation marks around variables
    that were used for string comparisons within if-statement tests.
    

Local fix

  • Change "else if" to "elif". Add quotation marks around variables
    that are used for string comparisons within if-statement tests.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Tivoli System Automation for Multiplatforms
    * (SA MP) 4.1 users using command 'setupAdapterNonRoot.sh'
    ****************************************************************
    * PROBLEM DESCRIPTION:
    * Running the script 'setupAdapterNonRoot.sh' results in the
    * following error:
    *  ...
    *  Replacing the DEFAULT stanza in file /var/ct/cfg/ctrmc.acls.
    *  Press enter to continue ...
    *  /opt/IBM/tsamp/sam/bin/setupAdapterNonRoot.sh[378]: 0403-057
    *  Syntax error at line 386 : ´else' is not matched.
    *  ...
    * and (after fixing the above issue):
    *  ...
    *  Replacing the DEFAULT stanza in file /var/ct/cfg/ctrmc.acls.
    *  Press enter to continue ...
    *  /opt/IBM/tsamp/sam/bin/setupAdapterNonRoot.sh[388]: test:
    *  0403-004 Specify a parameter with this command.
    *
    * The first error is caused by a syntax error (else if vs. elif)
    * The second error is caused by missing quotation marks around
    * variables that are used for string comparisons within
    * if-statement tests.
    ****************************************************************
    * RECOMMENDATION:
    ****************************************************************
    

Problem conclusion

  • The syntax errors within the script 'setupAdapterNonRoot.sh'
    have been fixed.
    .
    The official fix for this problem is included in fix pack 1 of
    Tivoli System Automation for Multiplatforms 4.1
    | 4.1.0-TIV-ITSAMP-FP0001 |
    .
    Additional Search Keywords
    .
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV64057

  • Reported component name

    SA MULTIPLATFOR

  • Reported component ID

    5724M0000

  • Reported release

    410

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-08-27

  • Closed date

    2014-10-28

  • Last modified date

    2014-10-28

  • 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

    SA MULTIPLATFOR

  • Fixed component ID

    5724M0000

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSRM2X","label":"Tivoli System Automation for Multiplatforms"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"410","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
25 September 2023