home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC65641 Status: Closed

AMBIGUOUS CURSOR IS DELETABLE BUT NOT UPDATABLE

product:
DB2 FOR LUW / DB2FORLUW / 950 - DB2
Problem description:
Description: DECLARE CURSOR results in an ambiguous cursor if 
each of the following are true: 
              - 
the select-statement is dynamically prepared        - 
the select-statement does not include either the FOR READ 
ONLYclause or the FOR UPDATE clause 
   - the LANGLEVEL bind option is SAA1 
  - the cursor otherwise satisfies the conditions of a deletable 
 cursor 
 
If the static package is bound with BLOCKING UNAMBIG or 
BLOCKING NO, the cursor should be updatable but it is not, it is 
only marked as deletable.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* DECLARE CURSOR results in an ambiguous cursor                * 
* if each of the following are true:                           * 
*                                                              * 
* - the select-statement is dynamically prepared               * 
* - the select-statement does not include either the FOR READ  * 
* ONLY clause or the FOR UPDATE clause                         * 
* - the LANGLEVEL bind option is SAA1                          * 
* - the cursor otherwise satisfies the conditions of a         * 
* deletable cursor                                             * 
*                                                              * 
* If the static package is bound with BLOCKING UNAMBIG or      * 
* BLOCKING NO, the cursor should be updatable but it is not,   * 
* it is only marked as deletable.                              * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* If the cursor needs to be updatable, either add a FOR UPDATE * 
* clause to the query or change the LANGLEVEL bind option to   * 
* MIA or SQL92E.                                               * 
****************************************************************
Local Fix:
If the cursor needs to be updatable, either add a FOR UPDATE 
clause to the query or change the LANGLEVEL bind option to MIA 
or SQL92E.
available fix packs:
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 for Linux, UNIX, and Windows

Solution
Permanent restriction
Workaround
not known / see Local fix
Comment
This will be a permanent Restriction and not fixed.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
18.01.2010
26.05.2010
26.05.2010
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)