473,587 Members | 2,505 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem in deploying the function on DB2

1 New Member
Hi all,

I am very new to the DB2 environment. I am facing a problem in deploying a function on the database. Function is calling a procedure which contains the update statement in it.

The function and procedure both have "MODIFIES SQL DATA". Procedure get deployed but when I am trying to deploy the function it says Multiple or conflicting keywords involving the "MODIFIES SQL DATA" clause are present.

The lines of code in function are as below:
CREATE FUNCTION getObjectID(nCl assID INTEGER)
RETURNS INTEGER
LANGUAGE SQL
NOT DETERMINISTIC
EXTERNAL ACTION
MODIFIES SQL DATA
CALLED ON NULL INPUT
BEGIN ATOMIC

DECLARE nRet INTEGER DEFAULT 0;

CALL BCONE50.getObje ctID_IMPL(nClas sID, nRet);

RETURN nRet;
END


and for the procedure they looks like as below:

CREATE PROCEDURE getObjectID_IMP L
(
IN nClassID INTEGER,
OUT nRet INTEGER
)
LANGUAGE SQL
MODIFIES SQL DATA
CALLED ON NULL INPUT
BEGIN
-- logic
END

can anyone help me out how I can get rid of the error and deploy the function.

Thanks in advance.

Sandeep
Jan 2 '07 #1
0 1233

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2157
by: Bob Z | last post by:
Hello All, I have a problem I just can't figure out. I am using Oracle's jdeveloper and deploying to a stand-alone linux oc4j server. I have a j2ee/struts application that runs fine from the self-embedded oc4j server, but it doesn't deploy properly. Most of the app runs fine, except for a few fields. These fields give a 'no getter'...
0
1656
by: horseface | last post by:
Hi everybody. I am trying to test out the Java Blueprints Pet Store application. I followed the installing instructions, and everything goes smoothly until I reach the deploying part. The command line prints out "deploying ears ... " and hangs. I've left it alone for about half an hour, nothing. Can somebody tell me what might be a...
0
932
by: Kevin Banks | last post by:
I am engaged with a team that will be working on multiple concurrent releases if an asp.Net app. Historically, we have used SourceSafe for deploying code across our dev/test/prod environments, and have only redeployed those files that have changed. Because we already have processes in place to manage code using this model, I would like to...
2
1251
by: Matias | last post by:
Hi!, I'm having a strange issue while deploying a web site with Validator controls. In my development machine the Validators function perfecly and also when I deploy using XCOPY to a web server. The problem seems to arrise when I decided to change the root folder of the
0
1062
by: sbambati | last post by:
Hi All This is to clarify the problem that we are facing while deploying the .Net Components in Windows XP. We have compiled our VB.Net components in Visual Studio .Net 2002 (Framework 1.0) and registered with COM+ (using Regsvcs.exe) in Windows 2000 professional machine. We exported the proxy and when we try to install it in Windows XP...
4
2213
by: Lars Netzel | last post by:
Hello! I have made my application move to the next cell on TAB and Enter and it works fine for me and all the other computer I 've tested on in the office. When deploying at the customer.. suddenly have a strange problem. When standing in the last cell on a row and pressing TAB och Enter the cursor move to the SECOND cell on the next row...
0
1399
by: Rich | last post by:
Hello, I have a simple console app for deploying an MS Access app. Recently, I started having a problem publishing the app to my webserver with the publisher feature of VS2005 when I do an update to the app. So I created a "Hello World" in VB2005 for testing, and was able to deploy that app to the webserver using the publisher, and it...
6
5519
by: Ryan | last post by:
Is there any way to save a VB 2005 created application as an .MSI install file? The only method I see is to publish as a .EXE. Curious because I want to push out an application with Group Policy. Thanks, Ryan
0
2674
by: =?Utf-8?B?TWFuaQ==?= | last post by:
Hi All, Problem in deploying my WebService developed using Asp.net WebServices 2005. I have designed simple WebService using Asp.net Webservices 2.0 , The webservice look this , using System; using System.Web; using System.Web.Services; using System.Web.Services.Protocols;
0
7852
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...
0
8349
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...
1
7974
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...
0
8221
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...
0
6629
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...
1
5719
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...
0
5395
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...
0
3882
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2364
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

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.