473,406 Members | 2,259 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.

VB.Net (OLE) Stored Procedure problem

I am running DB2 v7.2.9 (DB2 7.2 FP 11) and have created a VB Class in
VB.NET. This class contains several UDF's and a stored procedure. DB2 has
no problem calling the UDF's, but for some reason will not call the stored
procedure. It simply returns the argument I passed with a return code of 0.

However, when I take the same code and backport it to VB 6, the stored
procedure call works fine.

Any ideas?

Thanks in advance.

David Sarge
Nov 12 '05 #1
2 2807
This is correct; V7 has inadequate .NET support. VB6 may be OK (or it may
not, the DB2 OLE driver is problematic anway). Search back through this NG
for related questions and announcements of .NET providers for DB2 V8.

"David Sarge" <et*****@yahoo.com> wrote in message
news:s_****************@bignews5.bellsouth.net...
I am running DB2 v7.2.9 (DB2 7.2 FP 11) and have created a VB Class in
VB.NET. This class contains several UDF's and a stored procedure. DB2 has no problem calling the UDF's, but for some reason will not call the stored
procedure. It simply returns the argument I passed with a return code of 0.
However, when I take the same code and backport it to VB 6, the stored
procedure call works fine.

Any ideas?

Thanks in advance.

David Sarge

Nov 12 '05 #2
Since we are a .NET shop, and are not using DB2 v8 yet because of bugs and a
seemingly unlimited number of patches to the OS/390 version to make it play
well with UDB, we are holding off on our upgrade to v8. However, I believe
we can get by until then by making UDF calls instead of SP calls.

Thanks,

David Sarge

"Mark Yudkin" <my***********************@nospam.org> wrote in message
news:bt**********@ngspool-d02.news.aol.com...
This is correct; V7 has inadequate .NET support. VB6 may be OK (or it may
not, the DB2 OLE driver is problematic anway). Search back through this NG
for related questions and announcements of .NET providers for DB2 V8.

"David Sarge" <et*****@yahoo.com> wrote in message
news:s_****************@bignews5.bellsouth.net...
I am running DB2 v7.2.9 (DB2 7.2 FP 11) and have created a VB Class in
VB.NET. This class contains several UDF's and a stored procedure. DB2 has
no problem calling the UDF's, but for some reason will not call the stored procedure. It simply returns the argument I passed with a return code

of 0.

However, when I take the same code and backport it to VB 6, the stored
procedure call works fine.

Any ideas?

Thanks in advance.

David Sarge


Nov 12 '05 #3

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

Similar topics

7
by: Niall Porter | last post by:
Hi all, I'm building an ASP app on a Windows 2000/IIS machine which interfaces with our SQL Server 2000 database via OLE DB. Since we're based in the UK I want the users to be able to type in...
0
by: Andre | last post by:
I have an Access database (images.mdb) that has 2 columns: one is the id of the picture (an integer) and one (column named picture) is a field of type OLE Object which contains an image stored as...
2
by: sbw | last post by:
Hi. I have an app which uses multiple databases and I would like to know if there is a way to connect to different databases through OLEdb (or any other connection string) which allows me to...
3
by: Rhino | last post by:
I've spent the last couple of hours trying to figure out how to debug a Java stored procedure and am just going in circles. The last straw came when I got "Cannot open input stream for default"...
3
by: Sandi | last post by:
I have a simple problem: I have an Access database (images.mdb) that has 2 columns: one is the id if the picture (an integer) and one (column named picture) is a field of type OLE Object which...
8
by: Jon Weston | last post by:
I'm setting up an Access2003 database with pictures. I put a bound ole picture ctrl on a form that's source is the table that contains the pictures and follow ALL the directions for embedding a...
7
by: Dabbler | last post by:
I'm using an ObjectDataSource with a stored procedure and am getting the following error when trying to update (ExecuteNonQuery): System.Data.SqlClient.SqlException: Procedure or Function...
1
by: veronique.brenda | last post by:
Hi, I have a macro on Ms Access 2000 with an action: SetValue; Item: !. and Expression:Yes. I have an OpenForm action just before this action, so definitely the form is opened when the...
1
by: vidhyaprem | last post by:
i have started a small project in visual basic regarding the stock details in our textile company.It has details like product id,product name,no of items,product picture etc.. so i have created a...
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: 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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.