IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Error in calling an oracle procedure
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
Hi i am calling an oracle packeged procedure
this is how i am calling it
ENGINE SQLORA SET DEFAULT_CONNECTION (Connector Name)
SQL SQLORA
EX Package_Name.Procedure_Name;

TABLE FILE SQLOUT
PRINT
*
END

when i do this i am getting the following error message.

"(FOC1400) SQLCODE IS 6564 (HEX: 000019A4)
: ORA-06564: object does not exist
L (FOC1405) SQL PREPARE ERROR"


But, when i call the same procedure with user name (EX User_Name.Package_Name.Procedure_Name; ) it's working fine.

Can anyone explain why the user name is required?

Note: Stand alone procedure works fine without user name.

Thanks
Adesh
 
Posts: 4 | Registered: August 21, 2006Reply With QuoteEdit or Delete MessageReport This Post
Master
Posted Hide Post
Just guessing but it could be a couple of reasons

1. the ID used to connect to Oracle not the same as the user you enter in the SQL procedure.

2. There are more then one object with the same name.


 
Posts: 610 | Location: Dallas, Texas | Registered: May 24, 2004Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Error in calling an oracle procedure

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.