IBM Support

IT36888: A SQL STATEMENT CAUSES THE AGENT TO TRAP

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Problem: A SQL statement causes the agent to trap.
    
    The symptom is the -901 message in the db2diag.log:
    
    FUNCTION: DB2 UDB, relation data serv, sqlrr_dump_ffdc,
    probe:250
    DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
     sqlcaid : SQLCA     sqlcabc: 136   sqlcode: -901   sqlerrml: 52
     sqlerrmc: CDE TQ truncation at input required and unsupported.
     sqlerrp : SQLNO1A8
     sqlerrd : (1) 0x00000000      (2) 0x00000000      (3)
    0x00000000
               (4) 0x00000000      (5) 0xFFFFFE93      (6)
    0x00000000
     sqlwarn : (1)      (2)      (3)      (4)        (5)       (6)
    
               (7)      (8)      (9)      (10)        (11)
     sqlstate:
    
    followed by dumping of FODC data and then a trap. The stack
    traceback file in the FODC_AppErr... directory will have the
    following functions listed (showing just an excerpt):
    
    ...
    x090000000...B58 sqlrr_dump_ffdc__...
    0x090000000...E38 sqlzeDumpFFDC__...
    0x090000000...91C sqlzeSqlCode__...
    0x090000000...A10 sqlnn_erds__...
    0x09000000...5A4 sqlno_prop_tq__...
    0x09000000...46C sqlno_reeval_cost__...
    0x09000000...1AC sqlnoSmpTransformPass__...
    ...
    
    The stack traceback file in the FODC_Trap... directory might
    have something similar, or it might not have a traceback
    available at all.
    

Local fix

  • As a workaround, you can run the failing query at DEGREE 1
    instead.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to 11.1.4.7                                          *
    ****************************************************************
    

Problem conclusion

  • Upgrade to 11.1.4.7
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT36888

  • 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

    2021-05-13

  • Closed date

    2022-04-17

  • Last modified date

    2022-04-17

  • 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 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RB10 PSN

       UP

  • RB10 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 May 2022