473,386 Members | 1,736 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,386 software developers and data experts.

Transfer Java stored procedures from v7.2 to v8.1 problems

ben
We have been able to restore a database backup made on DB 7.2 in DB2
8.1. But now, while trying to rebuild the stored procedures which
reside
in our database, we receive the following error :

Error: -rootpkgname value must be between 1 and 7 characters

And the build fails.

If we look at the packagename we see this is 8 characters long (e.g.
S1234567).
This was no problem in the previous DB2 7.2 version. Just changing the
package name (by deleting the last
character) doesn't resolve the issue, we just get a different error :

[IBM][CLI Driver][DB2/NT] SQL20204N The user defined function or
procedure "UBENCH.UBS_SALE_GETDATA" was unable to map to a single Java
method. LINE NUMBER=6. SQLSTATE=46008

and the build fails, no matter how many methods there are in the Java code...

We use DB2 8.1.5 Enterprise Edition for Windows, running on Windows
2000
Server SP4.

Is there another way to transfer the stored procedures ?
Thanks !
Nov 12 '05 #1
0 1276

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

Similar topics

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"...
4
by: Rhino | last post by:
Is it possible for a Java Stored Procedure in DB2 V7.2 (Windows) to pass a Throwable back to the calling program as an OUT parameter? If yes, what datatype should I use when registering the...
0
by: ben | last post by:
We have been able to restore a database backup made on DB 7.2 in DB2 8.1. But now, while trying to rebuild the stored procedures which reside in our database, we receive the following error : ...
2
by: Kent Lewandowski | last post by:
hi all, Recently I wrote some stored procedures using java jdbc code (admittedly my first stab) and then tried to implement the same within java packages (for code reuse). I encountered...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.