PLS-00302: component 'SET_NO_OUTLINES' must be declared on EXP

Hey all,
Not sure why I'm getting this. Any ideas where to start?
C:\>exp userid=me/me@mine owner=me file=c:\temp\me.dmp
Export: Release 10.2.0.1.0 - Production on Tue Aug 9 11:14:00 2005
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
EXP-00056: ORACLE error 6550 encountered
ORA-06550: line 1, column 41:
PLS-00302: component 'SET_NO_OUTLINES' must be declared
ORA-06550: line 1, column 15:
PL/SQL: Statement ignored
EXP-00000: Export terminated unsuccessfully
C:\>sqlplus me/me@mine
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Aug 9 11:16:02 2005
Copyright (c) 1982, 2005, Oracle.  All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options

Hello Everyone,
The mentioned issue is due to the fact that you already have several oracle versions installed on your system ( 8i, 9i, 10g, 11g). The issue happens basically whenever you are trying to exp where the command runs from ORACLE_HOME so if your ORACLE_HOME is set to ORACLE 10 for example and you are exporting a database on 8i the issue occurs and hence to solve it you just need to go into cmd then go to oracle 8i HOME which basically will be under c:\oracle\8i\bin and run the exp command again. It will work smoothly.
All the best
SEMOS

Similar Messages

  • PLS-00302: component 'SET_NO_OUTLINES' must be declared

    Windows 2000 Server
    Oracle 10.2.0.1 upgraded from 9.2.0.1
    IMP-00058: ORACLE error 6550 encountered
    ORA-06550: line 1, column 33:
    PLS-00302: component 'SET_NO_OUTLINES' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    IMP-00000: Import terminated unsuccessfully
    Trying to import into a 10.2.0.1 database from a 9.2.0 database export.dmp file. Yes, I have seen the thread in this forum regarding the same error when doing an export but in this situation, I am using the import utility of the destination database (10.2.0.1) $ORACLE_HOME/ora102/bin and the db_block values are the same for both source and destination databases.
    I think this is caused by Oracle 10.2 want to use SET_NO_OUTLINES and 9.2 doesn't know what it is.
    Would appreciate any advise in fixing this situation.
    Thanks

    If you export with 9i utility to export and while importing 10g utiltiy to import you will get these compatability errors..
    Always use the export utility of the lower version of source and target database.
    if you still have any questions, Please Refer to Basic Compatibility Section in Metalilnk Note 132904.1
    Hope this helps
    Click here to learn [Oracle data pump export and import with examples.|http://www.oracleracexpert.com/2009/08/oracle-data-pump-exportimport.html]
    Click here for steps to [upgrade Oracle version from 10.2.0.x to 10.2.0.4|http://www.oracleracexpert.com/2009/10/oracle-version-upgrade-from-1020x-to.html]
    http://www.oracleracexpert.com

  • PLS-00302: component 'DISABLE_OLAP_POLICY' must be declared

    Database: 11.2.0.4.0
    OLAP Analytic Workspace
    11.2.0.4.0
    Oracle OLAP API
    11.2.0.4.0
    OLAP Catalog
    11.2.0.4.0
    I am receiving the following error when trying to delete a dimension in AWM 12.1.0.1.0A.
    java.sql.SQLException: ORA-06550: line 1, column 20:
    PLS-00302: component 'DISABLE_OLAP_POLICY' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    at oracle.olap.awm.util.ORASUtil.reportException(ORASUtil.java:64)
    at oracle.olap.awm.util.ORASUtil.disableOLAPDSP(ORASUtil.java:659)
    at oracle.olap.awm.dataobject.olapi.UDimensionDO.delete(UDimensionDO.java:905)
    at oracle.olap.awm.navigator.node.DeleteThread.run(DeleteThread.java:283)
    I don't get this error with AWM 11.2.0.4.0A. I take it this means we shouldn't be using AWM 12 on a 11 database even though the AWM 12 login window specifies a cube type of: OLAP 11g/12c?

    You have encountered a known AwM bug 18616303 in AwM 12.1.0.1.0A. The workaround as you have
    already determined is to use 11.2.0.4.0A patch of AwM when working against an 11.2 Oracle rdbms server when
    you need to drop a dimension, cube or analytic workspace.
    This bug is currently fixed in the yet unreleased AwM 12.1.0.2.0. I expect it will be fixed shortly in an
    12.1.0.1.0B patch of AwM. Sorry for the inconvenience.
    I will update this thread when the 12.1.0.1.0B patch of AwM is available for download off of OTN with
    the link to the download.

  • Help me resolve this---- PLS-00302: component 'STRING' must be declared

    Can anyone please guide me in resolving the below error
    The statement below is in the package spec.
    TYPE rec IS RECORD ( proj AV_ACTIVITY.proj%TYPE, act AV_ACTIVITY.act%TYPE );
    TYPE object_table_type is TABLE OF rec INDEX BY BINARY_INTEGER;
    temp_as_rn object_table_type;
    Then i am wrting a cursor in the package body and trying to access the component...but it throws up the
    PLS-00302: component 'PROJ' must be declared
    The below code is in the package body
    CURSOR c2_memo_attr(proj_temp varchar2,act_temp varchar2) is
    select distinct
    dup.proj,
    dup.proj_ds as proj_ds,
    dup.act,
    dup.act_ds as act_ds,
    initcap(to_char(ac.eid, 'fmMonth DDth, YYYY')),
    initcap(to_char(ac.lid, 'fmMonth DDth, YYYY')),
    initcap(to_char(ac.act_due_date, 'fmMonth DDth, YYYY')),
    dup.uc03 as Study_no
    from dup_resource_status dup, av_activity ac
    where ( ac.proj = proj_temp
    and ac.act = act_temp)
    and dup.proj = ac.proj
    and dup.act = ac.act
    and ac.ver = 0;
    for c2_memo_attr_rec in c2_memo_attr(temp_as_rn.proj,temp_as_rn.act)
    loop
    text := 'abcd......'
         end loop;

    Cursor loops are obsolete technology? Hmm, not sure I agree with you there.
    Yes, sometimes they are an indication of slow-by-slow processing that could be better done in one dml statement, or with bulk collections, etc, but sometimes that's not the case - unless I'm missing something.
    For example, I'm writing a procedure to take care of deleting partitions on a periodic basis, and I'm taking into consideration the case where there might be more than one partition to delete. So I'm using a cursor to identify the partitions to delete, and using a cursor for loop to loop round and execute the dynamic drop partition statement.
    Since there's never going to be that many partitions, this isn't going to be particularly unperformant, and so I don't see a problem with using the cursor for loop construction for it.
    I'd like to hear more on why you think it's obsolete technology in reference to my specific example - and also what you think I should be using.

  • PLS-00302: component 'REGISTER_PROPAGATOR' must be declared

    Hi,
    The following error occured, while running the repadmin user creation script.
    Can any one help in rectifying this?
    BEGIN dbms_defer_sys.register_propagator('REPADMIN'); END;
    ERROR at line 1:
    ORA-06550: line 1, column 22:
    PLS-00302: component 'REGISTER_PROPAGATOR' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    SQL> exit
    Thnk u,
    Rgds,
    Maha.
    null

    How were you connected to the database when you ran the DBMS_DEFER_SYS procedure? as SYSTEM?
    Also, check to make sure that the DBMS_DEFER_SYS package and package body exist, are valid, and have synoyms created for them. Query DBA_OBJECTS for this information.

  • Data Template - PLS-00302: component 'P_PARAMETER' must be declared

    All,
    I'm new to the Data Template. I'm following the User's Guide example and examples from this Forum. I can't get a parameter to work. I'm creating a Data Template because I need to execute a PL/SQL call before the report runs.
    My Data Template:
    <?xml version="1.0" encoding="UTF-8" ?>
    <dataTemplate name="DATA_TEMPLATE" version="1.0" dataSourceRef="dev" defaultPackage="TEST_JC_PKG">
    <dataTrigger name="beforeReport" source="TEST_JC_PKG.record_report_usage('beforeReport_trigger')"/>
    <parameters>
    <parameter name="p_parameter" datatype="character" defaultValue="X"/>
    </parameters>
    <dataQuery>
    <sqlStatement name="ROW">
    <![CDATA[SELECT dummy FROM dual WHERE :p_parameter = 'X']]>
    </sqlStatement>
    </dataQuery>
    </dataTemplate>
    I get this error when I click the "View" button in BI Pub:
    ORA-06550: line 2, column 13:
    PLS-00302: component 'P_PARAMETER' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    xdo:
    <?xml version = '1.0' encoding = 'utf-8'?>
    <report version="1.1" xmlns="http://xmlns.oracle.com/oxp/xmlp" defaultDataSourceRef="dev">
    <title>beforeReport_trigger_manual_dataTemplate</title>
    <properties>
    <property name="showControls" value="true"/>
    <property name="online" value="true"/>
    <property name="parameterColumns" value="3"/>
    <property name="openLinkInNewWindow" value="true"/>
    <property name="autoRun" value="true"/>
    </properties>
    <dataModel defaultDataSet="Q1">
    <dataSet id="Q1">
    <dataTemplate name="DATA_TEMPLATE" dataSourceRef="dev" defaultPackage="TEST_JC_PKG">
         <dataTrigger name="beforeReport" source="TEST_JC_PKG.record_report_usage('beforeReport_trigger_manual_dataTemplate')"/>
         <parameters>
         <parameter name="p_parameter" datatype="character" defaultValue="X"/>
         </parameters>
    <dataQuery>
    <sqlStatement name="ROW">
    <![CDATA[SELECT dummy FROM dual WHERE :p_parameter = 'X']]>
    </sqlStatement>
    </dataQuery>
    </dataTemplate>
    </dataSet>
    </dataModel>
    <valueSets/>
    <parameters/>
    <templates default="detail">
    <template label="detail" type="rtf" url="beforeReport_trigger_manual_dataTemplate.rtf"/>
    </templates>
    <burst enabled="false"/>
    </report>

    Hi,
    This is a known bug when using DataTemplates, but it has only just started with 10.1.3.3. You will need to put p_parameter as a global variable in you default package, and you will also need to create a parameter called p_parameter inside BIP. You can set this parameter to being hidden if you do not want Users to be able to change it.
    See Tim Dexter's blog on this for more information:
    http://blogs.oracle.com/xmlpublisher/2007/10/18#a614
    Hope this helps you.
    Regards,
    Cj

  • Adpatch fails with PLS-00302: component 'INITIALIZE_WITH_CALENDAR' must be

    Hi Guru's....
    This is my first post.I am a new dba.
    while applying adpatch , I am getting the below error.Please help. this is on r12.
    About to do IREP processing...
    Attempting to process IREP files ...
    AutoPatch error:
    Error in adusnapRunAdPostPatch() while executing statement
    AutoPatch error:
    ORA-06550: line 1, column 16:
    PLS-00302: component 'INITIALIZE_WITH_CALENDAR' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    ORA-06512: at "APPS.FND_GLOBAL", line 413
    ORA-06512: at "APPS.FND_GLOBAL", line 2272
    ORA-06512: at "APPS.FND_GLOBAL", line 2546
    ORA-06512: at "APPS.FND_GLOBAL", line 2698
    ORA-06512: at "APPS.FND_GLOBAL", line 2636
    ORA-06512: at "APPS.FND_ADPATCH", line 53
    ORA-06512: at line 3
    Error while processing IREP files, continuing...
    Done IREP processing.
    Thank you.....

    Hi Ronald and Hussein,
    Thank you for your response.
    There are no invalids in my environment.
    I am applying R12.1.X: FORMS INTEROPERABILITY PATCH FOR 10.1.2.3 -- 13001977
    >>
    OS:
    SunOS sandebus03 5.10 Generic_147440-01 sun4v sparc SUNW,T5240
    >>
    RELEASE_NAME
    12.1.2
    DB:11.2.0.3
    >>
    SQL> desc fnd_date
    FUNCTION ADJUST_DATETIME RETURNS DATE
    Argument Name Type In/Out Default?
    DATE_TIME DATE IN
    FROM_TZ VARCHAR2 IN
    TO_TZ VARCHAR2 IN
    FUNCTION CANONICAL_TO_DATE RETURNS DATE
    Argument Name Type In/Out Default?
    CANONICAL VARCHAR2 IN
    FUNCTION CHARDATE_TO_DATE RETURNS DATE
    Argument Name Type In/Out Default?
    CHARDATE VARCHAR2 IN
    FUNCTION CHARDT_TO_DATE RETURNS DATE
    Argument Name Type In/Out Default?
    CHARDT VARCHAR2 IN
    FUNCTION DATE_TO_CANONICAL RETURNS VARCHAR2
    Argument Name Type In/Out Default?
    DATEVAL DATE IN
    FUNCTION DATE_TO_CHARDATE RETURNS VARCHAR2
    Argument Name Type In/Out Default?
    DATEVAL DATE IN
    FUNCTION DATE_TO_CHARDT RETURNS VARCHAR2
    Argument Name Type In/Out Default?
    DATEVAL DATE IN
    FUNCTION DATE_TO_DISPLAYDATE RETURNS VARCHAR2
    Argument Name Type In/Out Default?
    DATEVAL DATE IN
    FUNCTION DATE_TO_DISPLAYDT RETURNS VARCHAR2
    Argument Name Type In/Out Default?
    DATEVAL DATE IN
    FUNCTION DATE_TO_DISPLAYDT RETURNS VARCHAR2
    Argument Name Type In/Out Default?
    DATEVAL DATE IN
    NEW_CLIENT_TZ_CODE VARCHAR2 IN
    FUNCTION DISPLAYDATE_TO_DATE RETURNS DATE
    Argument Name Type In/Out Default?
    CHARDATE VARCHAR2 IN
    FUNCTION DISPLAYDT_TO_DATE RETURNS DATE
    Argument Name Type In/Out Default?
    CHARDT VARCHAR2 IN
    FUNCTION DISPLAYDT_TO_DATE RETURNS DATE
    Argument Name Type In/Out Default?
    CHARDT VARCHAR2 IN
    NEW_CLIENT_TZ_CODE VARCHAR2 IN
    PROCEDURE INITIALIZE
    Argument Name Type In/Out Default?
    P_USER_MASK VARCHAR2 IN
    P_USERDT_MASK VARCHAR2 IN DEFAULT
    FUNCTION STRING_TO_CANONICAL RETURNS VARCHAR2
    Argument Name Type In/Out Default?
    P_STRING VARCHAR2 IN
    P_MASK VARCHAR2 IN
    FUNCTION STRING_TO_DATE RETURNS DATE
    Argument Name Type In/Out Default?
    P_STRING VARCHAR2 IN
    P_MASK VARCHAR2 IN
    PROCEDURE TEST
    SQL>
    >>
    SQL> column rcsid format a35 word
    break on name skip 1
    SQL> select name,type,substr(text,instr(text,'$Header: ')+9,
    instr(text,' ',instr(text,'$Header: '),4)
    SQL> 2 3 - instr(text,'$Header: ') - 9) rcsid
    4 from all_source
    5 where text like '%$Header: %'
    6 and name like upper('%%FND_DATE%%') escape '\'
    7 order by name
    8 , type
    9 /
    undefine 1
    clear breaks
    NAME TYPE RCSID
    FND_DATE PACKAGE AFDDATES.pls 115.11 2003/10/28
    PACKAGE BODY AFDDATEB.pls 120.1 2005/07/02
    FND_DATE_TZ PACKAGE AFDATTZS.pls 115.4 2003/10/28
    PACKAGE BODY AFDATTZB.pls 115.4 2003/10/28
    SQL> SQL> breaks cleared
    SQL>

  • Error(586,27): PLS-00302: component 'EDR_RPT_GEN_TMP_WEIGHT_RANGES' must be

    Hi ,
    In my procedure ,i'm calling another stored proc as below
    edr_rpt_generic_package.edr_rpt_gen_tmp_weight_ranges
        in_report_parameter_id
      );while compiling it throws up error as "component must be declared".
    could anyone help me to solve this?
    thanks in advance.

    hi all i got the answer.
    thx
    Edited by: user10641405 on Oct 16, 2009 2:45 PM

  • Getting PLS-00302 component must be declared on callout to web service

    - set up callout utility on source db
    - created plsql package on target database:
    SQL> desc pkgwssignature;
    FUNCTION WSSIGNATUREDEV RETURNS NUMBER
    Argument Name Type In/Out Default?
    P_OPERATION VARCHAR2 IN
    P_ID NUMBER IN
    P_TOOLNAME VARCHAR2(16) IN
    P_BASE_ID VARCHAR2(64) IN
    P_BASE_SUBID VARCHAR2(64) IN
    P_LABEL VARCHAR2(164) IN
    P_NAME VARCHAR2(256) IN
    P_DESCRIPTION VARCHAR2(4000) IN
    P_ID_INCIDENTTYPE NUMBER IN
    P_ID_MODULE NUMBER IN
    P_ID_EVENTCLASS NUMBER IN
    P_THREATLEVEL NUMBER IN
    P_COMMENTS_INTERNAL VARCHAR2(4000) IN
    P_PATCHINFO VARCHAR2(4000) IN
    - Made the pacakge available as a web service
    java -jar $ORACLE_HOME/webservices/lib/wsa.jar -plsqlAssemble -appName
    wsSignatureDEV -sql pkgwsSignature -dataSource jdbc/OracleDS -dbConnection
    jdbc:oracle:thin:@//10.0.203.161:1521/devseam -dbUser globals/##### -style rpc
    -use encoded -jpubProp plsqlload -debug true
    - Set up the source db as web service consumer:
    jpub -u globals/##### -sysuser sys/#####
    -url=jdbc:oracle:thin:@//10.0.203.161:1521/devocdb
    -proxywsdl=http://10.0.203.161:8888/wsSignatureDEV/wsSignatureDEV?WSDL
    -endpoint=http://10.0.203.161:8888/wsSignatureDEV/wsSignatureDEV -dir=tmp
    SQL> desc jpub_plsql_wrapper;
    FUNCTION WSSIGNATUREDEV RETURNS NUMBER
    Argument Name Type In/Out Default?
    POPERATION_ VARCHAR2 IN
    PID_ NUMBER IN
    PTOOLNAME_ VARCHAR2 IN
    PBASEID_ VARCHAR2 IN
    PBASESUBID_ VARCHAR2 IN
    PLABEL_ VARCHAR2 IN
    PNAME_ VARCHAR2 IN
    PDESCRIPTION_ VARCHAR2 IN
    PIDINCIDENTTYPE_ NUMBER IN
    PIDMODULE_ NUMBER IN
    PIDEVENTCLASS_ NUMBER IN
    PTHREATLEVEL_ NUMBER IN
    PCOMMENTSINTERNAL_ VARCHAR2 IN
    PPATCHINFO_ VARCHAR2 IN
    - try to call the web service:
    select
    jpub_plsql_wrapper.WSSIGNATUREDEV('INSERT',1,'test','test','test','test','test',
    'test',1,null,1,1,'test','test')
    from dual;
    => always getting following error:
    ERROR at line 2:
    ORA-29532: Java call terminated by uncaught Java exception:
    java.rmi.RemoteException: java.rmi.ServerException:
    start fault message:
    Internal Server Error (caught exception while handling request:
    java.rmi.RemoteException: java.sql.SQLException: ORA-06550: line 1, column 36:
    PLS-00302: component 'WSSIGNATUREDEV' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    :end fault message
    Can someome give me an idea where to look/ what I'm missing ? Thanks in advance

    Try this ->
    CREATE OR REPLACE PROCEDURE D_COMMANDS
    IS
    PRAGMA AUTONOMOUS_TRANSACTION;
         CURSOR CR_MJI_SIN
         IS
         SELECT sno, cno, iumber 
         FROM TEST1.m_mca;
         C_SUBNO VARCHAR2(20);
         C_CARDNO VARCHAR2(12);
         C_IMSI_NUMBER VARCHAR2(30);
         TRANSNO1 NUMBER(8);
    BEGIN
      OPEN CR_SMS_SUB;
      LOOP
        FETCH CR_SMS_SUB INTO C_SUBNO,C_CARDNO,C_IMSI_NUMBER;
        EXIT WHEN CR_SMS_SUB%notfound;
        SELECT  spc_trans.NEXTVAL
        INTO TRANSNO1
        FROM DUAL;
        INSERT INTO EIM_COMMAND_RECORD(SUBSCR_TYPE, AREA, SUBNO, SERORDNO, TRANSNO, EXC, EXCSYSTEM,
                                       PORTNO, SPC_FUNCTION, APPDATE, NXTROUTINE, RETRANSMIT, TRANSSTATUS,
                                       EQUIPID, SOTYPE, CARDNO, CARD_TYPE)
        VALUES ( 'G', '0', C_SUBNO, NULL , TRANSNO1, 'GSM1', 'GSM1', '1', 'SERI', sysdate,
                 'SPC001', 'Y', 10, 'MCA' , 66, C_CARDNO, 'PLI');
        INSERT INTO EIM_EXECUTED_COMMANDS ( TRANSNO, CMDNO, COMMAND, TIMEOUT)
        VALUES (TRANSNO1, 1, 'ADD MCA FOR '||C_SUBNO||' USING (IMSINO='||C_IMSI_NUMBER||')', 30);
      END LOOP;
      CLOSE CR_SMS_SUB;
      COMMIT;
    EXCEPTION
    WHEN OTHERS THEN
          raise_application_error(-20001,'An error was encountered - '||SQLCODE||' -ERROR- '||SQLERRM);
    END;
    BEGIN
      D_COMMANDS;
    END;N.B.: Not Tested....
    Regards.
    Satyaki De.

  • PLS-00201: identifier 'DBMS_METADATA_DPBUILD' must be declared

    Hi There,
    Getting following error while executing prvtmetd.plb(Post patch install steps) script after upgrade 11.1.0.7 to 11.2.0.3.
    SQL> @@prvtmetd.plb
    Warning: Package Body created with compilation errors.
    Errors for PACKAGE BODY DBMS_METADATA_DPBUILD:
    LINE/COL ERROR
    0/0      PL/SQL: Compilation unit analysis terminated
    1/14     PLS-00201: identifier 'DBMS_METADATA_DPBUILD' must be declared
    1/14     PLS-00304: cannot compile body of 'DBMS_METADATA_DPBUILD'
             without its specification
    please help me out in this regard.
    Regards,

    What does the error message PLS-00304 tell you? It is self-explanatory, provided you looked it up prior to posting (in your post I see no sign you did).
    Look up the error message online and work from there.
    Sybrand Bakker
    Senior Oracle DBA

  • Component "Item_name" must be declare

    I created a cursor but showing error: at bold text
    Declare
         CURSOR post_item
         IS
         SELECT ALL SUBPOGENERAL.ITEM_CODE, SUBPOGENERAL.ITEM_DESC,
                             SUBPOGENERAL.QUANTITY, ITEM.ITEM_NAME, ITEM.ITEM_DESC
                             FROM SUBPOGENERAL, ITEM
                             WHERE SUBPOGENERAL.ITEM_CODE = ITEM.ITEM_CODE
                             and subpogeneral.poNO=:rcgeneral.PoNO ;     
         --select item_code,item_desc,Quantity
         --from  subpogeneral
         --     WHERE      subpogeneral.poNO=:rcgeneral.PoNO ;
                   kitemc          subpogeneral.item_code%TYPE;
                   kitemd          subpogeneral.item_desc%TYPE;
                   kqty           subpogeneral.quantity%TYPE;
               kitemn ITEM.ITEM_NAME%type;
              BEGIN
         GO_ITEM('subrcgeneral.item_code');
         OPEN POST_item;
         LOOP
              FETCH POST_item INTO
              kitemc,kitemn,kitemd,kqty;
              EXIT WHEN POST_item%NOTFOUND;
              GO_ITEM('subrcgeneral.item_code');
              CREATE_RECORD;
              :subrcgeneral.item_code               := Kitemc;
              :subrcgeneral.item_name               := Kitemn;
              :subrcgeneral.item_desc               := Kitemd;
              :subrcgeneral.qty                := kqty;
         END LOOP;
         CLOSE POST_item;
         end;
    Error : Component "Item_name" must be declare

    don't use reserved words for columnnames. That's the problem

  • Components must be declared error

    Hi all,
    I am facing problem in defining parameters in DT.
    I have made 2 parameters named var1 and var 2 in DT correspondingly in XDO and Package also.
    but when i am Viewing the Data in my report i get,Error like :
    The report cannot be rendered because of an error, please contact the administrator.
    Error Detail
    ORA-06550: line 2, column 17:
    PLS-00302: component 'VAR1' must be declared
    ORA-06550: line 2, column 1:
    PL/SQL: Statement ignored
    ORA-06550: line 3, column 17:
    PLS-00302: component 'VAR2' must be declared
    ORA-06550: line 3, column 1:
    PL/SQL: Statement ignored
    Following is my DT and Package spec and body.
    Data Template:
    <dataTemplate DataSourceRef="new_dsn" name="report" description="report" defaultPackage="PK_REPORT_NEW">
         <parameters>
              <parameter name="VAR1" dataType="character" defaultValue=""/>
              <parameter name="VAR2" dataType="character" defaultValue=""/>
         </parameters>
         <dataQuery>
              <sqlStatement name="Q1">
    select PK_REPORT_NEW.FUNC_REPORT('10','20') from dual
    </sqlStatement>
         </dataQuery>
         <dataStructure>
              <group name="report" source="Q1">
                   <element name="name" value="name"/>
                   <element name="designation" value="design"/>
                   <element name="salary" value="salary"/>
              </group>
         </dataStructure>
    </dataTemplate>
    Package Specification :
    CREATE OR REPLACE PACKAGE "PK_REPORT_NEW" AS
    FUNCTION FUNC_REPORT( var1 varchar2,var2 varchar2) RETURN CV_TYPES.GENTYPE;
    END;
    Package Body:
    CREATE OR REPLACE PACKAGE BODY "PK_REPORT_NEW" AS
    function FUNC_REPORT( var1 varchar2,var2 varchar2)
    return cv_types.gentype as
    CURSNAME CV_TYPES.GENTYPE;
    BEGIN
    BEGIN
    OPEN CURSNAME FOR
    SELECT name,var1,
    var2,
    FROM global_tab
    END;
    RETURN cursname;
    end FUNC_REPORT;
    END;
    Please help, its Urgent.Thanks in advance
    With regards,

    Use of a higher version of the expdp utility than the target database is know to result in this error.
    See Oracle support document: PLS-00302-SET_NO_OUTLINES must be declared When Using 10.2 Export Utility #339062.1
    Otherwise the target database Oracle version, utility version, and platform information is probably necessary to find the issue.
    HTH -- Mark D Powell --

  • Procedure must be declared error

    I am trying to create an anonymous block that will invoke both the packaged procedure and function in the package to test, using basket id 12.
    Package
    CREATE OR REPLACE PACKAGE order_info_pkg IS
    FUNCTION C 
       (p_basket IN NUMBER)
       RETURN VARCHAR2;
    PROCEDURE basket_info_pp
      (p_basket IN NUMBER,
       p_shop OUT NUMBER,
       p_date OUT DATE);
    END;
    CREATE OR REPLACE PACKAGE BODY order_info_pkg IS
    FUNCTION SHIP_NAME_PF 
       (p_basket IN NUMBER)
       RETURN VARCHAR2
      IS
       lv_name_txt VARCHAR2(25);
    BEGIN
      SELECT shipfirstname||' '||shiplastname
       INTO lv_name_txt
       FROM bb_basket
       WHERE idBasket = p_basket;
      RETURN lv_name_txt;
    EXCEPTION
       WHEN NO_DATA_FOUND THEN
         DBMS_OUTPUT.PUT_LINE('Invalid basket id');
    END ship_name_pf;
    PROCEDURE basket_info_pp
      (p_basket IN NUMBER,
       p_shop OUT NUMBER,
       p_date OUT DATE)
      IS
    BEGIN
       SELECT idshopper, dtordered
        INTO p_shop, p_date
        FROM bb_basket
        WHERE idbasket = p_basket;
    EXCEPTION
       WHEN NO_DATA_FOUND THEN
         DBMS_OUTPUT.PUT_LINE('Invalid basket id');
    END basket_info_pp;
    END;
    /Anonymous black:
    VARIABLE G_IDSHOPPER NUMBER;
    VARIABLE G_DATE VARCHAR2(20);
    DECLARE
      LV_TEXT     VARCHAR2(50);
      LV_IDSHOPPER     NUMBER;
      LV_DATE     DATE;
    BEGIN
      LV_TEXT := ORDER_INFO_PKG.BASKET_INFO_PP(12, LV_IDSHOPPER, LV_DATE);
      DBMS_OUTPUT.PUT_LINE(LV_TEXT);
    End;
    /Getting:
    ERROR at line 6:
    ORA-06550: line 6, column 14:
    PLS-00201: identifier 'BASKET_INFO_PP' must be declared
    ORA-06550: line 6, column 3:
    PL/SQL: Statement ignored
    Can anyone assist?
    I have also tried this statement to test and could not get it even close to working.
    VARIABLE G_SHOP NUMBER;
    VARIABLE G_DATE DATE;
    VARIABLE G_NAME VARCHAR2(30);
    DECLARE
      LV_ORDERNAME VARCHAR2(30);
    BEGIN
    SELECT TO_CHAR(DTORDERED)
      INTO :G_DATE
       FROM BB_BASKET
        WHERE IDBASKET = P_BASKET;
    SELECT ORDER_INFO_PKG.BASKET_INFO_PP(12, :G_SHOP, :G_DATE)
      INTO LV_ORDERNAME
       FROM BB_BASKET
        WHERE  IDBASKET = P_BASKET;
    DBMS_OUTPUT.PUT_LINE(LV_ORDERNAME, :G_SHOP, :G_DATE);
    END;
    /ERROR at line 7:
    ORA-06550: line 7, column 22:
    PL/SQL: ORA-00904: "P_BASKET": invalid identifier
    ORA-06550: line 4, column 1:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 8, column 23:
    PL/SQL: ORA-00904: : invalid identifier
    ORA-06550: line 8, column 1:
    PL/SQL: SQL Statement ignored
    ORA-06550: line 12, column 1:
    PLS-00306: wrong number or types of arguments in call to 'PUT_LINE'
    ORA-06550: line 12, column 1:
    PL/SQL: Statement ignored
    Edited by: user13842802 on Aug 6, 2012 5:53 PM

    Thanks for your response.
    SQL> DECLARE
      2    LV_TEXT VARCHAR2(50);
      3    LV_IDSHOPPER NUMBER;
      4    LV_DATE DATE;
      5  BEGIN
      6    ORDER_INFO_PKG.BASKET_INFO_PP(12, LV_IDSHOPPER, LV_DATE);
      7    LV_TEXT := order_info_pkg.C( 12 );
      8    DBMS_OUTPUT.PUT_LINE(LV_TEXT);
      9  End;
    10  /
      LV_TEXT := order_info_pkg.C( 12 );
    ERROR at line 7:
    ORA-06550: line 7, column 29:
    PLS-00302: component 'C' must be declared
    ORA-06550: line 7, column 3:
    PL/SQL: Statement ignoredIf i change line 7, to list it out:
    SQL> DECLARE
      2    LV_TEXT VARCHAR2(50);
      3    LV_IDSHOPPER NUMBER;
      4    LV_DATE DATE;
      5  BEGIN
      6    ORDER_INFO_PKG.BASKET_INFO_PP(12, LV_IDSHOPPER, LV_DATE);
      7    LV_TEXT := order_info_pkg.BASKET_INFO_PP(12, LV_IDSHOPPER, LV_DATE);
      8    DBMS_OUTPUT.PUT_LINE(LV_TEXT);
      9  End;
    10  /
      LV_TEXT := order_info_pkg.BASKET_INFO_PP(12, LV_IDSHOPPER, LV_DATE);
    ERROR at line 7:
    ORA-06550: line 7, column 14:
    PLS-00222: no function with name 'BASKET_INFO_PP' exists in this scope
    ORA-06550: line 7, column 3:
    PL/SQL: Statement ignoredIf I leave just the 12 value in, I get error:
    ERROR at line 7:
    ORA-06550: line 7, column 14:
    PLS-00306: wrong number or types of arguments in call to 'BASKET_INFO_PP'
    ORA-06550: line 7, column 3:
    PL/SQL: Statement ignored

  • Error while import into 10g --- 'DBMS_EXPORT_EXTENSION' must be declared

    Hi,
    We are in a process to upgrade our database from Oracle 8.1.7 to Oracle 10.2.0
    We are upgrading our database and on the different machine.
    Setup pre-requsities for 10g rel2 has been done.
    And now I am import the data from the Export File (dump file).
    I am importing data schema wise one by one using Database Control EM available in 10g.
    Data of two schemas has been succesfully been imported.
    Now when i am trying to import the data for third schema i am gettting the following errors as below.
    Import parameters that i have used ::
    FILE=E:\EXP_FULL_PAY.DMP
    LOG=E:\IMPORT.LOG
    FROMUSER=PAY02
    TOUSER=PAY02
    TABLES=SYSMST
    GRANTS=y
    INDEXES=y
    ROWS=y
    CONSTRAINTS=y
    IGNORE=y
    SKIP_UNUSABLE_INDEXES=y
    DATAFILES=n
    Error Details ::
    Username:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export file created by EXPORT:V08.01.07 via conventional path
    Warning: the objects were exported by HP, not by you
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    export client uses WE8ISO8859P1 character set (possible charset conversion)
    export server uses WE8ISO8859P1 NCHAR character set (possible ncharset conversion)
    . importing PAY's objects into PAY
    . . importing table "SYSMST" 2 rows imported
    IMP-00058: ORACLE error 6550 encountered
    ORA-06550: line 1, column 11:
    PLS-00302: component 'DBMS_EXPORT_EXTENSION' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN SYS.DBMS_EXPORT_EXTENSION.SET_IMP_SKIP_INDEXES_OFF; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 1, column 12:
    PLS-00302: component 'DBMS_EXPORT_EXTENSION' must be declared
    ORA-06550: line 1, column 8:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN SYS.DBMS_EXPORT_EXTENSION.SET_IMP_SKIP_INDEXES_OFF; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 1, column 12:
    PLS-00302: component 'DBMS_EXPORT_EXTENSION' must be declared
    ORA-06550: line 1, column 8:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN SYS.DBMS_EXPORT_EXTENSION.SET_IMP_SKIP_INDEXES_OFF; END;"
    IMP-00003: ORACLE error 6550 encountered
    ORA-06550: line 1, column 12:
    PLS-00302: component 'DBMS_EXPORT_EXTENSION' must be declared
    ORA-06550: line 1, column 8:
    PL/SQL: Statement ignored
    IMP-00017: following statement failed with ORACLE error 6550:
    "BEGIN SYS.DBMS_EXPORT_EXTENSION.SET_IMP_SKIP_INDEXES_OFF; END;"
    This error goes into the infinite loop and at last shows the message as increase the flash recovery area size.
    Kindly provide the guidance...
    Regards

    Hi Nichols,
    As u have told that some reserved word must have been used as a database object name, but as i have also mentioned the name of table that is to be imported.
    i.e. "SYSMST" which i think so, it cannot be a reserved word
    Neither i can change the table name as it may generate further complications.
    And also when i havae refresh the Database Control EM page I am getting the following error ::
    Archiver is unable to archive a redo log because the output device is full or unavailable.
    Agent Connection to Instance :
    Status:: Failed
    Details ORA-00257:: archiver error. Connect internal only, until freed. (DBD ERROR: OCISessionBegin
    Kindly guide...
    Regards
    Milin
    Message was edited by:
    user640001

  • Error PLS-00302 while importing images

    Hello,
    I exported the images from the online environment and tried to import the file on a local instance of HTML DB.
    Although the script says the export file is COMPATIBLE, it stops with the following error:
    ERROR at line 2:
    ORA-06550: line 2, column 24:
    PLS-00302: component 'G_VARCHAR2_TABLE' must be declared
    The failing statement is:
    wwv_flow_image_api.g_varchar2_table(1) := '...'
    where ... represents a string of hexadecimal values
    I ran the script as user FLOWS_010500.
    All other scripts ran normally without problems.
    Any hints?
    Bye,
    Flavio

    Flavio,
    You need to apply the recent patch to get you to 1.5.1, then the import should work. Please advise if it does not.
    Thanks for pointing this out.
    Scott

Maybe you are looking for

  • The Po condition transfered from SRM to ECC

    Dear ,My Experts :    I work in SRM7.0 .Extended Classic Scenario .    I create PO with PO condirtion in SRM system .The PO will be transfered to ECC system . But the condition is not transfered .    So ,i want to know why ,and how to do ?    Best Re

  • JDev ADF Faces and XML publisher integration

    Hi, I have an ADF Faces / BC project which I want to integrate XML Publisher for reporting and output purposes. Following this note by Deepak Vohra http://www.oracle.com/technology/pub/articles/vohra-jdev-xmlpub.html (which was incredibly helpful by

  • Is EDI ADAPTER available

    Hi guys, We are specifically looking for training people on EDI adapter and integration of SAP XI. I just got this requirement.....even i am not sure about this requirement... <b>Can any one let me know if there is EDI adapter...</b> Cheers, Raghaves

  • How to use FC to make a sub-component for Flex

    Most of the examples and tutorials I've seen so far assume you are creating the app itself in FC. However, what I need to do is create a custom component that will be a "screen" in a large Flex app, like a page in a Wizard. So if I was doing this wit

  • PM order print problem - Update terminated Urgent

    Hi, I am trying to print PM work order with tcode IW32 but when i print it says Order 5000012 saved with notification 30000012. But as soon as i do any other function it gives msg "Express document "Update was terminated" received from author...etc"