IC86835: SQL STATEMENT FAILS WITH SQL0901N (REASON "ASSERT ZZJN DIM TEMP TAOB HAS A DUMMY RESID ")

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • SQL STATEMENT FAILS WITH SQL0901N (REASON "ASSERT ZZJN DIM TEMP
    TAOB HAS A DUMMY RESID ")
    
    db2diag.log will have entries like below :
    
    2012-09-20-11.51.46.913440+600 I59892786E928         LEVEL:
    Severe
    PID     : 1834                 TID : 140236461959440 PROC :
    db2sysc
    INSTANCE: db2inst1             NODE : 000            DB   :
    SAMPLE
    APPHDL  : 0-11855              APPID:
    *LOCAL.db2inst1.120920015057
    AUTHID  : DB2INST1             HOSTNAME: hostname1
    EDUID   : 15958                EDUNAME: db2agent (SAMPLE)
    FUNCTION: DB2 UDB, relation data serv, sqlrr_dump_ffdc,
    probe:300
    DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
     sqlcaid : SQLCA     sqlcabc: 136   sqlcode: -901   sqlerrml: 70
     sqlerrmc: assert zzjn dim temp taob has a dummy resid
    
     sqlerrp : SQLNG217
     sqlerrd : (1) 0x00000000      (2) 0x00000000      (3)
    0x00000000
               (4) 0x00005EA1      (5) 0xFFFFE1AE      (6)
    0x00000000
     sqlwarn : (1)      (2)      (3)      (4)        (5)       (6)
    
               (7)      (8)      (9)      (10)        (11)
     sqlstate:
    .
    .
    2012-09-20-11.51.46.987571+600 E59953976E2314        LEVEL: Info
    (Origin)
    PID     : 1834                 TID : 140236461959440 PROC :
    db2sysc
    INSTANCE: db2inst1             NODE : 000            DB   :
    SAMPLE
    APPHDL  : 0-11855              APPID:
    *LOCAL.db2inst1.120920015057
    AUTHID  : DB2INST1             HOSTNAME: hostname1
    EDUID   : 15958                EDUNAME: db2agent (SAMPLE)
    FUNCTION: DB2 UDB, SW- common services, sqlnn_cmpl, probe:650
    MESSAGE : ZRC=0x803100AF=-2144272209=SQLNN_E_BADNEWS
              "unexpected error but state is OK"
    DATA #1 : String, 62 bytes
    An unexpected error was detected during statement compilation.
    DATA #2 : Boolean, 1 bytes
    true
    DATA #3 : Boolean, 1 bytes
    false
    DATA #4 : Boolean, 1 bytes
    true
    DATA #5 : Boolean, 1 bytes
    false
    DATA #6 : Hex integer, 4 bytes
    0x00000000
    DATA #7 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
     sqlcaid : SQLCA     sqlcabc: 136   sqlcode: -901   sqlerrml: 70
     sqlerrmc: assert zzjn dim temp taob has a dummy resid
    
     sqlerrp : SQLNG217
     sqlerrd : (1) 0x801A006D      (2) 0x00000000      (3)
    0x00000000
               (4) 0x00005EA1      (5) 0xFFFFE1AE      (6)
    0x00000000
     sqlwarn : (1)      (2)      (3)      (4)        (5)       (6)
    
               (7)      (8)      (9)      (10)        (11)
     sqlstate:
    DATA #8 : Hex integer, 4 bytes
    0x00000040
    DATA #9 : String, 952 bytes
    Compiler error stack for rc = -2144272209:
    sqlnn_cmpl[415]
    sqlng_main[3216]
    sqlng_main[1693]
    sqlng_build_thread[851]
    sqlngProcessLolepop[541]
    sqlng_process_return_op[1666]
    sqlngProcessLolepop[541]
    sqlng_process_pipe_op[879]
    sqlngProcessLolepop[541]
    sqlng_process_mate_op[1481]
    sqlngProcessLolepop[541]
    sqlng_scan_derived_table[3411]
    sqlng_build_thread[851]
    sqlngProcessLolepop[541]
    sqlng_process_sort_op[7579]
    sqlngProcessLolepop[541]
    sqlng_process_pipe_op[879]
    sqlngProcessLolepop[541]
    sqlng_process_mate_op[1481]
    sqlngProcessLolepop[541]
    sqlng_process_set_op[11048]
    sqlng_build_SET_op[11449]
    sqlng_build_thread[851]
    sqlngProcessLolepop[541]
    sqlng_process_pipe_op[879]
    sqlngProcessLolepop[541]
    sqlng_process_mate_op[1481]
    sqlngProcessLolepop[541]
    sqlng_process_nljn_op[4700]
    sqlng_build_thread[851]
    sqlngProcessLolepop[541]
    sqlng_process_zigzag_op[8303]
    sqlngZZBackJoin[7156]
    sqlngProcessLolepop[541]
    sqlng_process_f_ioa[7056]
    sqlngProcessLolepop[541]
    

Local fix

  • Disable the use of automatic statistics profiling by setting the
    AUTO_STATS_PROF db config parameter to OFF.
    

Problem summary

  • SQL STATEMENT FAILS WITH SQL0901N (REASON "ASSERT ZZJN DIM TEMP
    TAOB HAS A DUMMY RESID ")
    
    db2diag.log will have entries like below :
    
    2012-09-20-11.51.46.913440+600 I59892786E928         LEVEL:
    Severe
    PID     : 1834                 TID : 140236461959440 PROC :
    db2sysc
    INSTANCE: db2inst1             NODE : 000            DB   :
    SAMPLE
    APPHDL  : 0-11855              APPID:
    *LOCAL.db2inst1.120920015057
    AUTHID  : DB2INST1             HOSTNAME: hostname1
    EDUID   : 15958                EDUNAME: db2agent (SAMPLE)
    FUNCTION: DB2 UDB, relation data serv, sqlrr_dump_ffdc,
    probe:300
    DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
     sqlcaid : SQLCA     sqlcabc: 136   sqlcode: -901   sqlerrml: 70
     sqlerrmc: assert zzjn dim temp taob has a dummy resid
    
     sqlerrp : SQLNG217
     sqlerrd : (1) 0x00000000      (2) 0x00000000      (3)
    0x00000000
               (4) 0x00005EA1      (5) 0xFFFFE1AE      (6)
    0x00000000
     sqlwarn : (1)      (2)      (3)      (4)        (5)       (6)
    
               (7)      (8)      (9)      (10)        (11)
     sqlstate:
    .
    .
    2012-09-20-11.51.46.987571+600 E59953976E2314        LEVEL: Info
    (Origin)
    PID     : 1834                 TID : 140236461959440 PROC :
    db2sysc
    INSTANCE: db2inst1             NODE : 000            DB   :
    SAMPLE
    APPHDL  : 0-11855              APPID:
    *LOCAL.db2inst1.120920015057
    AUTHID  : DB2INST1             HOSTNAME: hostname1
    EDUID   : 15958                EDUNAME: db2agent (SAMPLE)
    FUNCTION: DB2 UDB, SW- common services, sqlnn_cmpl, probe:650
    MESSAGE : ZRC=0x803100AF=-2144272209=SQLNN_E_BADNEWS
              "unexpected error but state is OK"
    DATA #1 : String, 62 bytes
    An unexpected error was detected during statement compilation.
    DATA #2 : Boolean, 1 bytes
    true
    DATA #3 : Boolean, 1 bytes
    false
    DATA #4 : Boolean, 1 bytes
    true
    DATA #5 : Boolean, 1 bytes
    false
    DATA #6 : Hex integer, 4 bytes
    0x00000000
    DATA #7 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
     sqlcaid : SQLCA     sqlcabc: 136   sqlcode: -901   sqlerrml: 70
     sqlerrmc: assert zzjn dim temp taob has a dummy resid
    
     sqlerrp : SQLNG217
     sqlerrd : (1) 0x801A006D      (2) 0x00000000      (3)
    0x00000000
               (4) 0x00005EA1      (5) 0xFFFFE1AE      (6)
    0x00000000
     sqlwarn : (1)      (2)      (3)      (4)        (5)       (6)
    
               (7)      (8)      (9)      (10)        (11)
     sqlstate:
    DATA #8 : Hex integer, 4 bytes
    0x00000040
    DATA #9 : String, 952 bytes
    Compiler error stack for rc = -2144272209:
    sqlnn_cmpl[415]
    sqlng_main[3216]
    sqlng_main[1693]
    sqlng_build_thread[851]
    sqlngProcessLolepop[541]
    sqlng_process_return_op[1666]
    sqlngProcessLolepop[541]
    sqlng_process_pipe_op[879]
    sqlngProcessLolepop[541]
    sqlng_process_mate_op[1481]
    sqlngProcessLolepop[541]
    sqlng_scan_derived_table[3411]
    sqlng_build_thread[851]
    sqlngProcessLolepop[541]
    sqlng_process_sort_op[7579]
    sqlngProcessLolepop[541]
    sqlng_process_pipe_op[879]
    sqlngProcessLolepop[541]
    sqlng_process_mate_op[1481]
    sqlngProcessLolepop[541]
    sqlng_process_set_op[11048]
    sqlng_build_SET_op[11449]
    sqlng_build_thread[851]
    sqlngProcessLolepop[541]
    sqlng_process_pipe_op[879]
    sqlngProcessLolepop[541]
    sqlng_process_mate_op[1481]
    sqlngProcessLolepop[541]
    sqlng_process_nljn_op[4700]
    sqlng_build_thread[851]
    sqlngProcessLolepop[541]
    sqlng_process_zigzag_op[8303]
    sqlngZZBackJoin[7156]
    sqlngProcessLolepop[541]
    sqlng_process_f_ioa[7056]
    sqlngProcessLolepop[541]
    

Problem conclusion

  • First fixed in DB2 Version 10.1 FP3.
    

Temporary fix

  • Disable the use of automatic statistics profiling by setting the
    AUTO_STATS_PROF db config parameter to OFF.
    

Comments

APAR Information

  • APAR number

    IC86835

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-26

  • Closed date

    2013-10-01

  • Last modified date

    2013-10-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 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RA10 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

DB2 for Linux, UNIX and Windows

Software version:

10.1

Reference #:

IC86835

Modified date:

2013-10-01

Translate my page

Machine Translation

Content navigation