Unable to export the schema by the name OPS$BDIT  using expdp

Hi,
oracle - BDMSD> expdp directory=EXPORT_BACKUP_DIR schemas=OPS$BDIT dumpfile=test.dmp logfile=test.log
Export: Release 10.2.0.4.0 - 64bit Production on Monday, 30 January, 2012 10:08:27
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Username: / as sysdba
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39001: invalid argument value
ORA-39170: Schema expression 'OPS' does not correspond to any schemas.
Thanks

user12266475 wrote:
Hi,
oracle - BDMSD> expdp directory=EXPORT_BACKUP_DIR schemas=OPS$BDIT dumpfile=test.dmp logfile=test.log
Export: Release 10.2.0.4.0 - 64bit Production on Monday, 30 January, 2012 10:08:27
Copyright (c) 2003, 2007, Oracle. All rights reserved.
Username: / as sysdba
Pl post OS details. You should not use "/ as SYSDBA" to execute expdp - see the first "Note" here - http://docs.oracle.com/cd/B19306_01/server.102/b14215/dp_export.htm#sthref57 - use SYSTEM instead.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORA-39001: invalid argument value
ORA-39170: Schema expression 'OPS' does not correspond to any schemas.
ThanksFor special characters like $, it is best to create a parameter file and use quotes or escape characters, rather than provide the parameters on the command line.
Exporting a schema which contains a dot in the name with EXPDP fails with ORA-39001, ORA-39170 [ID 388763.1]
HTH
Srini

Similar Messages

  • Problems with putting the Schema on the query!!!! Need Help.

    Hi guys!
    I have a problem and a doubt about putting schema name on my query. I want to know if is neccesery specify the schema name on the query I want to execute. All my queries are on my application, I connect from the begging to my oracle data base with a user and password, this user is only alow for that schema. So my question is if I can ommit the schema name on the query.
    Explample
    Select * From Table
    Select * from Student
    Select * from Schema.Table
    Select * from Institution.Student
    Thanks, and I hope you can help me,
    Yuni.

    YOU WROTE "I have a problem and a doubt about putting schema name on my query. I want to know if is neccesery specify the schema name on the query I want to execute. All my queries are on my application, I connect from the begging to my oracle data base with a user and password, this user is only alow for that schema. So my question is if I can ommit the schema name on the query."
    don't use words that you don't know!
    also, your example (in the first post) gave the schema.table as INSTITUTION.STUDENT
    so these are all words that you started with.
    now, PAY ATTENTION and RUN THE EXAMPLE SQLS I GAVE
    connect to the database as INSTITUTION (user, schema, I don't care which).
    execute the sql statement "select * from student".
    did it do anything? did it return data, did it say "no rows", or did it have an error? my magic 8 ball and x-ray glasses are broken and I can't see you monitor (my old computer only has that one way window). if it works, then you clearly do not need to put be "putting the Schema on the query!!!!". if it didn't work, then TELL US EXACTLY WHAT HAPPENED (copy AND paste).
    and where are my cigars ;-)
    MERGE AGAIN????? PLZ Somebody HELP ME!!!!!

  • Using dbms_datapump package to export the schema with the schema name as pa

    Hi,
    I am using the pl/sql block to export schema using dbms_datapump package,Now I want to pass the scheme name as the parameter to the procedure and get the .dmp and .log files with the schema name included.
    CREATE OR REPLACE PROCEDURE export
    IS
    h1 number;
    begin
    h1 := dbms_datapump.open (operation => 'EXPORT', job_mode => 'SCHEMA', job_name => 'export1', version => 'COMPATIBLE');
    dbms_datapump.set_parallel(handle => h1, degree => 1);
    dbms_datapump.add_file(handle => h1, filename => 'EXPDAT.LOG', directory => 'DATA_PUMP_DIR', filetype => 3);
    dbms_datapump.set_parameter(handle => h1, name => 'KEEP_MASTER', value => 0);
    dbms_datapump.metadata_filter(handle => h1, name => 'SCHEMA_EXPR', value => 'IN(''CHECKOUT'')');
    dbms_datapump.set_parameter(handle => h1, name => 'ESTIMATE', value => 'BLOCKS');
    dbms_datapump.add_file(handle => h1, filename => 'EXPDAT%U' || to_char(sysdate,'dd-mm-yyyy') || '.DMP', directory => 'DATA_PUMP_DIR', filetype => 1);
    dbms_datapump.set_parameter(handle => h1, name => 'INCLUDE_METADATA', value => 1);
    dbms_datapump.set_parameter(handle => h1, name => 'DATA_ACCESS_METHOD', value => 'AUTOMATIC');
    dbms_datapump.start_job(handle => h1, skip_current => 0, abort_step => 0);
    dbms_datapump.detach (handle => h1);
    exception
    when others then
    raise_application_error(-20001,'An error was encountered - '||SQLCODE||' -ERROR- '||SQLERRM);
    end;
    Thank you in advanced
    Sri

    user12062360 wrote:
    Hi,
    I am using the pl/sql block to export schema using dbms_datapump package,Now I want to pass the scheme name as the parameter to the procedure and get the .dmp and .log files with the schema name included.
    OK, please proceed to do so
    >
    CREATE OR REPLACE PROCEDURE export
    IS
    h1 number;
    begin
    h1 := dbms_datapump.open (operation => 'EXPORT', job_mode => 'SCHEMA', job_name => 'export1', version => 'COMPATIBLE');
    dbms_datapump.set_parallel(handle => h1, degree => 1);
    dbms_datapump.add_file(handle => h1, filename => 'EXPDAT.LOG', directory => 'DATA_PUMP_DIR', filetype => 3);
    dbms_datapump.set_parameter(handle => h1, name => 'KEEP_MASTER', value => 0);
    dbms_datapump.metadata_filter(handle => h1, name => 'SCHEMA_EXPR', value => 'IN(''CHECKOUT'')');
    dbms_datapump.set_parameter(handle => h1, name => 'ESTIMATE', value => 'BLOCKS');
    dbms_datapump.add_file(handle => h1, filename => 'EXPDAT%U' || to_char(sysdate,'dd-mm-yyyy') || '.DMP', directory => 'DATA_PUMP_DIR', filetype => 1);
    dbms_datapump.set_parameter(handle => h1, name => 'INCLUDE_METADATA', value => 1);
    dbms_datapump.set_parameter(handle => h1, name => 'DATA_ACCESS_METHOD', value => 'AUTOMATIC');
    dbms_datapump.start_job(handle => h1, skip_current => 0, abort_step => 0);
    dbms_datapump.detach (handle => h1);
    exception
    when others then
    raise_application_error(-20001,'An error was encountered - '||SQLCODE||' -ERROR- '||SQLERRM);
    end;
    EXCEPTION handler is a bug waiting to happen.
    eliminate it entirely

  • SOS!! How to export a schema while the SYSAUX tablespace is offline?

    Hello,
    the SYSAUX for one of our productive database became corrupted and I had to take it offline in order to open the database. There is no way to recover it since there are missing archive logs from the sequence.
    So I need to export a database schema which holds all the productive tables/indexes (there are no procedure, functions, packages, triggers,etc - just tables, constraints and indexes).
    When I try to export the schema, I get the following error:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in UTF8 character set and UTF8 NCHAR character set
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user CMS31_ARMENTEL_SITE_N
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user CMS31_ARMENTEL_SITE_N
    About to export CMS31_ARMENTEL_SITE_N's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    EXP-00056: ORACLE error 376 encountered
    ORA-00376: file 3 cannot be read at this time
    ORA-01110: data file 3: '/opt/data1/oradata/UTF8/sysaux01.dbf'
    ORA-06512: at "SYS.DBMS_METADATA", line 1511
    ORA-06512: at "SYS.DBMS_METADATA", line 1548
    ORA-06512: at "SYS.DBMS_METADATA", line 1864
    ORA-06512: at "SYS.DBMS_METADATA", line 3707
    ORA-06512: at "SYS.DBMS_METADATA", line 3689
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully
    I've tried direct export, data pump (expdp) but with the same unsucessfull results.
    Is there any way to use the export or expdp utility to get the actual data from a specific schema ?
    Many thanks

    Hello Harry and many thanks for your reply.
    EXCLUDE is an option of expdp not exp. So I used expdp and get the following error:
    expdp impexp/blabla dumpfile=SITE_N.dmp schemas=SITE_N exclude=CLUSTER:SITE_N
    Export: Release 10.1.0.2.0 - Production on Tuesday, 29 January, 2008 20:56
    Copyright (c) 2003, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ORA-31626: job does not exist
    ORA-31638: cannot attach to job SYS_EXPORT_SCHEMA_05 for user IMPEXP
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPV$FT_INT", line 377
    ORA-39077: unable to subscribe agent KUPC$A_1_20080129205606 to queue "KUPC$C_1_20080129205606"
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPC$QUE_INT", line 248
    ORA-25448: rule SYS.KUPC$C_1_20080129205606$227 has errors
    ORA-00376: file 3 cannot be read at this time
    ORA-01110: data file 3: '/opt/data1/oradata/UTF8/sysaux01.dbf'
    Different error (since now I use expdp) but for the same reason (SYSAUX is offline)
    Regards
    Argyris

  • Unable to get another schema for the same Report!

    Hi All,
    I've created a report with data retrieved from three different schema's, but when I add a fourth schema with it's name before the query retrieved and run the report, it gives me that: table or view does not exist!
    Why does the report get the three schema's and refused the fourth one!? and how to solve the problem?
    Note: I am using reports 6i.

    HI,
    Make sure the connected user has sufficient privilege on that table.
    Regards,
    Manu.

  • How to query the "Schema" in the Reporting Schema?

    I need to be able to report on a specific set of tables with my model.
    I have elected to group them under one Schema.
    I was thinking I could write a custom report via the Reporting Schema and select the tables based on the schema they are associated with.
    However, I dont see the table within the SQLDeveoper Model Reporting Schema that containes the mapping of tables to a schema.
    Is this missing from the export?
    If yes, what would be a better way of doing this type of grouping?
    Thanks
    Mark

    Hi Mark,
    Schema is not exported to reporting repository.
    You can use Classifications types to group tables, entities etc. And you can create your own classification types. There is field classification_type_ovid in dmrs_tables table which can be used as filter.
    Another way of grouping is using Sub Views. In that case these are the queries:
    --This returns all main views + sub views, exported to DB, filter in Where clause for specific design could be applied
    SELECT CASE
    WHEN d.diagram_type = 'MainView' THEN d.model_name
    ELSE ''
    END as "Model Name",
    d.model_ovid as "Model OVID",
    CASE
    WHEN d.diagram_type = 'Subview' THEN d.diagram_name
    ELSE ''
    END as "Sub View",
    d.ovid as "OVID"
    FROM dmrs_vdiagrams d,
    dmrs_models m
    WHERE d.model_ovid = m.model_ovid
    --AND    d.design_ovid = column design_ovid from DMRS_DESIGNS table
    --AND    m.model_type = 'Relational' (or 'Logical')
    ORDER BY d.model_name,d.diagram_type, d.diagram_name
    - This return all all tables withing specific sub view
    SELECT t.table_name as "Table Name",
    t.ovid as "OVID"
    FROM dmrs_tables t,
    dmrs_diagram_elements de,
    dmrs_vdiagrams d
    WHERE de.ovid = t.ovid
    AND de.diagram_ovid = d.ovid
    AND d.ovid = -> this is subview ovid from above query
    Regards

  • Can not see the schema under the new connection -- Please help

    The database is Oracle.  Recently I requested our DBA to do a database refresh, and here was she did.
    1. Drop the user (TDEV, schema owner) in Dev.
    2. Recreate the user, TDEV, with the same password, roles and tablespaces.
    3. Using Oracle export command to export data from production under schema owner, TPROD.
    4. Using Oracle import command to import the dump file from TPROD to TDEV.
    5. Both export and import were successful.
    Dev and Production are in two different databases.
    After the importing, using SQL*PLUS I logged into Dev database as schema owner "TDEV", and were able to select all tables.  I also verified there was no schema or user called TPROD in Dev database, and there is no TDEV in Production database.
    However, in Crystal Report, both 10 and XI, when I made the new ODBC (RDO) connection to Dev DSN and logged in as the schema owner user "TDEV", I noticed there is TPROD listed below, but no TDEV.  I tried to select the tables listed underneath TPROD, and got the following error message: "Query Engine Error: '42S02:[Oracle][ODBC][Ora]ORA-00942: table or view doesn't exist'"
    Any ideas or helps are welcome!!

    Try to create a brand new DSN connecting to Dev

  • Which comes first?  The schema or the form?

    I am new to livecycle, so please bear with me ;-)
    My question is about schemas. Since my company does not have a "master" schema, we will be starting from scratch.
    How does one begin? Do you create a schema first in a tool such as xmlSpy and then use that to create forms and bind the data? Or does one start by creating forms and then exporting the data from livecycle out to a schema (which then would also need to be bound back to the fields in the data view). For some reason I'm stuck thinking that starting by creating the form(s) first and exporting the data would be useful for growing your master schema.
    Thanks for your help!

    Hi,
    What the Paul said is actually correct. However most of the time form is changing a lot so you have to change the schema before changing the form if starting from schema.
    If you design the document first, you can generate the schema later by using the exported data of the PDF. There exists some free tools to convert XML data to XSD schema.
    In case of any consultancy issues and huge number of PDF designs needed in small periods, we develop and design PDF documents.
    Asiye Günaydın
    Project Consultant
    KGC Consulting Co.
    http://www.kgc.com.tr

  • Secure the password of the schema in the application server

    Hi,
    my application is using one schema, and the users are stored in a table within that schema. When the user run the application, the schema password is not required since it is stored in formsweb.cfg file as userid=username/password@servicename. the problem with this, is that anyone is able to know the schema password by opening the formsweb.cfg.
    is there any way to make the password invisible in the application server ?
    Thanx

    Hi
    1. What is the version of the Oracle Fusion Middleware you are using?
    2. Why would the users have access to the formsweb.cfg file?
    Please provide the above info to get further assistance.
    Regards,
    Durbanite

  • How to validate an xml with a schema w/o specifying the schema in the xml

    I have done xml validation with xml schemas, where the xml points to the xsd to use. However, I would like to not have to specifiy the xml schema in the xml document (and can't ensure that the xml coming to us has that in it). How do I, in the java code, tell it what schema to use in validation?
    Brian

    static final String schemaSource = argv[0];
    static final String JAXP_SCHEMA_SOURCE =
    "http://java.sun.com/xml/jaxp/properties/schemaSource";
    DocumentBuilderFactory factory =
    DocumentBuilderFactory.newInstance();
    factory.setAttribute(JAXP_SCHEMA_SOURCE,
    new File(schemaSource));

  • How to find the text id & object name to be used with read_text  ?

    Hi All
    how to determine the text id & object name associated with PO to be used with FM read_text  ?
    Regards
    Jaman

    Hi,
    For PO there will be Header Texts and Item texts.
    For header texts just Take the PO number as TDNAME.
    for Item texts Conactenate the PO number and Item Number and use as TDNAME.
    in ME23N Go to any text.Double click on it
    It will take you to text editor.
    GOTO-> header
    it will display the TEXT  ID,TEXTNAME,LANG  and TEXT OBJECT etc
    Similarly for every  text you will find and use;
    Regards,
    Anji

  • Unable to export book layout to PDF or BLURB! Using Lightroom 4.4's book module on Mac OS X 10.6.8.

    After investing a bunch of time laying out a photo book, I would like to generate a PDF in order to proof it before sending the book to BLURB for printing. After numerous attempts, I am unable to generate a PDF of the book or, by clicking the 'Send Book to BLURB' button, access the sign in window for uploading to BLURB. Although, if I create a new book (without images or text) I am able to access the window for saving it (the blank book) as a PDF to my hard drive and I am also able to access the sign in window for uploading to BLURB. I could sure use some help. Please let me know what I might be doing wrong! Thank you very much.

    You're running PowerPC code under Rosetta emulation on an Intel based system -- and Rosetta has become increasingly unstable (and Apple got rid of it in 10.7, so they won't be fixing any of the bugs)
    Your best solution is to upgrade to an Intel native version of Photoshop.

  • Querying the schema for table name with column value!

    In my schema i have 500+ tables and other objects.
    i have a column with the name BO_PRODUCT_CODE.
    I wants to know in what tables the value of BO_PRODUCT_CODE='FX03'.
    i have query the user_tab_columns which gives me the result with 90 tables having the column BO_PRODUCT_CODE.
    What is query which will give me the exact number/name of the table whose column value is FX03. ie, BO_PRODUCT_CODE='FX03'.

    Hi you can use this approach:
    BEGIN
    v_str VARCHAR2(250);
    v_count NUMBER :=0;
    DECLARE
    FOR loop_tbl IN ( SELECT DISTINCT table_name FROM USER_TAB_COLUMNS
    WHERE column_name ='BO_PRODUCT_CODE' )
    LOOP
    v_str := 'SELECT COUNT(*) FROM ' || loop_tbl.table_name || ' WHERE BO_PRODUCT_CODE=||'''' ||'FX03' || '''' '
    EXECUTE IMMEDIATE v_str INTO v_count ;
    IF v_count > 0 THEN
    DBMS_OUTPUT.PUT_LINE ('Table Name :'|| loop_tbl.table_name || ' Count :'||v_count);
    END IF;
    v_count :=0;
    END LOOP;
    EXCEPTION
    WHEN others THEN
    DBMS_OUTPUT.PUT_LINE(SQLERRM);
    END;
    Please remove if any syntax error.
    Regards

  • Custom tool error: Unable to import WebService/Schema. The object 'Settings' already contains a property 'Default' not of type Web Service Url

    Getting this error while  converting application from framework 3.5 to 4.0

    Why not just export the whole site ? Then import.
    example:
    You want all lists from http://sharepoint.ms.com/sites/it to be imported to http://sharepoint.ms.com/sites/it2
    Export the whole sites/it then import to sites/it2
    AJ MCTS: SP 2010 Configuration MCSA: Windows 7 If you find this post useful kindly please mark it as an answer :) TY

  • Can the partner master data ( name, text ) be used in a Query

    Hi,
      I have a requirement to have query against CRM cubes/ods, which can query data by Partner address   or text (Short description, Medium description or Long description).
      For example, the cube has a characteristic 0CRM_SOLDTO ( Sold to party ) and we can always write a query which will have this field as a variable in the selection field and then query the appropriate data. But can we also query the data as per the partner name or short description or address( say zip code ? ).
      If yes can you please let me know how. For example consider the following simple example cube which has a characteristics as Customers( say 1000001... and the characteristics "customer" has master and text data ( short text say "company x".
      How to write a query against the cube which will take the customer text as input field and display the relevant data.
      Thanks
    Arunava

    Hi
    I am even not aware of a standard function to do it. But one more option I can think of. But this only applicable with simple reports & with restricted kef figures.
    1. You create a dummy sold-to-party (S2)
    2. Add it to the same or different dimension as that of origional sold-to-party (S1) in the cube.
    3. Create a structe in the report for your KFs or RKFs.
    4. Create one RKF with S2 and with some key figure like "no of records". Create a variable V2 on S2 (user entry) and include this in the RKF. Hide this RKF. (So, basically you use this RKF to invoke the variable V2 to accept the Text of sold to party when the report is executed).
    5. Include the required KFs (or RKFs with S1) in the structure. Create a customer exit varaible V1 (Not ready for input) on S1. In this exit, determine the Sold to Party ID from the Text entered in V1 & the text table of sold to party.
    Basically, what ever we do in update rules (as suggested earlier), now we do it in a customer exit. hope this helps.
    regards,
    atlaj

Maybe you are looking for

  • IDVD does not burn iMovie, blank disc

    iMovie is fine. I export to iDVD and everything is fine, make titles, etc. I burn and everything's ok, and the burn progresses fine, but the burn stops and spits out the disc seconds before it is complete. I put the disc back in and I get the "you ha

  • Does Mozilla Respond To Cash Report When FIREFOX Crashes?

    I'm getting a lot crashes. I have asked for help when it crashes but never heard any thing back. So the question is what good are the crash reports when no one reads them?

  • Profit Center Derived at the MIGO Level

    Hi All, The material is issued to the project. Account Assignment category at the Purchase order level is Z- {Project). The profit center which is maintained at the WBS level and the project level is different from the profit center which is derived

  • ME32L - impossible to insert tax code (IVA) in schedulling agreement

    Hi Experts, I am not able to insert tax code(EKPO-MWSKZ) manually in schedulling agreement using ME32L. when i give the value in TAX CODE and save data is not being updated. Can you please help me out in this. Regards, Jayant. Edited by: shetty jayan

  • [b]M30-X series[/b] - [i]DVD writer problem[/i]

    Hello, My DVD-RW drive perfectly writes CDs (CD-R and CD-RW). Today first time I tried using DVD RW disc and it didnt work. I am using Nero Express 6. I added files to the writing window and clicked Next. Then normally the BURN button must appear act