Skip to main content

IC89361: FOR INSERTED ROWS, THE SELECT QUERY AGAINST HOST SERVER RETURNS DATETIME TYPE DATA AS 0.


Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • For Inserted rows, the select query against Host Server returns
    datetime type data as 0. The code page conversion at the time of
    bind out for inserted rows is causing this issue.
    Below result shows the expected output and current output. This
    issue is in V97FP7 only.
    
    < Element [11] Contents: Year: 2001, Month: 12, Day: 31
    < Hour: 12, Minute: 30, Second: 10, Fraction: 123000
    ---
    > Element [11] Contents: Year: 0, Month: 0, Day: 0
    > Hour: 0, Minute: 0, Second: 0, Fraction: 0
    
    This difference is seen as a part of the output of API
    
    > list memarray 1
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Against host server, when date-time type data is inserted    *
    * and selected for the same statement handle in mem-array      *
    * without commit using SQLFetchScroll.                         *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to db2_v97fp8 or later release.                      *
    ****************************************************************
    

Problem conclusion

  • db2_v97fp8 contains fix of this issue. After fix, the correct
    output will display.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC89361

  • Reported component name

    DB2 CONNECT

  • Reported component ID

    DB2CONNCT

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-03

  • Closed date

    2013-04-01

  • Last modified date

    2013-04-01

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

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

Fix information

  • Fixed component name

    DB2 CONNECT

  • Fixed component ID

    DB2CONNCT

Applicable component levels

  • R970 PSY

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

DB2 for Linux, UNIX and Windows


Software version:
9.7


Reference #:
IC89361


Modified date:
2013-04-01

Translate my page

Content navigation