Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Database > BOOK: SQL Functions Programmer's Reference
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: SQL Functions Programmer's Reference
This is the forum to discuss the Wrox book SQL Functions Programmer's Reference by Arie Jones, Ryan K. Stephens, Ronald R. Plew, Robert F. Garrett, Alex Kriegel; ISBN: 9780764569012
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: SQL Functions Programmer's Reference section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 9th, 2010, 07:59 AM
Registered User
 
Join Date: Aug 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error "PLS-201: identifier procedurename() must be declared

Hello all,

I am very new to use stored procedure, i write a simple Pro-Fortran code to call a stored procedure.
Ex:-

------------------------ORACLE code----------------------------
create or replace
PACKAGE DEMO AS
PROCEDURE TESTFORTRAN(runid in T_Run.id%type);
END DEMO;

create or replace
PACKAGE BODY DEMO AS
PROCEDURE TESTFORTRAN(runid in T_Run.id%type) AS
sqlStatement varchar2(2000);
BEGIN
sqlStatement := 'Select T_PROJECT.NAME , T_TURBINE.OVERALL, T_PROJECT.CREATED from
T_RUN,T_PROJECT, T_TURBINE
where T_TURBINE.T_RUN_ID=runid ';
EXECUTE IMMEDIATE sqlStatement;
END TESTFORTRAN;
END DEMO;

---------------------------END of ORACLE code----------------------


now in pro fortran i called these procedure:-

c---- begin PL/SQL block -----------------
EXEC SQL EXECUTE
1 BEGIN
2 DEMO.TESTFORTRAN(:RUNID);
3 END;
4 END-EXEC
c ---- end PL/SQL block -----------------



but when i compine it i am getting an error:

PCC-S-0061: Error at line 23, column 6. PLS-201: identifier 'DEMO.TESTFORTRAN' must be declared.

can any one please help me in this?
 


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 Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Labels etc on ascx page "Not Declared" Wozer BOOK: Professional DotNetNuke Module Programming ISBN: 978-0-470-17116-5 2 January 22nd, 2010 04:28 PM
Error Permission denied while using CreateObject("Word.Application") vinod.kummar BOOK: Beginning ASP 3.0 0 January 7th, 2010 06:11 AM
Need code corrections "get sub or function not defined" error" bluesboytoo Excel VBA 1 October 22nd, 2009 11:12 PM
Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F ismailc C# 2005 0 September 25th, 2009 04:56 AM



All times are GMT -4. The time now is 11:25 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.