If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Stored Procedure - Error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-02-09, 06:44
Meena.s Meena.s is offline
Registered User
 
Join Date: Sep 2006
Posts: 87
Stored Procedure - Error

Hi ,

We are getting the below error while compiling the stored procedure;

DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0035N The file "Precompilation/Compilation error" cannot be opened.

db2 registry variables are set properly and also the permissions seems to be fine. (db2v7.1FP5 and oslevel- 4.2) - the same is working fine in another instance of the same server.

Any suggestion for the above.

Thanks for your help in advance.

Regards
Meena.s
Reply With Quote
  #2 (permalink)  
Old 01-02-09, 08:43
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
I am not sure which OS you are using, but for DB2 LUW V7, you need to have a C compiler installed as all SPs are converted to C code. Later versions remove this restriction.

V7 went out of support several years ago and V8 will be out of support in a few months. You should strongly think about upgrading now.

Andy
Reply With Quote
  #3 (permalink)  
Old 01-02-09, 10:38
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Not to mention that FP5 is even older.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On