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 > Problem in DB2V5.1 Stored Procedure invocation

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-20-04, 01:15
ranjir75 ranjir75 is offline
Registered User
 
Join Date: Aug 2003
Location: India
Posts: 13
Problem in DB2V5.1 Stored Procedure invocation

Hi,

We have a DB2 V5.1 stored procedure. We registered it thru a insert into SYSIBM.SYSPROCEDURES and then started the SP.

When trying to execute,we are getting sqlcode -204
-204 name IS AN UNDEFINED NAME

If the specified object is a stored procedure, add a row to the
SYSIBM.SYSPROCEDURES catalog table to define the stored procedure. Issue
the -START PROCEDURE command to activate the new definition.

We did a -STA PROC() also.

Could any pls help us out in this as it has been a showstopper for us.
Any suggestion will be highly appreciated

Thanks
__________________
Thanks
Ranjith
Reply With Quote
  #2 (permalink)  
Old 05-20-04, 12:57
crisscross crisscross is offline
Registered User
 
Join Date: Feb 2004
Posts: 25
I'm assuming this is DB2 V5.1 on OS/390, but you don't say. Have you verified the procedure name is indeed in the SYSPROCEDURES table?
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