DB2 Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDB2 Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old November 20th, 2003, 01:52 AM
kollisri kollisri is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 12 kollisri User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
getting SQL0035N while creating procedures in DB2

Hi,
I have db2 v8.1.2 over linux.
I have opened the development centre and i have tried to create a stored procedure.

It has thrown error saying
[IBM][CLIDRIVER][DB2/LINUX] SQL0035N.
The file P2494298.msg cannot be opened.

I do not know how to overcome this error and where to locate this file.

Can anyone give me the path and the solution to overcome this error so that i can start creating the stored procedures and migration without problems.

Thanks in advance

Ksr

Reply With Quote
  #2  
Old February 10th, 2004, 01:07 PM
bwrgiants bwrgiants is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Fairfax, VA
Posts: 1 bwrgiants User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to bwrgiants
SQL0035N DB2 stored procedure

I am having the same problem....

SQL0035N The file "<name>" cannot be opened.
Explanation: The message file "<name>" could not be opened.
Binding or precompilation has been terminated.
User Response: Ensure that the system can access the file.

I am on a windows environment, i've given my user admin rights to everything so far as i know. I know my C compiler is fine because it creates stored procedures fine with other databases. It's not the code because I keep changing it and getting the same errors here's my most recent, simplest code it is erroring on.

CREATE PROCEDURE CHECK()
LANGUAGE SQL
BEGIN
DECLARE test DECIMAL(3,2);
END@

Any help would be extremely apprciated.
Thanks in advance
-Brian

Reply With Quote
  #3  
Old February 10th, 2004, 11:05 PM
kollisri kollisri is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 12 kollisri User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi brain,

I was getting the same error in linux,there are some permissions to be set to the tmp folder which exists under the sqllib directory,u have to go down some tree strucure to reach this folder,generally you will see this path when u try to build the stored procedure..

Just move to that folder and give the read,write permissions.
It should work.

If it is windows,check the compiler path settings with your db2 settigns using db2set -all .



Sri

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDB2 Development > getting SQL0035N while creating procedures in DB2


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway