IBM Support

IT20683: CLP NOT PROPAGATING SQLCA

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When DB2 CLP receives an error, the SQLCA should contain the
    error.  In the example below, SQL0413 fails to be returned to
    SQLCA.
    
    db2 -a "call TEST2(?,?,?)"
    
      Value of output parameters
      --------------------------
      Parameter Name  : OUT_SQLCODE
      Parameter Value : -
    
      Parameter Name  : OUT_SQLSTATE
      Parameter Value : -
    
      Parameter Name  : OUT_MESSAGE_TEXT
      Parameter Value : -
    
    
      Result set 1
      --------------
    
      COL1_ID     2
      ----------- --------------------
                1  9223372036854775807
    
    SQL0413N  Overflow occurred during numeric data type conversion.
    SQLSTATE=22003
      Return Status = 0
    
    SQLCA Information
    
    sqlcaid : SQLCA     sqlcabc: 136   sqlcode: 0   sqlerrml: 0
    sqlerrmc:
    sqlerrp : SQL10057
    sqlerrd : (1) 0                (2) 0                (3) -1
               (4) 0                (5) 0                (6) 0
    sqlwarn : (1)      (2)      (3)      (4)        (5)       (6)
               (7)      (8)      (9)      (10)       (11)
    sqlstate: 00000
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * DB2 CLP                                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply v11.1 M3 Fixpack 3 to DB2 Server                       *
    ****************************************************************
    

Problem conclusion

  • First fixed in v11.1 M3 Fixpack 3.
    

Temporary fix

  • See LOCAL FIX.
    

Comments

APAR Information

  • APAR number

    IT20683

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-05-19

  • Closed date

    2018-03-15

  • Last modified date

    2018-03-15

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

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

    IT20799 IT20800 IT20801

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

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

Document Information

Modified date:
15 March 2018