IBM Support

IC67480: CLI KEYWORD TRACESTMTONLY=1 CAUSES CLI TRACE TO NOT DISPLAY RETURN CALL TO SQLEXECUTEOLEDB()

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In a full CLI trace, a call to SQLExecuteOLEDB() should look
    similar to the following:
    
    SQLExecuteOLEDB( hStmt=2:1, ulNumBindings=0, rgpBindings=<NULL
    pointer>, rgParamInfo=<NULL pointer>, pRowData=<NULL pointer> )
        ---> Time elapsed - +2.100000E-005 seconds
    ( Package="SYSSH200          ", Section=4 )
    ( Requested Cursor Attributes=3 )
    ( Reply Cursor Attributes=524298 )
    ( Actual Cursor Attributes=524299 )
    
    SQLExecuteOLEDB( pColCount=1, pRowsAffected=-1 )
        <--- SQL_SUCCESS   Time elapsed - +1.448000E-003 seconds
    
    When TRACESTMTONLY=1 is set in the CLI configuration only a
    single call like the following will be displayed
    
    SQLExecuteOLEDB( pszSqlStr="SELECT * FROM sysibm.sysdummy1 " )
        ---> Time elapsed - 0 seconds
    
    This fix will enable displaying the return call to
    SQLExecuteOLEDB() in the <--- direction to be displayed
    

Local fix

  • Use TRACESTMTONLY=0 in order to see the return call to
    SQLExecuteOLEDB()
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * DB2 LUW v9.7                                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * CLI KEYWORD TRACESTMTONLY=1 CAUSES CLI TRACE TO NOT          *
    * DISPLAYRETURN CALL TO SQLEXECUTEOLEDB()                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 LUW v9.7 Fixpak 3                             *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 LUW v9.7 Fixpak 3
    

Temporary fix

  • Use TRACESTMTONLY=0 in order to see the return call to
    SQLExecuteOLEDB()
    

Comments

APAR Information

  • APAR number

    IC67480

  • 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

    2010-03-26

  • Closed date

    2010-09-27

  • Last modified date

    2010-09-27

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

    IC67367

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

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:
27 September 2010