IBM Support

IC80306: PROPER MESSAGE IS NOT THROWN WHEN DB2CLI INSTALL -CLEANUP -FORCE OPTION IS USED AFTER DB2CLI INSTALL -CLEANUP OPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Proper message is not thrown when db2cli install -cleanup -force
    option is used after db2cli install -cleanup option
    after db2cli install -cleanup option
    
    Steps:
    
    1) Register CLI driver without using appdatapath option
    2) Verify that all the folders are created in the default dir:
    
    C:\Documents and Settings\All Users\Application Data\IBM\DB2
    
    3) Unregister CLI driver with the below option
    db2cli install -cleanup
    
    Below error is thrown:
    
    C:\ibm_data_server_driver_for_odbc_cli\clidriver\bin>db2cli
    install -cleanup
    IBM DATABASE 2 Interactive CLI Sample Program
    (C) COPYRIGHT International Business Machines Corp. 1993,1996
    All Rights Reserved
    Licensed Materials - Property of IBM
    US Government Users Restricted Rights - Use, duplication or
    disclosure restricted by GSA ADP Schedule Contract with IBM
    Corp.
    
    The IBM Data Server Driver for ODBC and CLI unregistered
    successfully.
    The configuration files and folders are removed successfully
    from
    C:\Documents and Settings\All Users\Application
    Data\IBM\DB2\C_ibm_data_server_d
    river_for_odbc_cli_clidriver
    
    Note: User-created files and sub-folders are untouched (can
    beremoved using -force sub-option).
    
    4) Now again run the below command to remove the directories:
    
    db2cli install -cleanup -force
    
    With this command we get the below output:
    
    C:\ibm_data_server_driver_for_odbc_cli\clidriver\bin>db2cli
    install -cleanup -fo
    rce
    IBM DATABASE 2 Interactive CLI Sample Program
    (C) COPYRIGHT International Business Machines Corp. 1993,1996
    All Rights Reserved
    Licensed Materials - Property of IBM
    US Government Users Restricted Rights - Use, duplication or
    disclosure restricted by GSA ADP Schedule Contract with IBM
    Corp.
    
    Error: The install operation failed.
    
    But since the folders and sub folders are removed with this
    command proper message should be thrown that folders and sub
    folders are removed. The above error message which we get during
    that command gives and wrong information to user.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * db2cli users                                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * upgrade to db2_v97fp6 or later                               *
    ****************************************************************
    

Problem conclusion

  • problem fixed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC80306

  • 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-12-08

  • Closed date

    2012-06-12

  • Last modified date

    2012-11-06

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

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

    IC83842

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
06 November 2012