IBM Support

IV01091: UNINSTALL.SH CAN NOT UNINSTALL CICS COMPONENT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • PROBLEM DESCRIPTION:
    
    When unistalling CICS, uninstall.sh failed and display the
    following
    error message
    uninstall.sh failure: KCI0770E could not determine the lib arch.
    
    RECREATE INSTRUCTIONS:
    
    1) Install ITM 6.2.2 components onto a Linux/UNIX operating
    system
    2) Install OM for CICS component from the OMEGAMON V4.2.0
    application
    support DVD (LCD7-3580-07).
    3) Confirm the installation via cinfo
    cp      OMEGAMON XE for CICS on z/OS
             li6263  Version: 04.20.02.00    <= This is the
    'component'
             tms     Version: 04.20.02.00
    4) Run the uninstall.sh script and choose to uninstall the OM
    for CICS
    (cp) component. The uninstall fails and the uninstall.sh script
    aborts:
    Confirm: cp  li6263  v04.20.02.00 OMEGAMON XE for CICS on z/OS
    ... OK
    to delete? [ 1-yes, 2-no; "2" is default ]: 1
    Uninstall product cp li6263
    
    Processing pre-uninstall operations...
    Processing pre-uninstall complete.
    
    uninstall.sh failure: KCI0770E could not determine the lib arch.
    

Local fix

  • (1)Backup dynarch.shl under CANDLEHOME/bin
    (2)edit dynarch.shl, add component cp to the none libArch
    section. i.e.
    replace
      # Some products don't have a libarch
      [ "$2" = "xy" ] && libArch=binArch
      [ "$2" = "cq" ] && libArch=binArch
      [ "$2" = "cj" ] && libArch=binArch
      [ "$2" = "ui" ] && libArch=binArch
      [ "$2" = "ue" ] && libArch=binArch
      [ "$2" = "kf" ] && libArch=binArch
      [ "$2" = "iw" ] && libArch=binArch
      [ "$2" = "gs" ] && libArch=binArch
      [ "$2" = "ax" ] && libArch=binArch
      [ "$2" = "dd" ] && libArch=binArch
      [ "$2" = "cf" ] && libArch=binArch
    
    with
      # Some products don't have a libarch
      [ "$2" = "xy" ] && libArch=binArch
      [ "$2" = "cq" ] && libArch=binArch
      [ "$2" = "cj" ] && libArch=binArch
      [ "$2" = "ui" ] && libArch=binArch
      [ "$2" = "ue" ] && libArch=binArch
      [ "$2" = "kf" ] && libArch=binArch
      [ "$2" = "iw" ] && libArch=binArch
      [ "$2" = "gs" ] && libArch=binArch
      [ "$2" = "ax" ] && libArch=binArch
      [ "$2" = "dd" ] && libArch=binArch
      [ "$2" = "cf" ] && libArch=binArch
      [ "$2" = "cp" ] && libArch=binArch
    
    (3)save the file and run uninstall.sh again.
    

Problem summary

  • uninstall.sh fails when uninstalling OMEGAMON XE for CICS on
    z/OS.
    
    The uninstall.sh program removes one or more IBM Tivoli
    Monitoring components.  When removing the OMEGAMON XE for CICS
    on z/OS component (product code cp), uninstall.sh fails with
    this message:
    
       uninstall.sh failure: KCI0770E could not determine the lib
    arch.
    

Problem conclusion

  • The code was changed to enable OMEGAMON XE for CICS on z/OS to
    be removed cleanly.
    
    
    The fix for this APAR is contained in the following maintenance
    packages:
    
      | fix pack | 6.2.2-TIV-ITM-FP0008
      | fix pack | 6.2.3-TIV-ITM-FP0002
    

Temporary fix

  • Find the line '[ "$2" = "cf" ] && libArch=binArch' and
    add the line '[ "$2" = "cp" ] && libArch=binArch' after it.
    

Comments

APAR Information

  • APAR number

    IV01091

  • Reported component name

    OMEG DIST INSTA

  • Reported component ID

    5608A41CI

  • Reported release

    622

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-27

  • Closed date

    2012-01-12

  • Last modified date

    2012-05-29

  • 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

    OMEG DIST INSTA

  • Fixed component ID

    5608A41CI

Applicable component levels

  • R622 PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTFXA","label":"Tivoli Monitoring"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"622"}]

Document Information

Modified date:
30 December 2022