IBM Support

IC69110: SQL0901N MAY BE RETURNED FROM RUNNING A QUERY (this->oprprd.op()!= NULLP).

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • SQL0901N may be returned when running a query.
    
    
    The complete error message may look like this:
    
    SQL0901N  The SQL statement failed because of a non-severe
    system error.
    Subsequent SQL statements can be processed.  (Reason
    "this->oprprd.op() !=
    NULLP".)  SQLSTATE=58004
    
    
    
    db2diag messages may look as follows:
    
    2010-06-08-06.03.20.903000-240 I42694F869         LEVEL: Severe
    PID     : 3692                 TID  : 2772        PROC :
    db2syscs.exe
    INSTANCE: DB2                  NODE : 000         DB   : SAMPLE
    APPHDL  : 0-2688               APPID: GA070292.HC0F.127D08100227
    AUTHID  : db2inst1
    EDUID   : 2772                 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: 26
     sqlerrmc: this->oprprd.op() != NULLP
     sqlerrp : SQLNQ0CA
     sqlerrd : (1) 0x00000000      (2) 0x00000000      (3)
    0x00000000
               (4) 0x00000000      (5) 0xFFFFFECA      (6)
    0x00000000
     sqlwarn : (1)      (2)      (3)      (4)        (5)       (6)
               (7)      (8)      (9)      (10)        (11)
     sqlstate:
    
    
    2010-06-08-06.03.22.950000-240 E68922F849         LEVEL: Info
    (Origin)
    PID     : 3692                 TID  : 2772        PROC :
    db2syscs.exe
    INSTANCE: DB2                  NODE : 000         DB   : SAMPLE
    APPHDL  : 0-2688               APPID: GA070292.HC0F.127D08100227
    AUTHID  : db2inst1
    EDUID   : 2772                 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, 302 bytes
    Compiler error stack for rc = -2144272209:
    sqlnn_cmpl[370]
    sqlnr_exe[1200]
    sqlnr_rcc[100]
    sqlnr_seq[100]
    sqlnr_comp[110]
    sqlnr_optprep_action[100]
    sqlnr_optprep[660]
    sqlnr_inject_sel4nonlocal[700]
    sqlnq_qur::remove_orphaned[120]
    sqlnq_qtb::box_drop_ts[120]
    sqlnq_opr::drop[200]
    sqlnq_opr::destroy[310]
    

Local fix

  • As a temporary workaround, might want to try the reduced
    optimization level.
    
    For Ex:
    
    
    
    db2 set current query optimization 3
    
    NOTE: This might not work for all cases.
    

Problem summary

  • SQL0901N MAY BE RETURNED FROM RUNNING A QUERY (this->oprprd.op()
    != NULLP).
    

Problem conclusion

  • Fixed in DB2 V97FP3
    
    LOCAL FIX:
    As a temporary workaround, might want to try the reduced
    optimization level.
    
    For Ex:
    
    
    
    db2 set current query optimization 3
    
    NOTE: This might not work for all cases.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC69110

  • 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-06-10

  • Closed date

    2010-09-29

  • Last modified date

    2010-09-29

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

    JR36821

  • 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 PSY

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