473,406 Members | 2,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

SQL0906N while opening cursor

I am having an issue where I get an SQL0906N while I try to open a
cursor. The error says that the function is disabled due to a prior
error however I am not able to determine what that means.

The cursor does an insert into a table and the 'sql' itself is valid
otherwise the procedure would have errored at the "prepare" part.

Whats more confusing is that this procedure runs just fine on our TESt
environment and only starts misbehaving on the QA.

Any insights on what this could be? Are there any parameters or
registry variables which might be causing this kind of issue ?

The env is DB2 V9.1 FP2 on AIX 5.3 64Bit.

Sep 24 '07 #1
1 1885
On Sep 24, 6:33 pm, db2dude <abhyan...@gmail.comwrote:
I am having an issue where I get an SQL0906N while I try to open a
cursor. The error says that the function is disabled due to a prior
error however I am not able to determine what that means.

The cursor does an insert into a table and the 'sql' itself is valid
otherwise the procedure would have errored at the "prepare" part.

Whats more confusing is that this procedure runs just fine on our TESt
environment and only starts misbehaving on the QA.

Any insights on what this could be? Are there any parameters or
registry variables which might be causing this kind of issue ?

The env is DB2 V9.1 FP2 on AIX 5.3 64Bit.

Turns out the problem was due to DB2_SETUID_COMM_BUFFER registry
variable being set. The resolution was to compile the procedure with
BLOCKING ALL (other option was to unset the registry variable or
increase the aslheap/rqrioblk which we did not try).

Sep 25 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rahul Sood | last post by:
In SQL how can a cursor be opened to iterate the result set returned from a stored proc -Rahul Sood rsood22@yahoo.com
2
by: Jawahar Rajan | last post by:
All, I have a printer friendly page that is opened when a user clicks a link on my page to get the printer friendly version, How ever when they close out the printer friendly version and return to...
14
by: D. Alvarado | last post by:
Hello, I am trying to open a window containing an image and I would like the image to be flush against the window -- i.e. have no padding or border. Can I make this happen with a single call to a...
3
by: Simon Rowe | last post by:
Probably really simple but I cant work it out... I have a list box on a form with a few records in. When I open the form the first record is sort of highlight with a dashed box, when I cursor...
1
by: celoftis | last post by:
BACKGROUND: I have some PPT slides that have been converted to HTM (ensuring that the show slide animations while browsing checkbox is checked). The original HTM slides have custom animations to...
0
by: ravitunk | last post by:
can anyone tell me how to open a popup window(.aspx page) on Mouse Rollover...everytime cursor is moved to a row of a gridview..this should also send a parameter to the popup window....where the...
3
by: EManning | last post by:
I''m having problems getting a form to open while going from one tab to another. I have a tab control: one tab for counties and one tab for cities. Both tabs have multi-select listboxes. If...
2
by: Florian Lindner | last post by:
Hello, I have a function that executes a SQL statement with MySQLdb: def executeSQL(sql, *args): print sql % args cursor = conn.cursor() cursor.execute(sql, args) cursor.close() it's...
3
by: robert | last post by:
Mr. Kyte's article doesn't use cursors, while Mr. Feuerstein's book examples do. my recollection of conventional wisdom is to avoid using cursors. is this difference merely a question of style,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.