473,396 Members | 1,938 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.

C Stored Procedure error SQL0444N

Greetings,

I have written a C language Stored Procedure on DB2 UDB V8 on solaris.

While execting the SP i am gettign the following the error :

db2 => call truncate ('BUSINESS','ACCT')@
SQL0444N Routine "TRUNCATE" (specific name "TRUNCATE_TABLE") is
implemented
with code in library or path ".../sqllib/function/functions", function
"truncate_table" which cannot be accessed. Reason code: "5".
SQLSTATE=42724

There is enough mem available for the instance. File 'functions' also
exist in ~/sqllib/function dir.

$ ls -l /export/home/ti1u8s8/sqllib/function/functions
-rwxr-xr-x 1 ti1u8s8 db2grp1 9532 Jul 28 01:53
/export/home/ti1u8s8/sqllib/function/functions
Any pointers will be highly helpful....

Regards

Yogesh Kansal

Nov 12 '05 #1
1 2484
yogesh wrote:
I have written a C language Stored Procedure on DB2 UDB V8 on solaris.

While execting the SP i am gettign the following the error :

db2 => call truncate ('BUSINESS','ACCT')@
SQL0444N Routine "TRUNCATE" (specific name "TRUNCATE_TABLE") is
implemented
with code in library or path ".../sqllib/function/functions", function
"truncate_table" which cannot be accessed. Reason code: "5".
SQLSTATE=42724

There is enough mem available for the instance. File 'functions' also
exist in ~/sqllib/function dir.

$ ls -l /export/home/ti1u8s8/sqllib/function/functions
-rwxr-xr-x 1 ti1u8s8 db2grp1 9532 Jul 28 01:53
/export/home/ti1u8s8/sqllib/function/functions
Any pointers will be highly helpful....


What does the code look like and how did you compile it?

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #2

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

Similar topics

1
by: Private Pyle | last post by:
DB2 version 8, fixpack 5. Aix 5.1.0.0 Using C for AIX compiler. I'm having a problem where I can create stored procedures but I'm getting -444 when I call them. It's a new environment for...
0
by: vaishaliekhar | last post by:
Hello, I have created a stored procedure using SPUFI. The stored procedure is defined to execute an external Assembler routine. There was no error while creating the stored procedure. While...
3
by: mdaetwyler | last post by:
Hi all I am trying to call a DB/2 v8.2 stored procedure from Perl DBI and am getting an error message telling me, that the routine could not be found in the library path. SQL0444N Routine...
2
by: Tonkuma | last post by:
I called Stored Procedure written in SQL from Object REXX on Windows like this CALL SQLEXEC 'CALL MigrateDECODE(:inString,:Converted)' CALL CHECKERR 'CALL MigrateDECODE' (CHECKERR was copied from...
0
by: Loop123 | last post by:
Hello @all, i have a problem....i wrote a stored procedure which ends with the command "complete successfully", but when i will call the stored procedure i got the message: SQL0444N Routine...
0
by: Loop123 | last post by:
Hello, i wrote a stored procedure, which ends with the command: DB20000I The SQL command completed successfully. But when i call the stored procedure i got the following error: SQL0444N ...
0
by: srk14 | last post by:
I am having issues in running one of the stored procedures,remaining all stored procedures are running fine ....when i run i am hitting with the below error .. OS -AIX 5.3 DB2 Version 8.1 fixpack...
5
by: PJackson | last post by:
I have a number of SQL PL stored procedures (DB2 UDB 8.2 on Windows) that were created in the DB2 Development Center. From there I can run them just fine. When I use another tool (WinSQL) and...
0
by: db2readlog | last post by:
Hi, Im trying to execute a C Stored Procedure(getTransactionId.sqc) from one of Developer Works articles "Transaction IDs in DB2 -- retrieve a unique identifier for a unit of work from the DB2 log...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.