IBM Support

IT02129: ERRATIC VALUES WHEN RUNNING SPL WITH VIEW, YOU MIGHT GET -1260 ,-1201, -9791 OR JUST RETURN NO DATA

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When running the included SPL, first time run might return
    correct data, subsequent runs of same SPL can result into -1260,
    -1201, -9791 or just return no data at all if index is used.
    
    You'll get the following stacks if error is trapped (-1260 &
    -1201):
    
    (oninit) scan_next
    (oninit) join_next
    (oninit) join_next
    (oninit) join_next
    (oninit) join_next
    (oninit) join_next
    (oninit) join_next
    (oninit) join_next
    (oninit) merge_next
    (oninit) sort_open
    (oninit) filltemp
    (oninit) scan_open
    (oninit) materialize_viewtmp
    (oninit) prepselect
    (oninit) open_cursor
    (oninit) ip_scurstart
    (oninit) ip_evalcursor
    (oninit) runproc
    (oninit) udrlm_spl_execute
    (oninit) udrlm_exec_routine
    (oninit) udr_execute
    (oninit) ip_curnext
    (oninit) ip_fetch
    (oninit) getrow
    (oninit) fetchrow
    (oninit) exfetch
    (oninit) sql_nfetch
    (oninit) sq_nfetch
    (oninit) sqmain
    (oninit) spawn_thread
    (oninit) th_init_initgls
    (oninit) startup
    
    
    
      siginfo: <NULL>
    
    
    (oninit)afstack
    (oninit)afhandler
    (oninit)affail_interface
    (oninit)mt_ex_throw_sig
    (oninit)afsig_handler
    <>__kernel_sigtramp_rt64
    (*nosymtab*)0x20000000000002
    (oninit)deccvascint
    (oninit)dotodecimalint
    (oninit)tolong
    (oninit)rvaldataInt
    (oninit)valstore
    (oninit)loadkey
    (oninit)loadidxkey
    (oninit)loadindex_bounds
    (oninit)readidx_new
    (oninit)gettupl
    (oninit)materialize_viewtmp
    (oninit)prepselect
    (oninit)join_open
    (oninit)join_open
    (oninit)join_open
    (oninit)join_open
    (oninit)join_open
    (oninit)merge_open
    (oninit)sort_open
    (oninit)filltemp
    (oninit)scan_open
    (oninit)materialize_viewtmp
    (oninit)prepselect
    (oninit)open_cursor
    (oninit)ip_scurstart
    (oninit)ip_evalcursor
    (oninit)runproc
    (oninit)udrlm_spl_execute
    (oninit)udrlm_exec_routine
    (oninit)udr_execute
    (oninit)ip_curnext
    (oninit)ip_fetch
    (oninit)getrow
    (oninit)fetchrow
    (oninit)exfetch
    (oninit)sql_nfetch
    (oninit)sq_nfetch
    (oninit)sqmain
    (oninit)spawn_thread
    (oninit)th_init_initgls
    (oninit)startup
    (oninit)startup
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All 11.70 users.                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Execution of a stored procedure may return unexpected        *
    * results under the following conditions:                      *
    *  - a query inside the stored procedure references a view or  *
    * derived table                                                *
    *  - the view or derived table is materialized into a temp     *
    * table                                                        *
    *  - there exists a predicate in the main query that           *
    * references a view column, in the form of "view_col IN <VAR>" *
    * where <VAR> is a procedure variable containing multiple      *
    * values in a list                                             *
    *  - the procedure is executed multiple times                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to IDS-11.70.xC9                                      *
    ****************************************************************
    

Problem conclusion

  • Problem Fixed In IDS-11.70.xC9
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT02129

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    B70

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-05-30

  • Closed date

    2017-06-09

  • Last modified date

    2017-06-09

  • 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

    INFORMIX SERVER

  • Fixed component ID

    5725A3900

Applicable component levels

  • RB70 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B70","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
09 June 2017