473,405 Members | 2,279 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Compilation unit analysis terminated?

Hi guys,

I am new to Oracle, and i have some strange problems here:

CREATE OR REPLACE PACKAGE trends_data AS
PROCEDURE dsp_remove_price(i_account in integer);
END trends_data;
/
Package created.

CREATE OR REPLACE PACKAGE BODY trends_data AS

PROCEDURE dsp_remove_price(i_account in integer) IS
CURSOR radacct_cur IS
select radacctid,price,rate,rateno,account from radacct
where account=i_account and TO_CHAR(acctstoptime,'MM/DD/YYYY')
'05/01/2003'

FOR update of price,rate,rateno;
l_radacctid radacct.radacctid%TYPE;
l_price radacct.price%TYPE;
l_rate radacct.rate%TYPE;
l_rateno radacct.rateno%TYPE;
l_account radacct.account%TYPE;
BEGIN
OPEN radacct_cur;
LOOP
FETCH radacct_cur INTO l_radacctid, l_price, l_rate, l_rateno,
l_account;
EXIT WHEN radacct_cur%NOTFOUND;
update radacct set price=null ,rate=null,rateno=0 where current of
radacct_cur;
END LOOP;
CLOSE radacct_cur;
update s_trends set price=0 where account=i_account;
COMMIT;
END;

END trends_data;
/
I get these messages:

PROCEDURE dsp_remove_price(i_account in integer) IS
*
ERROR at line 3:
ORA-06552: PL/SQL: Compilation unit analysis terminated
ORA-06553: PLS-320: the declaration of the type of this expression is
incomplete or malformed

Can someone help me with this.

Radovan
Jul 19 '05 #1
0 5363

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Steven T. Hatton | last post by:
I've made no secret of the fact that I really dislike the C preprocessor in C++. No aspect of the language has caused me more trouble. No aspect of the language has cause more code I've read to be...
11
by: Michael Gaab | last post by:
Compilation in c generally has four phases 1. Preprocessing 2. Compilation 3. Assembly 4. Linking. If I use a flag that will not link the code, order of compilation is not an issue,...
5
by: Bob | last post by:
Are they different names for the same concept ?
10
by: Sune | last post by:
Hi, previously I used Eclipse CDT for compiling my files just to get started with C and leave C++ behind. Now it's time to get a little more serious so I've moved my files to a new workplace and...
0
by: fabrice | last post by:
Hello, I m using vb.net and framework 1.1 whithout VisualStudio. I'm trying to compile a personnal tool class in one assembly using VBC.exe . But i get an error in compilation and i don't know...
35
by: mwelsh1118 | last post by:
Why doesn't C# allow incremental compilation like Java? Specifically, in Java I can compile single .java files in isolation. The resulting individual .class files can be grouped into .jar files....
176
by: nw | last post by:
Hi, I previously asked for suggestions on teaching testing in C++. Based on some of the replies I received I decided that best way to proceed would be to teach the students how they might write...
0
by: Willy | last post by:
Hi guys, I am new to Oracle, and i have some strange problems here: CREATE OR REPLACE PACKAGE trends_data AS PROCEDURE dsp_remove_price(i_account in integer); END trends_data; / Package...
2
by: =?Utf-8?B?c2lwcHl1Y29ubg==?= | last post by:
I was wonder if there is any protocol or suggestions on how to setup unit testing projects in large solution??? If you have a large solution of say 50 projects and add a project for every unit...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.