473,698 Members | 2,330 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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','AC CT')@
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 2495
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','AC CT')@
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
7344
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 running SP's so I wrote a very simple procedure just to make sure everything is working. Below is the db2set output for the SQLROUTINE_COMPILE_COMMAND, stored procedure text, log file, and result of a call. I'm getting an error that says function...
0
1525
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 calling the stored procedure from a Java program I am getting the following error: Exception: java.sql.SQLException: SQL0444N
3
2114
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 "*_deposit" (specific name "SQL050519190148810") is implemented with code in library or path "\finban.cac_deposit", function "finban.cac_deposit" which cannot be accessed. Reason code: "4". SQLSTATE=42724
2
3858
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 DB2 sample program) But, it returned -444 as followings. How can I call Stored Procedure written in SQL from REXX? --- error report --- ERROR occurred : CALL MIGRATEDECODE SQLCODE : -444
0
1332
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 "xxx" (specific name "xxx") is implemented with code in library or path "\xxx", function "xxx" which cannot be accessed. Reason code: "6". SQLSTATE=42724. I read a lot about that, but i can't find the error...can anybody help me??? The stored...
0
1772
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 Routine "DB" (specific name "DB") is implemented with code in library or path "\test", function "DB" which cannot be accessed. Reason code: "4". SQLSTATE=42724 Can anybody help me....? I knwo what reason code 4 is, but i can't find the error!!
0
1723
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 12 SQL0444N Routine "REPLACE" (specific name "REPLACE1") is implemented with code in library or path ".../sqllib/function/db2clifn.a", function "CLI_udfREPLACE1" which cannot be accessed. Reason code: "4". SQLSTATE=42724 Error occurred in...
5
6489
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 attempt to run while connected to the same UDB database: CALL TFBUDB.SMACF_DRIVER_INFO(21264682); I get the following message: SQL0444N Routine "*VER_INFO" (specific name "SQL070423085539400") is implemented with code in
0
1032
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 records" by Knut Stolze and Im getting the following error upon issueing the command "db2 => CALL getTransactionId(?)" .................................................. ................... SQL0444N Routine "*ACTIONID" (specific name...
0
8675
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8604
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,...
0
9160
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9029
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 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...
0
8862
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 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...
0
7729
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6521
isladogs
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...
0
4370
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...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.