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

db2 migration problem

I recently migrated a db2 v7 to db2 v8 and it worked perfect, all
stored procs etc are there and they are executable but ... I cant edit
(through Development Center) the java stored procedures because the
source is missing ! I have tried to find the source on the old server
but I cant find it so does anyone know where the source for java stored
procedure are located ? or more correct where should they be ?
/Roger

Jun 27 '06 #1
5 1296
ka******@hotmail.com wrote:
I recently migrated a db2 v7 to db2 v8 and it worked perfect, all
stored procs etc are there and they are executable but ... I cant edit
(through Development Center) the java stored procedures because the
source is missing ! I have tried to find the source on the old server
but I cant find it so does anyone know where the source for java stored
procedure are located ? or more correct where should they be ?

To the best of my knowledge DB2 does not manage the source code for non
SQL objects. So where did YOU place the source?
Note that SQL Procedures, SQL Functions and (SQL) Triggers are
completely under DB2's control since they are SQL objects.

Cheers
Serge
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Jun 27 '06 #2
Ok Serge.. I'm aware of the above but I wasn't around when they
installed and configured the old server so I dont have any clues where
they put the source code .... and sinced I couldn't find any source
didn't I copy it to the new server....
One funny thing is that when you run Development Center and tries to
view the source , db2dc responds with this :

Getting the source from the database.
schemaname.procname - Source is not in the database.

Does that mean that should be in database some where or what ? Note
that it's possible to run the java sproc

/Roger

Jun 27 '06 #3
ka******@hotmail.com wrote:
Ok Serge.. I'm aware of the above but I wasn't around when they
installed and configured the old server so I dont have any clues where
they put the source code .... and sinced I couldn't find any source
didn't I copy it to the new server....
One funny thing is that when you run Development Center and tries to
view the source , db2dc responds with this :

Getting the source from the database.
schemaname.procname - Source is not in the database.

Does that mean that should be in database some where or what ? Note
that it's possible to run the java sproc

I have never used the DC with Java. The source is on the DB for SQL
Procedures.

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Jun 27 '06 #4
Ian
ka******@hotmail.com wrote:
Ok Serge.. I'm aware of the above but I wasn't around when they
installed and configured the old server so I dont have any clues where
they put the source code .... and sinced I couldn't find any source
didn't I copy it to the new server....


The compiled java .class files will be in ~/sqllib/function on your old
server. However, I am not 100% on whether you can just use these class
files (probably compiled with an old version of Java that may not be
compatible with V8).

As Serge suggested, DB2 does not manage source code for any external
routines. So you'll need to talk to whomever in your organization
wrote (or at least compiled) the original procedures to find out
where the java source code is.
Jun 27 '06 #5
Look for jar files in subdirectories of SQLLIB that don't look like
they are IBM DB2 jar files and jar tvf them.

Jun 29 '06 #6

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

Similar topics

11
by: Jep | last post by:
Any help or advice appreciated. We have just installed and configured a new DB2 v.8.1 with latest FixPack. Just a few days later it dies and now we have a DB that is totally unusable. - - - -...
1
by: rob | last post by:
Dear All, I have a very small test project to convert asp to asp.net using the Microsoft/Artisan ASP to ASP.NET Migration Assistant...
1
by: Bonggoy Cruz | last post by:
We have a fairly big size ASP.NET web application that was written VB.NET. We are in the process converting the web project. We used the migration wizard included in VS 2005. I followed step by...
0
by: SenthilVel | last post by:
Hi All I have problems when i convert my 1.1 ASPX web application to 2.0 using VS2005. My web application gets compiled fine in CLR1.1 and there is no problem with that. When i do the...
1
by: SenthilVel | last post by:
Hi All I have problems when i convert my 1.1 ASPX web application to 2.0 using VS2005. My web application gets compiled fine in CLR1.1 and there is no problem with that. When i do the...
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
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
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
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
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.