IBM Support

LI73483: In DB2 V9.5 db2gcf -i <instname> doesn't work

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • db2gcf -s  Is supposed to show the instance status.  'Available'
    means the instance has been started.  'Operable' means the
    instance hasn't been started, but it can be started and will
    work.
    
    Starting in v95: db2gcf -s -i <instname> Will never show
    'Available' if the environment variable DB2INSTANCE is set to
    something different than <instname>.
    
    db2gcf also fails to work correctly with -i <instname> for the
    following options:
    -u     (start)
    -d     (stop)
    -c     (cleanup)
    -k     (kill)
    

Local fix

  • 1) Set DB2INSTANCE for the user running the command.
    
    db2set DB2INSTANCE=[instance]
    
    2) Unset DB2INSTANCE
    
    csh:
    setenv DB2INSTANCE
    
    bash or ksh:
    unset DB2INSTANCE
    

Problem summary

  • See notes above.
    

Problem conclusion

  • First fixed in DB2 UDB Version 9.5, FixPak 2
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI73483

  • Reported component name

    DB2 UDE ESE LIN

  • Reported component ID

    5765F4104

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-06-06

  • Closed date

    2008-08-26

  • Last modified date

    2008-08-26

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

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

    LI73687

Fix information

  • Fixed component name

    DB2 UDE ESE LIN

  • Fixed component ID

    5765F4104

Applicable component levels

  • R950 PSY

       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":"950","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
26 August 2008