OEM 12 export 10g schema problem

Using OEM 12 on a 10 database, I can't select a schema to export.  It lets me select one or more but when I hit continue it comes back to the same page with no schemas selected.  Does anyone know if this is a known bug?  I can't find any info on it.
Thanks!

This is a bug we have the same issue I opened an SR 4 months ago and the bug is still with development. They did provide a temporary work around that you can test as well.
Can you try the following work around:
1. Connect as SYSDBA user to target database where export is not working. Create a view with name used in 12c DBs:
2. SQL> create view sys."_BASE_USER" as select * from sys.user$;
3. Grant read access on the new view to all users who need the export function (these will be the users who login into the DB prior export).
4. Retry the export function from EM Console with any of the granted DB users.

Similar Messages

  • Exporting schemas problem

    When I try to export a schema table within Portal I get the following error message:
    Unable to access the specified temporary directory. Cannot perform Export Operation. Contact the administrator. (WWV-16810)
    My temporary directory is set to c:\temp and I have also checked the access privileges which appear to be ok.
    I have checked all Oracle resources and cannot find any reference to this error.
    Does anyone know what would cause it?
    null

    Nicholas,
    U have to have "c:/temp" directory in the machine where you installed portal and not on the machine from where you are accessing portal. Are you sure that you have created 'c:/temp" directory on the machine where u have installed portal. Moreover you need to have write permission on that directory.
    Thanx,
    Chetan.

  • 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

  • Export of schema with space it its name

    we have a schema named "Gestion Loaners" (note the space in schema name) in oracle 9iR2 database. i want to take schema level export but as there is space in schema name i am not able to do it using either escape char or using parameter file..
    can anyone guide me pls
    thx

    It works if the Username is ALL CAPITALS. Couldn't get it work if the Username was Mixed Case
    SQL> create user "PAVAN KUMAR" identified by pavan;
    User created.
    SQL> grant create session, create table to "PAVAN KUMAR";
    Grant succeeded.
    SQL> create table "PAVAN KUMAR".his_table (col_1 varchar2(5));
    create table "PAVAN KUMAR".his_table (col_1 varchar2(5))
    ERROR at line 1:
    ORA-01950: no privileges on tablespace 'USERS'
    SQL> alter user "PAVAN KUMAR" quota unlimited on USERS;
    User altered.
    SQL> create table "PAVAN KUMAR".his_table (col_1 varchar2(5));
    Table created.
    SQL>
    ora10204>exp hemant/hemant owner=\"PAVAN KUMAR\"
    Export: Release 10.2.0.4.0 - Production on Wed Nov 5 22:33:47 2008
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    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
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P1 character set (possible charset conversion)
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user PAVAN KUMAR
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user PAVAN KUMAR
    About to export PAVAN KUMAR's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export PAVAN KUMAR's tables via Conventional Path ...
    . . exporting table                      HIS_TABLE          0 rows exported
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting materialized views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    . exporting statistics
    Export terminated successfully without warnings.
    ora10204>

  • 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

  • Oracle 10G connection problem

    Oracle 10G connection problem
    I launch my db with the following script:
    su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/dbstart"
    su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl start"
    Here is the output:
    SQL*Plus: Release 10.1.0.2.0 - Production on Fri Feb 27 22:17:51 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    SQL> Connected to an idle instance.
    SQL> ORACLE instance started.
    Total System Global Area 188743680 bytes
    Fixed Size 778036 bytes
    Variable Size 162537676 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 262144 bytes
    Database mounted.
    Database opened.
    SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Database "orcl" warm started.
    LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 27-FEB-2004 22:17:59
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Starting /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    System parameter file is /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Log messages written to /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
    xe)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.1.0.2.0 - Production
    Start Date 27-FEB-2004 22:17:59
    Uptime 0 days 0 hr. 0 min. 0 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
    xe)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    But when i try to connect with sqlplus:
    oracle@xavan_fixe oracle $ sqlplus
    SQL*Plus: Release 10.1.0.2.0 - Production on Ven. Févr. 27 22:19:32 2004
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Enter user-name: scott
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory

    When you go to get connection you have to set the ORACLE_SID enviroment variable or use the service name in the string to get connection.
    Joel Pérez

  • Importing a few Oracle 10g schemas into oracle 11g database

    Hi,
    I have the task to import a few schemas that are on oracle 10g database (10.2.0.4) into oracle 11gR2 database (11.2.0.2). Now I have only oracle 10g export and import utility (the 11g server is in not where I am given the import rights).
    Can I do the export of the 10g schemas using the 10g export utility and then import into 11g database using the 10g import utility? I ran a test to do that and found it works but would also like to have expert opinion on it.
    Also another question is: if the source schema is 11g - suppose- in that case can the 10g export/import utility still work? I mean export the schema from say db1 (which is 11g) using 10g export utility and import them into 11g database db2 (which is again 11g) using 10g import? I am asking because I don't have access to 11g server and trying to find what I can do with the 10g utilities.
    Thanks,

    set up a database link to the 10gR2 version database in the 11gR2 database.
    Now using the 11gR2 client impdp utility use
    impdp network_link=<link to 10gR2 database>
    Done.
    Your 'objection' you don't have access to 11gR2 doesn't count as you can install a 11gR2 client.
    Also generally speaking you should not use a lower version imp to imp to a higher version database
    Also exp and imp are deprecated in 10g and higher.
    Sybrand Bakker
    Senior Oracle DBA

  • Export: ". exporting post-schema procedural objects and actions"

    Hi all,
    I am trying to do a full database export from the server and an import to another PC.
    I tried exporting recieved the following warnings:
    . exporting synonyms
    . exporting views
    . exporting referential integrity constraints
    . exporting stored porcedures
    . exporting operators
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting triers
    . exporting matrializes views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh grups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    EXP-00008: ORACLE error 903 encountered
    ORA-00903: invalid table name
    ORA-06512: at "SYS.DBMS_RULE_EXP_RL_INTERNAL", line 311
    ORA-06512: at "SYS.DBMS_RULE_EXP_RULES", line 142
    ORA-06512: at line 1
    EXP-00083: The previous problem occurred when callig SYS.DBMS_RULES.schema_info_exp
    . exporting user history table
    . exporting defualt and system auditing options
    . exporting statistics
    Export terminated successfully with warnings.
    I been through the forum and was advised to run the catalog.sql, then rerun the exp command.
    I did as suggested but the export hangs at the last line:
    Export donw in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export the entire database ...
    . exporting tablespace definitions
    . exporting profiles
    . exporting user definitions
    . exporting roles
    . exporting resource costs
    . exporting rollback segment definitions
    . exporting database links
    . exporting sequence numbers
    . exporting directory aliases
    . exporting context namespaces
    . exporting foreign function library names
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions <- hangs here
    Is there a way to resolve this? Or should I approach another method?
    Any of your help is greatly appreciated. Thank you.
    Thanks and Regards
    San

    I am also trying to figure all the stuffs out. I try to answer as much as I know. Thanks.
    What is the export utility version?
    Using exp, "Export: Release 9.2.0.1.0"
    What is the import utility version?
    Using imp, "Import: Release 9.2.0.1.0"
    What version of Oracle database are you trying to export?
    9.2.0.1.0
    Into what version of Oracle database are you trying to import?
    9.2.0.1.0
    What are the database character sets and values of environment variable 'NLS_LANG' for each case?
    Not sure about this but I didnt change any parameters of the character set, should be
    WE8MSWIN1252
    Using WinXP OS, <- quite problematic, having a hard time trying to configure. :(

  • Export a schema

    Hello
    i got the below error , when i try to export the schema from Database 11g using exp utility 10g .
    its successfuly exported if i export it using exp utility 11g , but i need it using exp utility 10g so i can import it to oracle db 10g .
    Export: Release 10.1.0.4.2 - Production on Mon Sep 27 11:37:47 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export done in AR8MSWIN1256 character set and AL16UTF16 NCHAR character set
    Note: indexes on tables will not be exported
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user CPI_STG
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user CPI_STG
    About to export CPI_STG's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    EXP-00056: ORACLE error 1455 encountered
    ORA-01455: converting column overflows integer datatype
    EXP-00000: Export terminated unsuccessfully

    Using expdp you can export to a lower version.
    You should be able to use impdp 10g to import that data.
    Obviously you can also use the NETWORK_LINK parameter in the 10g command line to have impdp connect direclty to the 11g database.
    I wouldn't use exp and imp, and they are also officially obsolete.
    Sybrand Bakker
    Senior Oracle DBA

  • Exporting a Schema

    I would like to export a schema from our Oracle 9i Db (AIX) to an Oracle 10g Db (Windows) but not export the associated data.
    So all I want on the 10g Db is tables/indexes/etc structures but no data, I have seen reference to the ROWS=N .. So could I use the following command
    exp userid=system/manager file=my_db.dmp log=my_db.log rows=N owner=<schema i want to export>

    I did the followig but got the following error message with my AIX system ?
    exp userid=username/password file=/doc/dump.dmp rows=N owner=<schema i want to export>
    ksh: 0403-057 Syntax error: `newline or ;' is not expected.

  • EXP trouble while exporting pre-schema

    Hi all
    I'm running 9.2.0.6 on Suse Linux 8,2.
    while trying to do export of my repository database I've noticed strange behaviour:
    exp tells me 'exporting pre-schema procedural objects and actions' ....
    and nothing more happens.
    Export log still has a size of 0.
    where can I take a close look, whats going on?
    thanks for your hints
    regards
    Franz Langner

    The export is an additional part of a backup job. It doesn't work this week.
    For getting shure it's not a job failure I started export from shell a few times with different execution times. Each time I got the same result. The process stops at pre-schema, no log-entry.
    I took a look on metalink and followed the advice to run "catexp.sql" again, but there was no change.
    as i saw, the error is reported as problem on metalink since 9.0.3.

  • Unable to export the Schema

    Hi ,
    7.1 SP 8
    I am facing some problem while i try to extract the schema .
    right click on the repository -> Transport -> Export repository schema .
    i get an error called "This repository requires additional steps before transport . See MDS log for details ".
    And the Log does not help much to analyse the issue it says -> "Attempt to create delta failed . RC exception caught 0x86020002".
    Has any one tackled this error before .
    I have tried the Verify and repair option as well but still not able to export the schema .
    Regards,
    VIgnesh
    Edited by: Vag Vignesh Shenoy on Mar 6, 2012 3:22 PM

    Hello Vineet,
    Can you double check and confirm if we get the pop up where we accept and reject changes while Exporting the schema?
    If i am not wrong we get the Pop Up while we Import the schema where we can accept or reject the Changes flowing into the current schema and it is there we face dependencies failure and Schema doesnot get imported.
    Correct me if my understanding is wrong.
    Rgds,
    Prasad.

  • Change from  default oralite to oracle 10g schema

    Hi,
    i have already installed soasuite with basic installaion. now just we want to change the database from oralite to Oracle10g.
    i want make two diffrent schema for running bpel(instance hibernation) and another one for esb. will it be possible. am i right here ?
    is this enough to change datasource and connection pool properties in asc ?.
    what is name of sql i have to rcompile in the 10g schema ?
    esb schema setup:
    ===============
    D:\product\10.1.3.1\OracleSOA\integration\esb\sql\oracle
    bpel dehydration store
    ========================
    D:\product\10.1.3.1\OracleSOA\bpel\system\database\scripts
    any other scrips i need to compile ?
    any document ??
    Regards,
    Bogi.

    Without the password you won't be able to use the migration exporter nor will you be able to unset it.
    In this case the official way is to ask the user for the password or another way is to use a password recovery tool for MS Access.

  • Error while exporting a schema using data pump

    Hi all,
    I have 11.1.0.7 database and am using expdp to export a schema. The schema is quite huge and has roughly about 4 GB of data. When i export using the following command,
    expdp owb_exp_v1/welcome directory=dmpdir dumpfile=owb_exp_v1.dmp
    i get the following error after running for around 1 hour.
    ORA-39126: Worker unexpected fatal error in KUPW$WORKER.UNLOAD_METADATA [TABLESPACE_QUOTA:"OWB_EXP_V1"]
    ORA-22813: operand value exceeds system limits
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 7839
    ----- PL/SQL Call Stack -----
    object line object
    handle number name
    4A974B9C 18237 package body SYS.KUPW$WORKER
    4A974B9C 7866 package body SYS.KUPW$WORKER
    4A974B9C 2744 package body SYS.KUPW$WORKER
    4A974B9C 8504 package body SYS.KUPW$WORKER
    4A961BF0 1 anonymous block
    4A9DAA4C 1575 package body SYS.DBMS_SQL
    4A974B9C 8342 package body SYS.KUPW$WORKER
    4A974B9C 1545 package body SYS.KUPW$WORKER
    4A8CD200 2 anonymous block
    Job "SYS"."SYS_EXPORT_SCHEMA_01" stopped due to fatal error at 14:01:23
    This owb_exp_v1 user has dba privileges. I am not sure what is causing this error. I have tried running it almost thrice but in vain. I also tried increasing the sort_area_size parameter. Even then, i get this error.
    Kindly help.
    Thanks,
    Vidhya

    Hi,
    Can you let us know what the last object type it was working on? It would be the line in the log file that looks like:
    Processing object type SCHEMA_EXPORT/...
    Thanks
    Dean

  • 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

Maybe you are looking for

  • Netscaler VPX - Citrix optimizations

    I set up a Netscaler VPX for my Citrix XenApp 6.5 farm when I deployed it. However, I did not do any sort of customizations to optimize this for Citrix clients. The only purpose of the netscaler is to handle Citrix traffic, so that seems as if I can

  • My Macbook Pro shuts down after I close my lid for a prolonged time

    Everytime, on my Macbook Pro 2010 edition, I close my lid, when I try to wake up my laptop (open the lid) it appears with a black screen. I have to manually shut it down by force shutting it down. This happens every time I close my lid for over 15 mi

  • Installation of web application Designer-urgent

    Can users access only WAD without any SAP or Bex Installation. I mean can we install WAD only without installing BEX or SAP. Please suggest

  • Urgent help needed!! CD stuck in the cdrom

    I have got a imac just few months old, it works all fine till last night, I insert a cd and when I pressed eject, it jamed in the cd rom, sounds like it was trying it but couldn't get it out, I also tried everything, press the left mouse buttton when

  • Messaging Express 6.2 - Attachment Problem

    Hi, I have Messenger Express working fine but when I try and view or detach an attachment through the webmail interface I get nothing. Sometimes just a blank white page, sometimes some error about my preferred language has changed and then need to lo