473,406 Members | 2,439 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,406 software developers and data experts.

Ora-06550 Problem Urgent

4
I'M GETTING a ora-06550 for the following stored procedures for line 1
column 7 wrong # or types of arguments. I have checked all I can. Your help is appreciated. the last column, REC_SEQ_NR, is just created for to insert a new Sequence/NextVal value. I do not know if that caused the problem.

********************************

CREATE OR REPLACE PACKAGE BODY EATS_DATA AS

PROCEDURE EATS_DATA_proc
(CALL_DT VARCHAR2, IVR VARCHAR2, CHAN VARCHAR2, CNY_CD VARCHAR2, LGU_TY_CD VARCHAR2, RCV NUMBER, REQ0 NUMBER, EMREQ0 NUMBER, DEF NUMBER, EMDEF NUMBER, HNG NUMBER, SUCCESS NUMBER, NIA NUMBER, BR1 NUMBER, BR2 NUMBER, BR3 NUMBER, BR4 NUMBER, EMREPEAT NUMBER, EMTAP NUMBER, EMHNG NUMBER, TRKNUM1 NUMBER, TRKNUM2 NUMBER, TRKNUM3 NUMBER, ATT1 NUMBER, ATT2 NUMBER, ATT3 NUMBER, DUR NUMBER, TOUT NUMBER, TCK_SUC_RCO_CAL_QY NUMBER, TCK_DTN_SUC_RRV_QY NUMBER, REC_SEQ_NR NUMBER) IS

BEGIN

INSERT INTO TTRACK VALUES
(to_date(CALL_DT, 'DD/MM/YYHH24:MI:SS'), NVL(IVR,'0001'), NVL(CHAN, '000'), NVL(CNY_CD,'NA'), NVL(LGU_TY_CD,'NA'), RCV, REQ0, EMREQ0, DEF, EMDEF, HNG, SUCCESS, NIA, BR1, BR2, BR3 , BR4, EMREPEAT, EMTAP, EMHNG, TRKNUM1, TRKNUM2, TRKNUM3, ATT1, ATT2, ATT3, DUR, TOUT, TCK_SUC_RCO_CAL_QY, TCK_DTN_SUC_RRV_QY, SEQ_TTRACK.NEXTVAL); COMMIT;

END EATS_DATA_proc;

END EATS_DATA;
Sep 18 '07 #1
2 2368
debasisdas
8,127 Expert 4TB
As you have posted a question in the articles section it is being moved to Oracle Forum

MODERATOR.
Sep 18 '07 #2
amitpatel66
2,367 Expert 2GB
I'M GETTING a ora-06550 for the following stored procedures for line 1
column 7 wrong # or types of arguments. I have checked all I can. Your help is appreciated. the last column, REC_SEQ_NR, is just created for to insert a new Sequence/NextVal value. I do not know if that caused the problem.

********************************

CREATE OR REPLACE PACKAGE BODY EATS_DATA AS

PROCEDURE EATS_DATA_proc
(CALL_DT VARCHAR2, IVR VARCHAR2, CHAN VARCHAR2, CNY_CD VARCHAR2, LGU_TY_CD VARCHAR2, RCV NUMBER, REQ0 NUMBER, EMREQ0 NUMBER, DEF NUMBER, EMDEF NUMBER, HNG NUMBER, SUCCESS NUMBER, NIA NUMBER, BR1 NUMBER, BR2 NUMBER, BR3 NUMBER, BR4 NUMBER, EMREPEAT NUMBER, EMTAP NUMBER, EMHNG NUMBER, TRKNUM1 NUMBER, TRKNUM2 NUMBER, TRKNUM3 NUMBER, ATT1 NUMBER, ATT2 NUMBER, ATT3 NUMBER, DUR NUMBER, TOUT NUMBER, TCK_SUC_RCO_CAL_QY NUMBER, TCK_DTN_SUC_RRV_QY NUMBER, REC_SEQ_NR NUMBER) IS

BEGIN

INSERT INTO TTRACK VALUES
(to_date(CALL_DT, 'DD/MM/YYHH24:MI:SS'), NVL(IVR,'0001'), NVL(CHAN, '000'), NVL(CNY_CD,'NA'), NVL(LGU_TY_CD,'NA'), RCV, REQ0, EMREQ0, DEF, EMDEF, HNG, SUCCESS, NIA, BR1, BR2, BR3 , BR4, EMREPEAT, EMTAP, EMHNG, TRKNUM1, TRKNUM2, TRKNUM3, ATT1, ATT2, ATT3, DUR, TOUT, TCK_SUC_RCO_CAL_QY, TCK_DTN_SUC_RRV_QY, SEQ_TTRACK.NEXTVAL); COMMIT;

END EATS_DATA_proc;

END EATS_DATA;
What is the reason behind you using a package/procedure for just INSERT statement. You can execute the INSERT statement seperately rather putting it in a procedure.
And in the insert statement, I see you have used a SEQUENCE to AUTOGENERATE a value for the last column then WHY you need to pass it as a parameter to the PROCEDURE.Anyways you will not be using the value of the last column that you pass to the procedure in the INSERT statement.
Sep 19 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Subrahmanyam Arya | last post by:
Dear oracle gurus, I am unable to get past the error ORA-12154: TNS: could not resolve service name on my host when using hsodbc to talk to a remote mysql database. i got from the meta link all...
6
by: John | last post by:
Hi Right password -> ORA-12154: TNS:Could not resolve service name wrong password => ORA-01017: invalid username/password; logon denied Tested on a Windows XP client connecting to Oracle on...
1
by: Park Yeon Jo | last post by:
About Error : ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor I installed Oracle 8.1.7 on Windows XP Professional. and I wanto connect to that server...
1
by: Adam Ruth | last post by:
I'm using OCI on Mac OS X and I've run into a strange problem with my TNSNAMES.ORA file. My TNSNAMES.ORA file has one entry INV4II and it works fine. However, it will only work if that is the...
6
by: bdj | last post by:
Hello! I have at set of tnsnames.ora. I wich to make an union, e.g. a single file of it. How can I do that easy? Greetings Bjørn
4
by: Tig | last post by:
Hi all. I have a need to connect to an Oracle 7.3.3.5 database. I have a user who successfully connects to it with her Oracle 7.3 client. I have an Oracle 9.2 client installed on my machine. ...
2
by: mpatel6 | last post by:
I had this error in alert log and my instance was down, anybody can help me? Errors in file /u01/app/oracle/admin/sotstest/bdump/sotstest_p004_626740.trc: ORA-07445: exception encountered: core...
5
by: mivey4 | last post by:
Hi, First off, I am aware that this is a very heavily documented error and I have done my homework for throughly researching probable causes before deciding to post my problem here. At this point,...
0
by: basmgokul | last post by:
I am using oracle 10g in windows vista.. when starting DB it throws an error Errors in file c:\database\udump\practice_ora_440.trc: ORA-00704: bootstrap process failure ORA-39700: database...
1
by: michael ngong | last post by:
michael.john@gmx.at (Michael John) wrote in message news:<90cc4edd.0306230900.28075193@posting.google.com>... MIchael I you stated the OS and platform that could make it easier to address your...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.