Getting error in gather schema status

Hi All,
i am using oracle 10g database. when i am trying to gather stats i am gettin the below error.
do we need to give all the options other than ownname ? can anyone help me with the right command?
SQL> exec DBMS_STATS.GATHER_SCHEMA_STATS(ownname=>'CLINICOPIA_USER','CLINICOPIA','CLINICOPIA_PORTAL',DBMS_STATS.AUTO_SAMPLE_SIZE);
BEGIN DBMS_STATS.GATHER_SCHEMA_STATS(ownname=>'CLINICOPIA_USER','CLINICOPIA','CLINICOPIA_PORTAL',DBMS_STATS.AUTO_SAMPLE_SIZE); END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'GATHER_SCHEMA_STATS'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

There are wrong number of parameters that you are passing. Thats why there is an error. More over note the following:
SQL> exec DBMS_STATS.GATHER_SCHEMA_STATS(ownname=>'CLINICOPIA_USER','CLINICOPIA','CLINICOPIA_PORTAL',DBMS_STATS.AUTO_SAMPLE_SIZE);
Mixed notation. You specify the first parameters with positional notation, then switch to named notation for the last parameters.
You can use this notation to call procedures that have some required parameters, followed by some optional parameters.
Vice versa not allowed!
http://download.oracle.com/docs/cd/B13789_01/appdev.101/b10807/08_subs.htm#i4072

Similar Messages

  • Error  while gather schema stats

    Hi,
    I am getting the error while gather schema stats
    -1 - ORA-00001: unique constraint (APPLSYS.FND_STATS_HIST_U1) violated
    Unable to correctly update the history table - fnd_stats_hist.
    -1 - ORA-00001: unique constraint (APPLSYS.FND_STATS_HIST_U1) violated
    -Sagar

    Ariz,
    The FND_STATS package provides procedures for gathering statistics for Oracle Applications database objects. It also provides procedures
    for storing the current statistics in a table (FND_STATTAB) and restoring them back. This package also facilitates the gathering of some statistics in parallel. This package calls the DBMS_STATS package.
    The FND_STATS package also has procedures to populate the FNDSTATS_HIST_* table to record the historical information of time taken for gathering the
    statistics for the different types of objects.
    Famy

  • Gather schema status does not do customized tablespace

    My apologies if this question is in the wrong forum, as I was unsure exactly where to post.
    Under Oracle Financials, Sysadmin responsibility, there is a concurrent program called gather schema stats. We run this weekly. Several years ago, we created a schema and tablespace as part of the financials database, which contains de-normalized reporting tables. This schema is NOT picked up in the gather schema statistics concurrent program. Does this make sense? Just curious as to what I have to do to ensure the concurrent program picks up any non-seeded schema's. Alternatively, I could run something through cron do manage this. Thanks.

    You need to register your custom schema :-) Pl see ML Note 394555.1
    HTH
    Srini Chavali

  • Getting Error while Changing the status of Batch

    Hi ,
    For Reverting back from Completed to WIP i am using gme_api_pub.uncertify_batch API, but getting the following error.
    I am passing batch_id to the API but unalbe to solve the issue.
    x return status: E
    msg count 2 is : 1
    err msg 1is: No keys specified to identify the rows in the table GME_BATCH_HEADER.
    error may be: User-Defined Exception
    Help is highly appreciated.
    Regards,
    RR

    Hi ,
    For Reverting back from Completed to WIP i am using gme_api_pub.uncertify_batch API, but getting the following error.
    I am passing batch_id to the API but unalbe to solve the issue.
    x return status: E
    msg count 2 is : 1
    err msg 1is: No keys specified to identify the rows in the table GME_BATCH_HEADER.
    error may be: User-Defined Exception
    Help is highly appreciated.
    Regards,
    RR

  • Getting error while importing schema with ORACLE TEXT

    IMP-00003: ORACLE error 20000 encountered
    ORA-20000: Oracle Text error:
    DRG-52204: error while registering index
    DRG-10507: duplicate index name: WORKORDER_Q, owner: SYS
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.DRIIMP", line 115
    ORA-06512: at line 2
    IMP-00088: Problem importing metadata for index WORKORDER_Q. Index creation will be skipped
    Database version - Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Os version - Linux nlxs1012.slb.atosorigin-asp.com 2.6.18-308.el5 #1 SMP Fri Jan 27 17:17:51 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
    We have take export of schema from production db now importing data to qa environment..
    In import facing above error..

    I am importing objects from P20_MAXIMO to Q25_MAXIMO to another database..
    Below is import par file..
    USERID='/ as sysdba'
    FILE=exp_P20_MAXIMO_C2364781.dmp
    LOG=imp_P20_MAXIMO__Q25_MAXIMO_C2364781_1.log
    FROMUSER=P20_MAXIMO
    TOUSER=Q25_MAXIMO
    buffer=1000000
    feedback=100000
    Export parfile
    userid='/ as sysdba'
    owner=P20_MAXIMO
    FILE=exp_P20_MAXIMO_C2364781.dmp
    LOG=exp_P20_MAXIMO_C2364781.log
    buffer=10000000
    feedback=100000
    statistics=none

  • Getting error while using jaxb/xjc

    hello every one,
    i have a xsd and i want automated classes from it for which i am using jaxb and xjc compiler but when i am running it then i am getting error
    parsing a schema...
    compiling a schema...
    Exception in thread "main" java.lang.IllegalArgumentException: Expected
    class ja
    vax.xml.bind.annotation.XmlAccessType but found class
    javax.xml.bind.annotation.
    my xsd is
    <xs:schema
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="clients"
    type="ClientsDef"/>
    <xs:complexType name=" ClientsDef ">
    <xs:sequence>
    <xs:element name="pers" type="Person"
    maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="Person">
    <xs:sequence>
    <xs:element name="name"
    type="xs:string"/>
    <xs:element name="date_of_birth"
    type="xs:date"/>
    <xs:element name="cnp"
    type="xs:string"/>
    <xs:element name="adress"
    type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    any one please help me out...

    Hi,
    XSD is well formed but for JAXB, it needs to have the complexType declaration inner the root element:
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="clients">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="pers" type="Person" maxOccurs="unbounded"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
    <xs:complexType name="Person">
    <xs:sequence>
    <xs:element name="name" type="xs:string"/>
    <xs:element name="date_of_birth" type="xs:date"/>
    <xs:element name="cnp" type="xs:string"/>
    <xs:element name="adress" type="xs:string"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>Tested this works with this Main using jaxb-bindings in Netbeans (defining XSD compilation under clients package, Main in default package):
    import clients.Clients;
    import clients.ObjectFactory;
    import clients.Person;
    import java.io.ByteArrayOutputStream;
    import javax.xml.bind.JAXBContext;
    import javax.xml.bind.Marshaller;
    public class Main
        public static void main(String args[]) throws Exception
            ObjectFactory of = new ObjectFactory();
            Clients cd = of.createClients();
            Person p = of.createPerson();
            p.setAdress("address");
            p.setCnp("cnp");
            p.setName("name");
            cd.getPers().add(p);
            ByteArrayOutputStream bos = new ByteArrayOutputStream();
            try
                JAXBContext ctx;
                ctx = JAXBContext.newInstance(Clients.class);
                Marshaller marshaller = ctx.createMarshaller();
                marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, new Boolean(true));
                marshaller.marshal(cd, bos);
                System.out.println(bos.toString());
            finally
                bos.close();
    }Generates:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <clients>
    <pers>
    <name>name</name>
    <cnp>cnp</cnp>
    <adress>address</adress>
    </pers>
    </clients>

  • Getting error while creating the variable of Schema Element type

    Hi everybody,
    For creating a variable of schema element type I am doing the following steps...
    Select 'Variables' after right clicking on bpel process. IN this window, go to 'Create VAriable' then select 'Element' type. Now in Type Choose, I expanded the my imported schema files. And selected a element type, then click ok to create this variable... I am getting the message...
    IN ORDER TO SAVE IMPORTED WSDL/SCHEMA FILES, YOU MUST HAVE A PARTNER LINK LOCATED UNDER THE CURRENT PROJECT DIRECTORY.
    What is mean by that.
    I have imported the schema files in project. AFter that I have imported them into the WSDL also. Now why I am getting error while creating the variable. However I can create variable directly in .BPEL file then everything is fine. And it is working also. But what is mean with the above error? Why I am not able to create variable through GUI?
    Thanks.

    Hi,
    I have this same problem this morning, and I was going crazy, until I found this webpage on the internet:
    [http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process|http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process]
    The idea is that the jdeveloper is not very good working with directories with spaces on the directory name. If you move all your work to a directory without spaces, it will work smoothly. At least, it had worked for me.
    Regards,
    Nacho

  • FNDGSCST module: Gather Schema Statistics - ERROR: While GATHER_TABLE_STATS

    Hi
    I ran gather schema Statistics
    In GATHER_SCHEMA_STATS , schema_name= ALL percent= 10 degree = 4 internal_flag= NOBACKUP
    the error are:
    stats on table AQ$_WF_CONTROL_P is locked
    stats on table FND_CP_GSM_IPC_AQTBL is locked
    Error #1: ERROR: While GATHER_TABLE_STATS:
    object_name=AP.JE_FR_DAS_010***ORA-20001: invalid column name or duplicate columns/column groups/expressions in method_opt***
    Error #2: ERROR: While GATHER_TABLE_STATS:
    object_name=AP.JE_FR_DAS_010_NEW***ORA-20001: invalid column name or duplicate columns/column groups/expressions in method_opt***
    Error #3: ERROR: While GATHER_TABLE_STATS:
    object_name=AP.JG_ZZ_SYS_FORMATS_ALL_B***ORA-20001: invalid column name or duplicate columns/column groups/expressions in method_opt***
    I ran this while ago.
    anyone can help me to fix it
    Thanks

    Please see old threads which discuss the same issue -- http://forums.oracle.com/forums/search.jspa?threadID=&q=Gather+AND+Schema+AND+Statistics+AND+ORA-20001&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • Getting error when updating the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1

    Hi,
    I`m getting error message like "None of the apps in your project can be activated in the target. The manifest file of one or more apps contain API sets or Office applications that are not supported by
    the target Office client. To debug those apps, update manifest files to exclude any unsupported API sets or Office applications, and then start the project again. Alternatively, you can debug your apps by using Office 365 as a target." when when
    updating the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1 in manifest file though i have added host elements.
    any help in this regard is highly appreciated
    Thanks,
    Santosh Sutar  

    Hi Satosh Sutar,
    Based on the description, you got the error message when you update the apps from version 1.0 to 1.1.
    From the error message, it seems the menifest include some settings no allowed in the new version. Would you mind sharing more detail about how you update the project?
    And here is an article about updating apps for Office and menifest schema files in the project for your reference:
    How to: Update the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Gather Schema Stats concurrent program error with lock

    We are running Gather Schema Statistics from Oracle E-Business Suite 11.5.10 against a 10..2 database. When run against individual schema it completes with no error, but when run against ALL schemas it completes with the following error.
    “ERROR: While GATHER_TABLE_STATS: object_name=XDP.XDP_ORDER_PROCESSOR_QTAB***ORA-20005: object statistics are locked (stattype = ALL)***”
    I understand why the tables are locked and I know how to unlock the table (exec dbms_stats.unlock_schema_stats('schema_owner'); exec dbms_stats.unlock_table_stats('table_owner','table_name');
    My query is this: Metalink Note [ID 433240.1] advises If the table is a queue table then the statistics should remain empty and locked so that dynamic sampling is used due to the volatility of queue tables.
    If I follow the advise in the note above, and leave the tables as locked then gather Schema Statistics will continue to complete with an Error (its annoying).
    I found metalink note (375351.1) which seems to say that all tables can be unlocked including queue tables.
    Has anyone encountered this problem, do you recommended that I unlock this tables even though they are queue tables.

    Hi;
    Please follow doc ORA-20005 WHEN GATHERING STATISTICS FOR APPS 11i / R12 IN 10G or 11G [ID 375351.1],i belive you can run command wihtout issue. If its prod than you can also rise SR and confirm wiht oracle support
    Regard
    Helios

  • Getting error "The request failed with HTTP status 401: Unauthorized " for _vti_bin/Authentication.asmx

    Hi All,
    My Web application is FBA application and I am using the lists.asmx services in my custom webpart. To run this lists.asmx service in FBA enabled site we need to use Authentication.asmx service..
    I referred this link:
    http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/21867e28-75d5-42c8-850b-bfb5c5894eed .
    I wrote a code as mentioned in this article but now I am getting  error "The request failed with HTTP status 401: Unauthorized " for Authentication.asmx service itself. Can somebody help me why it is not working even everything looks
    correct?
    Thank you.
    Regards,
    Rahul Shinde.

    Hi Rahul,
    Give permissions to the user on the web application.
    Central Admin -->Application Management --> Application Security -->Policy for web application --> Select the
    web application --> Add User
    For more information, refer to
    http://microsoftdev.blogspot.com/2009/10/sharepoint-web-services-access-give.html
    http://www.codeproject.com/Articles/24244/Access-a-Forms-Based-SharePoint-Site-s-Web-Service
    Best Regards.
    Kelly Chen
    TechNet Community Support

  • Getting Error Msg " System Status INCM is active (confirmation 7300012896)"

    Hi ,
    Whlie confirming Goods in "Confirm Goods/ Services" user is getting Error " System Status INCM is active ( confirmation 7300012896)
    Can you please tell how to rectify this error message and confirm goods against PO.
    Regards,
    Avdhut

    check - click before doing confirmation
    there many other error message thrown at bottom side
    any user locked of for network / PM order  order in the PO
    some message will be thrown
    share taht message for more help.
    Muthu

  • Getting Error User Status DPND is active

    Hi Experts,
    I am getting error User Status DPND is active ,  during saving User Decision.
    I am getting this error only If i am doing Defect recording in QE01.
    Without Defect Recording there is no error ....
    Plz let me know what is this error & how to resolve it ?
    Warm Regards,
    Dheeraj Sharma

    Hi Dheeraj,
    With Defect recording, system creates Q Notification based on the Notification type assignment to the
    Inspection Type in Config step QM>QN >Defects recording
    This assignment is at client level, not advisable to change
    There is one more setting at Defect Class level, (You assign Defect class for Defect code while creating catalog Type 9) In defect class if you uncheck "Activate Q-Notification" in the "Next fuctions in results recording section" system will still genrate QN but will not be activated
    QM>QP>Basic Data>Catalog>Define Defect class
    This Notification will be Automatically closed, while UD
    For existing Notifications already created while DR , you can go to QM02
    Select the item created, go to Task, create new Task and Mark that task as complete, the status of the notification will change to ATCO , complete the UD after this, it will mark the QN status to NOCO and complete stock posting
    Thanks
    DD

  • We get an error meesage saying "report status ENEQUED"..

    I have installed Oracel 11g Database and 10g developer suite on two seprate machines...
    Forms are working fine through client(third machine) browser(internet explorer).But, When reports are call from forms we get an error meesage saying "report status ENEQUED".. PLz help

    hi
    try something like this.
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    plid ParamList;
    --vParamValue number;
    BEGIN
    plid := Get_parameter_List('tmp');
    IF NOT Id_Null(plid) THEN
    Destroy_parameter_List( plid );
    END IF;
    plid := Create_parameter_List('tmp');
    add_parameter(plid,'p_num',text_parameter,to_char(:block.item));
    Add_parameter(plid, 'PARAMFORM', TEXT_parameter, 'NO');
    repid := FIND_REPORT_OBJECT('REPORT6');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no');
    v_rep := RUN_REPORT_OBJECT(repid,plid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://IP Or Machine_name:Port/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?
    '||'server=Report_server_name&Report_parameter='||:block.item||
    '&paramform=no','_blank');
    END;Note:- Modify the above code with your requirements.
    sarah

  • While Opening HFM application getting Error : "A connection to the server has failed. (status=503)"

    Hi All,
    While Opening HFM application I'm getting Error : "A connection to the server has failed. (status=503)".
    I Checked the Doc ID 1516598.1 and tried to increase the timeout setting, which really didn't help.
    Where can check a log for this connection issue, not able to see any error in Starter or HFM server logs.
    Please help me to fix this issue.
    Server: Windows 2008 R2
    EPM Application: 11.1.2.2
    Database: Oracle 11g
    Regards,
    Rajeevan D

    Hi!!
         I am facing the same issue and have increased the timeout setting according to the Doc ID 1516598.1.
         When I open up the app, it takes more than 5 minutes but it just get little longer and I've got the error....
         My HFM is at 11.1.2.2.300 version.
    Server: Windows 2008 R2
    EPM Application: 11.1.2.2
    Database: Oracle 11g
    Thanks

Maybe you are looking for

  • QuickTime 7.6 upgrade for Tiger breaks system

    I am also having problems on Tiger (10.4.11) after upgrading to QuickTime 7.6. Upon reboot after the install completed, I wind up with the login prompt on the console (not the login window, but a true unix login prompt). Logging in and dumping the la

  • "Domain Users" group in Active Directory does not belong to any Group Membership in LC

    Active Directory user belonging to "Domain Users" group does not belong to any Group Membership in LC, why does it not belong to "Domain Users" group? Any way to correct this issue, without changing group membership on AD side? If Active Directory us

  • Adding up columns

    When adding columns I click the SUM formula which adds up the whole column. Can anyone tell me how to add up only certain rows in the same column? I can do this in Excel by inserting a blank row and then SUM. This adds up the numbers between the blan

  • Error when trying to add users - The server is not operational [domain]

    Installed the admin console and went to start adding users to the system.  On the add users screen I select the domain and then get the following error: The server is not operational [domain] I looked this up in Service Notes and found this and found

  • Dynamic iframe src

    Is there a way to dynamically load the src attribute of an iframe component with a jsf session value? I have a jsf page with an iframe which points to another web site. This website can be different dependand on a session variable. I am currently usi