IBM Support

IC69230: UNKNOWN OPTION IN DB2CLI FOR PING-DB

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An option 'unknown' is seen with the output of Ping-DB
    attributes
    ex:
    > SQLGetconnectattr 1 sql_attr_ping_request_packet_size
    SQLGetConnectAttr: rc = 0 (SQL_SUCCESS)
    Option (Unknown) = 1
    Output length = 4
    > SQLGetconnectattr 1 sql_attr_ping_ntimes
    SQLGetConnectAttr: rc = 0 (SQL_SUCCESS)
    Option (Unknown) = 32767
    Output length = 4
    
    This is confusing to the user.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All platforms, db2cli users                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * An option 'unknown' is seen with the output of Ping-DB       *
    *                                                              *
    * attributes                                                   *
    *                                                              *
    * ex:                                                          *
    *                                                              *
    * > SQLGetconnectattr 1 sql_attr_ping_request_packet_size      *
    *                                                              *
    * SQLGetConnectAttr: rc = 0 (SQL_SUCCESS)                      *
    *                                                              *
    * Option (Unknown) = 1                                         *
    *                                                              *
    * Output length = 4                                            *
    *                                                              *
    * > SQLGetconnectattr 1 sql_attr_ping_ntimes                   *
    *                                                              *
    * SQLGetConnectAttr: rc = 0 (SQL_SUCCESS)                      *
    *                                                              *
    * Option (Unknown) = 32767                                     *
    *                                                              *
    * Output length = 4                                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to db2_v97fp3 or later version                       *
    ****************************************************************
    

Problem conclusion

  • db2_v97fp3
    The option value will be given appropriately.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC69230

  • Reported component name

    DB2 CONNECT

  • Reported component ID

    DB2CONNCT

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-06-15

  • Closed date

    2010-09-16

  • Last modified date

    2010-09-16

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

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

    IC69671

Fix information

  • Fixed component name

    DB2 CONNECT

  • Fixed component ID

    DB2CONNCT

Applicable component levels

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

Document Information

Modified date:
16 September 2010