Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Migration 7.2 to 8.1 stored procedure error

Status
Not open for further replies.

casaben

Programmer
Apr 22, 2004
5
SK
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top