I have v8.1 fix 5 installed on windows 2k.
I compiled a stored procedure in development environment, then used
the get routine command to generate the file.
I transferred the file to second test environment with same fixpack
level, but no compiler or development environment installed.
I issued put routine in second test environment and command succeeded
but when i try and run the stored proc with call command, db2 comes
back with sql0444 reason code 4 with reference to function pgmjmp
which i beleive is called from sqlutil.h.
I tried copying sqlutil.h into include directory in second test
environment but got the same result.
Can somebody explain what the fix is?
Thanks 5 3948
JS wrote: I have v8.1 fix 5 installed on windows 2k. I compiled a stored procedure in development environment, then used the get routine command to generate the file. I transferred the file to second test environment with same fixpack level, but no compiler or development environment installed. I issued put routine in second test environment and command succeeded but when i try and run the stored proc with call command, db2 comes back with sql0444 reason code 4 with reference to function pgmjmp which i beleive is called from sqlutil.h. I tried copying sqlutil.h into include directory in second test environment but got the same result. Can somebody explain what the fix is?
sqlutil.h is just a header file and has nothing to do with libraries being
loaded or functions within such libraries being called.
The reason code 4 of SQL0444 tells you that the library that implements the
stored procedure could not be found. Have you verified that the library
(whose name was given in the error message) actually exists on the second
system?
What language (Java, SQL, C) is used to write the procedure?
What do you have in the db2diag.log file?
--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Knut Stolze <st****@de.ibm. com> wrote in message news:<cf******* ***@fsuj29.rz.u ni-jena.de>... JS wrote:
I have v8.1 fix 5 installed on windows 2k. I compiled a stored procedure in development environment, then used the get routine command to generate the file. I transferred the file to second test environment with same fixpack level, but no compiler or development environment installed. I issued put routine in second test environment and command succeeded but when i try and run the stored proc with call command, db2 comes back with sql0444 reason code 4 with reference to function pgmjmp which i beleive is called from sqlutil.h. I tried copying sqlutil.h into include directory in second test environment but got the same result. Can somebody explain what the fix is? sqlutil.h is just a header file and has nothing to do with libraries being loaded or functions within such libraries being called.
Yes, understood, I copied it there because the .c file generated by
the create procedure statement made reference to SQL_API_RC which is
in that header, so I'm just trying anything! The reason code 4 of SQL0444 tells you that the library that implements the stored procedure could not be found. Have you verified that the library (whose name was given in the error message) actually exists on the second system?
Yes I have, as I said, the put routine succeeded so the dll and the
log file was created in the correct place.
What language (Java, SQL, C) is used to write the procedure?
Language SQL What do you have in the db2diag.log file?
The log file indicates that the dbm cannot find the dll in the
expected place using the UNC path variable associated with
db2instprof, however, the dll is definately there and disappears when
the procedure is dropped.
Any ideas?
JS wrote: Knut Stolze <st****@de.ibm. com> wrote in message news:<cf******* ***@fsuj29.rz.u ni-jena.de>... JS wrote:
> I have v8.1 fix 5 installed on windows 2k. > I compiled a stored procedure in development environment, then used > the get routine command to generate the file. > I transferred the file to second test environment with same fixpack > level, but no compiler or development environment installed. > I issued put routine in second test environment and command succeeded > but when i try and run the stored proc with call command, db2 comes > back with sql0444 reason code 4 with reference to function pgmjmp > which i beleive is called from sqlutil.h. > I tried copying sqlutil.h into include directory in second test > environment but got the same result. > Can somebody explain what the fix is?
sqlutil.h is just a header file and has nothing to do with libraries being loaded or functions within such libraries being called. Yes, understood, I copied it there because the .c file generated by the create procedure statement made reference to SQL_API_RC which is in that header, so I'm just trying anything! The reason code 4 of SQL0444 tells you that the library that implements the stored procedure could not be found. Have you verified that the library (whose name was given in the error message) actually exists on the second system?
Yes I have, as I said, the put routine succeeded so the dll and the log file was created in the correct place.
What language (Java, SQL, C) is used to write the procedure? Language SQL What do you have in the db2diag.log file? The log file indicates that the dbm cannot find the dll in the expected place using the UNC path variable associated with db2instprof, however, the dll is definately there and disappears when the procedure is dropped. Any ideas?
Hard to tell. Could you set the diaglevel to 4, run the failing CALL
statement again and then post the relevant content of the db2diag.log?
Just some other ideas:
Have you checked the privileges on all the directories and the library
itself?
The transferred lib on the second system, has it the very same size as on
the development system?
You might also want to contact IBM support.
--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Knut Stolze <st****@de.ibm. com> wrote in message news:<cf******* ***@fsuj29.rz.u ni-jena.de>... JS wrote:
Knut Stolze <st****@de.ibm. com> wrote in message news:<cf******* ***@fsuj29.rz.u ni-jena.de>... JS wrote:
> I have v8.1 fix 5 installed on windows 2k. > I compiled a stored procedure in development environment, then used > the get routine command to generate the file. > I transferred the file to second test environment with same fixpack > level, but no compiler or development environment installed. > I issued put routine in second test environment and command succeeded > but when i try and run the stored proc with call command, db2 comes > back with sql0444 reason code 4 with reference to function pgmjmp > which i beleive is called from sqlutil.h. > I tried copying sqlutil.h into include directory in second test > environment but got the same result. > Can somebody explain what the fix is?
sqlutil.h is just a header file and has nothing to do with libraries being loaded or functions within such libraries being called. Yes, understood, I copied it there because the .c file generated by the create procedure statement made reference to SQL_API_RC which is in that header, so I'm just trying anything! The reason code 4 of SQL0444 tells you that the library that implements the stored procedure could not be found. Have you verified that the library (whose name was given in the error message) actually exists on the second system?
Yes I have, as I said, the put routine succeeded so the dll and the log file was created in the correct place.
What language (Java, SQL, C) is used to write the procedure? Language SQL What do you have in the db2diag.log file? The log file indicates that the dbm cannot find the dll in the expected place using the UNC path variable associated with db2instprof, however, the dll is definately there and disappears when the procedure is dropped. Any ideas?
Hard to tell. Could you set the diaglevel to 4, run the failing CALL statement again and then post the relevant content of the db2diag.log?
It already is at 4, thats where I got the above message.
Just some other ideas: Have you checked the privileges on all the directories and the library itself?
This is Windows 2000 AS, we dont assign specific security to any db2
folders. The transferred lib on the second system, has it the very same size as on the development system?
When you say lib, could you be more specific? Which folder are you
referring to, sqllib\include? or the folder which contains the dll? You might also want to contact IBM support.
Yes, if I can't get it resolved here I probably will do that
JS wrote: >> What do you have in the db2diag.log file? > The log file indicates that the dbm cannot find the dll in the > expected place using the UNC path variable associated with > db2instprof, however, the dll is definately there and disappears when > the procedure is dropped. > Any ideas? Hard to tell. Could you set the diaglevel to 4, run the failing CALL statement again and then post the relevant content of the db2diag.log? It already is at 4, thats where I got the above message.
Well, what's the exact error message then? Just some other ideas: Have you checked the privileges on all the directories and the library itself?
This is Windows 2000 AS, we dont assign specific security to any db2 folders.
As far as I know, Windows has privileges for files and directories (at least
if you use NTFS). So you really might want to check those privileges.
The transferred lib on the second system, has it the very same size as on the development system?
When you say lib, could you be more specific? Which folder are you referring to, sqllib\include? or the folder which contains the dll?
With "lib" I mean "library" i.e. dll. The library that implements the
procedure that is to be called.
--
Knut Stolze
Information Integration
IBM Germany / University of Jena This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: subaga |
last post by:
Hi,
I restored a database from AIX machine to a sun machine. The restore
was fine. But, when i try executing stored procedures through my CLI
application, I am getting error sql0444 reason code 4. I tried
rebinding all the routines, but it does not help.
SQL0444N Routine "*DCLASSIC" (specific
name "SQL031118125458221") is implemented with code in library or path
".../DB2PERFA/LF_ZDBMAPS/P2545826", function "pgsjmp" which cannot be
|
by: A1 Ronen |
last post by:
Hi all
I got problem regarding executing all stored procedure through
common procedures where we have different parameter with different
names, type and data type
The Function is as follows
Where strProcString is procedure name and strParamString is all
parameters concatenated by @
|
by: staeri |
last post by:
When I execute a stored procedure with the following code it takes
forever and result in a timeout or a hang:
Sub TransformData()
Dim myConnection As New SqlConnection(ConnectionString)
Dim myCommand As New SqlCommand("spImport_amount_transform",
myConnection)
myCommand.CommandType = CommandType.StoredProcedure
myCommand.CommandTimeout = 3600
|
by: Goog79 |
last post by:
Hi everyone,
first time here, so I'm sorry if this has been covered already ages
ago. :(
I am trying to learn T-SQL and Stored Procedures and bought the book
on these topics by Djan Sunderic, Publisher McGraw Hill/Osborne. I'm
already stuck on my first Stored Procedure and getting error messages
that I cannot understand. I've already tried Google and Microsoft
online to no avail. I do have the .NET Framework on my system and use
|
by: jed |
last post by:
I have created this example in sqlexpress
ALTER PROCEDURE .
@annualtax FLOAT
AS
BEGIN
SELECT begin1,end1,deductedamount,pecentageextra
FROM tax
| |
by: raylopez99 |
last post by:
Keep in mind this is my first compiled SQL program Stored Procedure
(SP), copied from a book by Frasier Visual C++.NET in Visual Studio
2005 (Chap12). So far, so theory, except for one bug (feature?)
below. At some point I'm sure I'll be able to laugh about this, akin
to forgeting a semi-colon in C/C++, but right now it's frustrating
(time to sleep on it for a while).
Problem--
For some reason I get the error when trying to save files...
|
by: amgupta8 |
last post by:
Note: This problem occurred when I updated the JDK from 1.3.1 to 1.4.1 or 1.4.2.
Nothing else was changed in the code, other than updating the JDK on the database server (dbm cfg parm jdk_path) and recompiling/executing the code with 1.4.1 (deploying the newly compiled stored procedure code as well).
This is the original exception that I got before I tried any code modifications:
java.io.IOException: invalid offset/length
at...
|
by: vivsriaus |
last post by:
I get this error:
Line 1: Incorrect syntax near '.'
when executing my stored procedure:
ALTER PROCEDURE Test
(
@Func VarChar(100)
)
|
by: acw |
last post by:
On a SQL Server 2000 db I would like to setup a stored procedure that
accesses couple tables and runs the extended stored procedure
xp..cmdshell. The goal is to grant users with limited privileges the
right to run the stored procedure but not the rights to directly
access either the referenced tables or the extended stored procedure.
TIA!
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |