Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Using Log Miner across all DB : problem with using parameters default

Using Log Miner across all DB : problem with using parameters default

From: paquette stephane <stephane_paquette_at_yahoo.com>
Date: Mon, 23 Sep 2002 11:18:35 -0800
Message-ID: <F001.004D6FC0.20020923111835@fatcity.com>


Hi,

In a test procedure I'm using successfully the default feature for a parameter :

create or replace procedure testp1 (p1 in varchar2 := null) is
begin
  if (p1 is null) then

       dbms_output.put_line('il est null');   else

       dbms_output.put_line('il est pas null');   end if;
end;
/

The load_file is defined as
procedure load_file (p_file1 in varchar2 default null, p_file2 in varchar2 default null, p_file3 in varchar2 default null) is

Now, I'm trying the same thing in a procedure that is in a package and I kept getting PLS-00306: wrong number or types of arguments in call to 'LOAD_FILE'

DHMS.WORLD:spaquette>exec
upkg_miner.load_file('dhms_log2a.dbf')
BEGIN upkg_miner.load_file('dhms_log2a.dbf'); END;

      *
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'LOAD_FILE'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

What am I missing ?



Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: =?iso-8859-1?q?paquette=20stephane?=   INET: stephane_paquette_at_yahoo.com
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Sep 23 2002 - 14:18:35 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US