ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Procedure or Function Error

Post new topic  Reply to topic
 Procedure or Function Error « View previous topic :: View next topic » 
Author Message
yogi
PostPosted: Tue Jan 25, 2011 5:14 am    Post subject: Procedure or Function Error Reply with quote

Apprentice

Joined: 13 Dec 2010
Posts: 35
Location: Pune, India

Hi,

I have called one function but its showing error for the below one . I tried wit the references also.

CALL cDatabaseRead ('SELECT countries_key, name
FROM countries
ORDER BY countries_key',
False, 'EAI:000013', DB_IN_PARAMS, DB_OUT_PARAMS, 'COUNTRIES');



ERROR : Incorrect function or procedure name "cDatabaseRead" or argument count.

_________________
YoGi
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jan 25, 2011 5:21 am    Post subject: Re: Procedure or Function Error Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

yogi wrote:
ERROR : Incorrect function or procedure name "cDatabaseRead" or argument count.


So that procedure is in scope for where you've called it from, has that number of parameters and all the types match?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Jan 25, 2011 5:22 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

You seem to be usingthe IBM software Services Asset library.

In that case, you need to include the following at the top of your ESQL file.

Code:

PATH LIB_Core; -- This allows use of the Asset core db procedures


Then you need to reference the project that has the code in it. In one place this was in LIB_CORE.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
yogi
PostPosted: Wed Jan 26, 2011 9:24 pm    Post subject: Greetings...!!! Reply with quote

Apprentice

Joined: 13 Dec 2010
Posts: 35
Location: Pune, India

PATH LIB_Core; -- This allows use of the Asset core db procedures

thank you davies the solution has worked out.........!!!
_________________
YoGi
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Procedure or Function Error
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.