IBM Support

LI75186: DB2DIAG RETURN CODE IS 0 REGARDLESS OF MATCHES WERE FOUND OR NOT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Regardless of matches were found or not, db2diag always returns
    0.
    For example:
    
    $ db2diag -l Critical
    
    $ echo $?
    0
    
    $ db2diag -l Error
    2010-01-07-15.43.23.068247-300 E5614458E495        LEVEL: Error
    PID     : 12345                TID  : 183102335328 PROC :
    db2sysc
    INSTANCE: dbguest1             NODE : 000
    EDUID   : 1                    EDUNAME: db2sysc
    FUNCTION: DB2 UDB, common communication, sqlcctcpconnmgr,
    probe:50
    MESSAGE : ADM7006E  The SVCENAME DBM configuration parameter was
    not
              configured.  Update the SVCENAME configuration
    parameter using the
              service name defined in the TCP/IP services file.
    
    $ echo $?
    0
    
    The exit code should be 1 if no matches were found.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * DB2DIAG RETURN CODE IS 0 REGARDLESS OF MATCHES WERE FOUND    *
    * ORNOT                                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to FixPak 6 or later                                 *
    ****************************************************************
    

Problem conclusion

  • First fixed in V9.5 FixPak 6
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI75186

  • 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

    2010-01-17

  • Closed date

    2010-06-10

  • Last modified date

    2010-06-10

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

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

    IC65702

Fix information

  • Fixed component name

    DB2 UDE ESE LIN

  • Fixed component ID

    5765F4104

Applicable component levels

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

Document Information

Modified date:
10 June 2010