Export file: EXPDAT.DMP

Hi all, need urgent assistance
am doing a full export..started since friday ...normally this should take 2 days. that is for whatever reason on monday morning it should have been done. The last line is
Export file: EXPDAT.DMP >
and from my last experience it can be like this for days without any progress(6 days or more)...and if enter key is pressed. it will give export terminated unsuccessful message
does it mean the export is completed?
all my folder destinations are already populated with copies of the exported files.
i await your responses
thanks

Please see below....that was the full export command that was used
USERID=user/password@H_172.7.303.72
LOG=E:\history\02Nov2007history.log
FULL=Y
DIRECT=Y
FILE=(
E:\HISTORY\hist_01.dmp,
D:\DUMPS\history\hist_02.dmp,
D:\DUMPS\history\hist_03.dmp,
D:\DUMPS\history\hist_04.dmp
E:\HISTORY\hist_05.dmp,
E:\HISTORY\hist_06.dmp,
E:\HISTORY\hist_07.dmp,
E:\HISTORY\hist_08.dmp,
E:\HISTORY\hist_09.dmp,
E:\HISTORY\hist_10.dmp,
E:\HISTORY\hist_11.dmp,
E:\HISTORY\hist_12.dmp,
E:\HISTORY\hist_13.dmp,
E:\HISTORY\hist_14.dmp,
C:\HISTORY\hist_15.dmp)
FILESIZE=30000M
your kind response please

Similar Messages

  • What data is contained in the export file for a transportable tablespace?

    "This operation will generate an export file, jan_sales.dmp. The export file will be small, because it contains only metadata. In this case, the export file will contain information describing the table temp_jan_sales, such as the column names, column datatype, and all other information that the target Oracle database will need in order to access the objects in ts_temp_sales."
    What is the other information?

    I don't have the sales dump. I was only quoting from the documentation. What i have is an export of 18 tablespaces - 9 partitioned data tablespaces and 9 partitioned index tablespaces.
    What I was trying to determine was if I could still import the tablespaces if the tablespace files were from a time that was after (one week) the original export of the metadata or if there was some bit of information that was held in the metadata which would prevent this.

  • Import from a full database export having  5 .dmp files

    i have a full database export having 5 .dmp files of 2g each, its having a user agvlc and which contains some partitioned tables,i imported the data for the user agvlc in a tablespace agvlc al the tables gets imported but the partitions are not getting imported what can i do to import the partitions as well
    thanx in advance

    Hello,
    al the tables gets imported but the partitions are not getting imported what can i do to import the partitions as wellHow do you see that the Partitions are not imported ? Do you have any error message ?
    Which options did you use for the Import ?
    Please, as previously said, post all the informations so that we can help you efficiently.
    Best regards,
    Jean-Valentin

  • Can export OE to dmp file but cannot import OE to another User

    I login Oracle as SYS
    SQL> alter user oe account unlock;
    SQL> alter user oe identified by oe;
    SQL> create user myoe identified by myoe;
    SQL> grant connect,resource to myoe;
    SQL> connect myoe/myoe@ora9i
    I can export OE schema from OE to an Oracle dmp file called “C:\oe.dmp”
    In DOS Prompt, type the following:
    C:\>exp oe/oe@ora9i file='c:\oe.dmp'
    But import error when I type the following
    C:\>imp myoe/myoe@ora9i file=’c:\oe.dmp’ full=Y
    ORACLE error 2304 encountered
    Can any one help me?

    1. I export OE again using
    C:\>c:\oracle\ora92\bin\exp system/ora9i_manager@ora9i file='c:\oe.dmp' log='c:\oe.log' buffer=50000000 OWNER=OE CONSISTENT=Y
    2. I create a new user called "myoe"
    create user myoe identified by myoe
    default tablespace example
    temporary tablespace temp;
    grant connect,resource,dba to myoe;
    grant execute on sys.dbms_stats to myoe;
    grant create snapshot,unlimited tablespace,query rewrite to myoe;
    grant references on hr.countries to myoe;
    grant references on hr.employees to myoe;
    grant references on hr.locations to myoe;
    3. I import the dmp file using:
    C:\>c:\oracle\ora92\bin\imp system/ora9i_manager@ora9i file='c:\oe.dmp' log='c:\oe.log' buffer=50000000 fromuser=OE touser=MYOE
    4. The error log shows:
    Export file created by EXPORT:V09.02.00 via conventional path
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    . importing OE's objects into MYOE
    IMP-00017: following statement failed with ORACLE error 2304:
    "CREATE TYPE "PHONE_LIST_TYP" TIMESTAMP '2002-05-12:18:02:39' OID '82A4AF6A4"
    "CD2656DE034080020E0EE3D' "
    " AS VARRAY(5) OF VARCHAR2(25);"
    IMP-00003: ORACLE error 2304 encountered
    ORA-02304: invalid object identifier literal
    IMP-00017: following statement failed with ORACLE error 2304:
    "CREATE TYPE "WAREHOUSE_TYP" TIMESTAMP '2002-05-12:18:06:56' OID '82A4AF6A4C"
    "D3656DE034080020E0EE3D' "
    " AS OBJECT"
    " ( warehouse_id NUMBER(3)"
    " , warehouse_name VARCHAR2(35)"
    " , location_id NUMBER(4)"
    IMP-00003: ORACLE error 2304 encountered
    ORA-02304: invalid object identifier literal
    IMP-00017: following statement failed with ORACLE error 2304:
    "CREATE TYPE "INVENTORY_TYP" TIMESTAMP '2002-05-12:18:06:57' OID '82A4AF6A4C"
    "D4656DE034080020E0EE3D' "
    " AS OBJECT"
    " ( product_id NUMBER(6)"
    " , warehouse warehouse_typ"
    " , quantity_on_hand NUMBER(8)"
    IMP-00003: ORACLE error 2304 encountered
    ORA-02304: invalid object identifier literal
    IMP-00017: following statement failed with ORACLE error 2304:
    "CREATE TYPE "INVENTORY_LIST_TYP" TIMESTAMP '2002-05-12:18:06:57' OID '82A4A"
    "F6A4CD5656DE034080020E0EE3D' "
    " AS TABLE OF inventory_typ;"
    IMP-00003: ORACLE error 2304 encountered
    ORA-02304: invalid object identifier literal
    IMP-00017: following statement failed with ORACLE error 2304:
    "CREATE TYPE "PRODUCT_INFORMATION_TYP" TIMESTAMP '2002-05-12:18:06:57' OID '"
    "82A4AF6A4CD6656DE034080020E0EE3D' "
    " AS OBJECT"
    " ( product_id NUMBER(6)"
    " , product_name VARCHAR2(50)"
    " , product_description VARCHAR2(2000)"
    " , category_id NUMBER(2)"
    " , weight_class NUMBER(1)"
    " , warranty_period INTERVAL YEAR(2) TO MONTH"
    " , supplier_id NUMBER(6)"
    " , product_status VARCHAR2(20)"
    " , list_price NUMBER(8,2)"
    " , min_price NUMBER(8,2)"
    " , catalog_url VARCHAR2(50)"
    " , inventory_list inventory_list_typ"
    IMP-00003: ORACLE error 2304 encountered
    ORA-02304: invalid object identifier literal
    IMP-00017: following statement failed with ORACLE error 2304:
    "CREATE TYPE "ORDER_ITEM_TYP" TIMESTAMP '2002-05-12:18:06:57' OID '82A4AF6A4"
    "CD7656DE034080020E0EE3D' "
    " AS OBJECT"
    " ( order_id NUMBER(12)"
    " , line_item_id NUMBER(3)"
    " , unit_price NUMBER(8,2)"
    " , quantity NUMBER(8)"
    " , product_ref REF product_information_typ"
    IMP-00003: ORACLE error 2304 encountered
    ORA-02304: invalid object identifier literal
    IMP-00017: following statement failed with ORACLE error 2304:
    "CREATE TYPE "ORDER_ITEM_LIST_TYP" TIMESTAMP '2002-05-12:18:06:57' OID '82A4"
    "AF6A4CD8656DE034080020E0EE3D' "
    " AS TABLE OF order_item_typ;"
    IMP-00003: ORACLE error 2304 encountered
    ORA-02304: invalid object identifier literal
    IMP-00017: following statement failed with ORACLE error 2304:
    "CREATE TYPE "PRODUCT_REF_LIST_TYP" TIMESTAMP '2002-05-12:18:06:59' OID '82A"
    "4AF6A4CDE656DE034080020E0EE3D' "
    " AS TABLE OF number(6);"
    IMP-00003: ORACLE error 2304 encountered
    ORA-02304: invalid object identifier literal
    IMP-00017: following statement failed with ORACLE error 2304:
    "CREATE TYPE "CUST_ADDRESS_TYP" TIMESTAMP '2002-05-12:18:02:38' OID '82A4AF6"
    "A4CD1656DE034080020E0EE3D' "
    " AS OBJECT"
    " ( street_address VARCHAR2(40)"
    " , postal_code VARCHAR2(10)"
    " , city VARCHAR2(30)"
    " , state_province VARCHAR2(10)"
    " , country_id CHAR(2)"
    IMP-00003: ORACLE error 2304 encountered
    ORA-02304: invalid object identifier literal
    IMP-00017: following statement failed with ORACLE error 2304:
    "CREATE TYPE "CUSTOMER_TYP" TIMESTAMP '2002-05-12:18:06:58' OID '82A4AF6A4CD"
    "9656DE034080020E0EE3D' "
    " AS OBJECT"
    " ( customer_id NUMBER(6)"
    " , cust_first_name VARCHAR2(20)"
    " , cust_last_name VARCHAR2(20)"
    " , cust_address cust_address_typ"
    " , phone_numbers phone_list_typ"
    " , nls_language VARCHAR2(3)"
    " , nls_territory VARCHAR2(30)"
    " , credit_limit NUMBER(9,2)"
    " , cust_email VARCHAR2(30)"
    " , cust_orders order_list_typ"
    "NOT FINAL;"
    IMP-00003: ORACLE error 2304 encountered
    ORA-02304: invalid object identifier literal
    IMP-00017: following statement failed with ORACLE error 2304:
    "CREATE TYPE "ORDER_TYP" TIMESTAMP '2002-05-12:18:06:58' OID '82A4AF6A4CDA65"
    "6DE034080020E0EE3D' "
    etc..
    HELP!

  • Error when IMPORT using INDEXFILE  IMP-00009: abnormal end of export file

    Hi,
    I met the following error while I am doing IMPORT (creating ddl using INDEXFILE option) as.
    imp system/oracle@hpfw9i file='F:\C2Prop\ProdDump20051109.dmp' fromuser=FWORKSADM touser=FWORKSADM indexfile=ddlfile.sql log=st-imp.log
    . . skipping table "FWDEFECTCOMPONENT_PN21"
    . . skipping table "FWDEFECTCOMPONENT_PN22"
    . . skipping table "FWDEFECTCOMPONENT_PN23"
    . . skipping table "FWDEFECTCOMPONENT_PN24"
    . . skipping table "FWDEFECTCOMPONENT_PN25"
    . . skipping table "FWDEFECTCOMPONENT_PN26"
    . . skipping table "FWEQPATTRIBUTE"
    . . skipping table "FWEQPATTRIBUTEHISTORY"
    IMP-00009: abnormal end of export file
    Import terminated successfully with warnings.
    Have you ever experienced the following error message when you imported the db..?
    Also I could see the import was not done successfully when I compared my ddlfileold.sql which is already done using this same dump file
    My actions to make ddlfile
    - I have tried three times to make ddlfile but I failed all and met the same error message.
    try 1 : using 9210 version
    try 2 : using 9206 version
    try 3 : using 9206 version at other machine.
    I need your advice and help.
    Thanks,
    Riaz.

    This means the export dump file is corrupted.
    In UNIX see this command to see whether the dump file is complete
    $ tail expdat.dmp
    It should have EXIT in the last line.

  • EXPORT FILE에서 TABLE 생성 SCRIPT를 만드는 방법

    제품 : ORACLE SERVER
    작성날짜 : 2002-04-08
    EXPORT FILE에서 TABLE SCRIPT를 만드는 방법
    ==========================================
    PURPOSE
    다음은 EXPORT FILE에서 TABLE을 생성하는 SCRIPT를 만드는 내용이다.
    Explanation
    $ strings EXPDAT.DMP | grep 'CREATE TABLE' >> tables.sql
    Reference Documents
    --------------------

  • How export or import .DMP on ubuntu 8.04

    Hi all,
    I was installing apex 2.2 on ubuntu (/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/exp.sh or imp.sh dont work!) and trying to import dmp file into it but dont work.Is any other way to import EXPDAT.DMP from scemas (its compiere dmp file)?
    Gordan

    Hi Gary,
    I was installing Compiere on Apex 2.2 based on ubuntu linux 8 operating systems
    Theres compiere.dmp file install on apex (Adempiere pandam of compiere have solo Adempiere.dmp so administrator need install user adempiere with pass adempiere dba roles on apex).
    I was trying to import this dmp file on apex install on ubuntu trying to call imp.sh command
    but this "dont work" (sudo /usr/...bin/imp.sh)
    I was do with win xp platform typing imp.exe and set username adempiere/adempiere and all 700 tables with dates were Imported. So I looking how do same on linux platform?
    regards
    Gordan
    http://gordanmilojevic.blogspot.com/

  • Schema Import failed :IMP-00008: unrecognized statement in the export file:

    Hi ,
    I was running a database schema import from a database DMP file.
    I encountered the following error in the log file that was getting generated :
    IMP-00008: unrecognized statement in the export file:
    All the tables got copied except for one. Now what I have thought of is to import that one table again after taking an export from the prod schema.
    But what about the functions,triggers,procedures ?? How do i bring all of them in the schema ?
    If reimporting the schema again the only option ?
    Thanks
    Kk

    Hello,
    In this order:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/exp_imp.htm#i1023988
    Table Objects: Order of Import
    Table objects are imported as they are read from the export file. The export file contains objects in the following order:
    1. Type definitions
    2. Table definitions
    3.Table data
    4.Table indexes
    5. Integrity constraints, views, procedures, and triggers
    6. Bitmap, function-based, and domain indexes
    The order of import is as follows: new tables are created, data is imported and indexes are built, triggers are imported, integrity constraints are enabled on the new tables, and any bitmap, function-based, and/or domain indexes are built. This sequence prevents data from being rejected due to the order in which tables are imported. This sequence also prevents redundant triggers from firing twice on the same data (once when it is originally inserted and again during the import).
    For example, if the emp table has a referential integrity constraint on the dept table and the emp table is imported first, all emp rows that reference departments that have not yet been imported into dept would be rejected if the constraints were enabled.
    When data is imported into existing tables, however, the order of import can still produce referential integrity failures. In the situation just given, if the emp table already existed and referential integrity constraints were in force, many rows could be rejected.
    A similar situation occurs when a referential integrity constraint on a table references itself. For example, if scott's manager in the emp table is drake, and drake's row has not yet been loaded, scott's row will fail, even though it would be valid at the end of the import.

  • Error in writing to export file

    Hi,
    I am getting the below error on running export:-
    EXP-00002: error in writing to export file
    The query is as given below:-
    exp cam3_mpcb2/cam3_mpcb2@ORA10G file='c:\MPCB_cam_20120113.dmp' log='c:\MPCB_20120113.log'
    CAn i overcome this error by adding "ignore" at the end of the query or how can i modify the above query ?

    Are there any other error messages that accompany the one you posted?
    EXP-00002: error in writing to export file
    Cause: Export could not write to the export file, probably because of a device error. This message is usually followed by a device message from the operating system.
    Action: Take appropriate action to restore the device. Do you have permissions to write to this location?

  • Recovery from bad export file - IMP0009 error

    Hi all,
    I have a large export that is split into 2Gb chunks using FILESIZE option at export .. string is something like this:
    exp userid=xxx/xxx filesize=2048M file=bu${DATE}_01.dmp,bu${DATE}_02.dmp,b
    u${DATE}_03.dmp full=y log=bu${DATE}.log
    ..export log showed no errors but on import I'm getting IMP0009 : abnormal end of export file
    Typically there's a rather large and important table that's split between the first and 2nd files which I really need to get at. If I import at the moment it rolls back the first 1.1 million odd rows before it fails and it wont load the 2nd file at all, says something about the sequence of the file being incorrect.
    OS is AIX 4.3.3
    Oracle is 8.1.7.0.0
    Any ideas how I can recover the table that is split accross files? I've tried catting the files together to form one large one (and import on an OS without file system size limits) .. no dice although perhaps I can alter it to fool it into thinking it's 1 file??
    Thanks in desparation!
    Adam

    Username:
    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 file created by EXPORT:V08.01.07 via conventional path
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    export client uses US7ASCII character set (possible charset conversion)
    export server uses US7ASCII NCHAR character set (possible ncharset conversion)
    IMP-00046: using FILESIZE value from export file of 2147483648
    . importing C45966's objects into C45966
    "CREATE TABLE "CUST_LEDGER_BALANCE" ("HOUSE" CHAR(6) NOT NULL ENABLE, "CUST""
    " CHAR(2) NOT NULL ENABLE, "SERVICE_GROUP" NUMBER(2, 0) NOT NULL ENABLE, "LE"
    "DGER_SEQ" NUMBER(10, 0) NOT NULL ENABLE, "LDGRDATE" DATE NOT NULL ENABLE, ""
    "STMT_DATE" DATE NOT NULL ENABLE, "LDTYPE" NUMBER(2, 0) NOT NULL ENABLE, "AM"
    "OUNT" NUMBER(12, 0) NOT NULL ENABLE, "DECIMAL_CNT" NUMBER(1, 0) NOT NULL EN"
    "ABLE, "SUMCODE" CHAR(3) NOT NULL ENABLE, "LEDGER_STATUS" NUMBER(1, 0) NOT N"
    "ULL ENABLE, "PROG" NUMBER(3, 0) NOT NULL ENABLE, "PRINT_FLAG" NUMBER(1, 0) "
    "NOT NULL ENABLE, "CYCLE_DATE" DATE NOT NULL ENABLE, "DUE_DATE" DATE NOT NUL"
    "L ENABLE, "MULTIMONTH_CNT" NUMBER(2, 0), "MULTIMONTH_AMT" NUMBER(12, 0)) P"
    "CTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 LOGGING STORAGE(INITIAL 239796"
    "224 NEXT 4194304 MINEXTENTS 1 MAXEXTENTS 240 PCTINCREASE 0 FREELISTS 1 FREE"
    "LIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "TBL_CUST_LED_C45966""
    . . skipping table "CUST_LEDGER_BALANCE"
    IMP-00009: abnormal end of export file
    Import terminated successfully with warnings.
    ..they were transferred in binary mode. Same result if I specify 2048M filesize in import string. Only seems to affect the table that is broken into 2 files, others seem OK.
    Thanks!
    Adam

  • How can I import an expdat.dmp for one user into an another ?

    Hi Folks !
    I have an expdat.dmp for a scheme USER1 (the whole user scheme is exported)
    I want to import this scheme into Database, but into USER2 and NOT
    USER1. so at the End of Import I would have 2 schemes that are the same.
    How could I do it ?
    MfG,
    Alexandre Ossipov

    Hi
    Suppose you have expdat.dmp for a schema user: USER1
    Pre-requisite: Same DB version , Adequate Space
    Use following Command :
    imp userid=usr/pwd@sid fromuser=USER1 touser=USER2 FULL=Y
    Thanks
    Vishwas
    Hi Folks !
    I have an expdat.dmp for a scheme USER1 (the whole user scheme is exported)
    I want to import this scheme into Database, but into USER2 and NOT
    USER1. so at the End of Import I would have 2 schemes that are the same.
    How could I do it ?
    MfG,
    Alexandre Ossipov

  • Urgent: IMP-00034: Warning: FromUser "USER1" not found in export file

    Hello all
    I succeccfully export DMP file using sys user with the option full=y.
    I want now to import the schema objects for the user1 with the folloing command:
    C:\oracle\ora81\bin\IMP.EXE sys/sys@bas fromuser=user1 touser=scott file=C:\omran12-06-2005.dmp
    But I received this error :
    IMP-00034: Warning: FromUser "OMBR" not found in export file
    Import terminated successfully with warnings.
    What is the problem
    Thanks in advance

    Hello
    Thanks for ur replay but doesn't work at all:
    - Itried the first by creatint the user and i received this error:
    C:\oracle\ora81\bin\IMP.EXE newuser/newnewuser@sid file=C:\x.dmp log=c:\log.log full=y
    Warning: the objects were exported by SYSTEM, not by you
    import done in AR8MSAWIN character set and AR8MSAWIN NCHAR character set
    . importing SYSTEM's objects into OMBR1
    Import terminated successfully without warnings.
    Then I tried this:
    C:\>C:\oracle\ora81\bin\IMP.EXE sys/sys@sid file=C:\x.dmp log=c:\log.log full=y show=y
    I received this:
    Warning: the objects were exported by SYSTEM, not by you
    import done in AR8MSAWIN character set and AR8MSAWIN NCHAR character set
    . importing SYSTEM's objects into SYS
    Import terminated successfully without warnings.
    Then i tried this:
    C:\>C:\oracle\ora81\bin\IMP.EXE system/system@sid file=C:\x.dmp log=c:\log.log full=y show=y
    And I get this error:
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in AR8MSAWIN character set and AR8MSAWIN NCHAR character set
    . importing SYSTEM's objects into SYSTEM
    Import terminated successfully without warnings.
    Why nothing work with me????????

  • IMP-00008: unrecognized statement in the export file, oracle 11gr2 on redhat 5

    I am using Oracle 11g R2 on Radhat 5 linux to import(imp) a dmp file with a table with blob data type. I got the following errors with binary non-ascii on the screen and failed imp at that table:
    IMP-00008: unrecognized statement in the export file: (a lot of non-ascii characters followed)
    How do that happen and how do we handle it?
    -Henry

    Hello,
    IMP-00008 may due to several reasons.
    The Dump may be corrupted, you may also hit a Bug and so on, ...
    Is it the only error you got or do you have other error message (for instance IMP-00032) ?
    Else, I don't know why you use EXP/IMP in 11.2, the Original Export/Import is not recommended. You should use DATAPUMP which is much more powerful.
    Please, find enclosed a link about DATAPUMP:
    http://www.oracle-base.com/articles/10g/oracle-data-pump-10g.php
    Hope this help.
    Best Regards,
    Jean-Valentin Lubiez

  • Help Me Abt - IMP-00009: abnormal end of export file

    when i try to import from dmp files the following error occured.
    IMP-00009: abnormal end of export file
    i don;'t know , why.
    please help me.
    Asif Iqbal
    Software Engineer ( Karachi, Pakistan ).

    Also, please make ensure you FTP the dump file in binary mode and compare the file sizes before and after the transfer.
    Edited by: SKU on 12-Jan-2009 12:32

  • Create directory with system date for export files

    Hello,
    I have a requirement to add the system date folder automatically, as the exports files dumps get into to d:\oracle\exp\..... this should be d:\oracle\exp\03182009. for each day it should create these date folder to dump the export files.
    here I am sending two of my scirpts .
    first one is
    set ORACLE_SID=%1
    set PATH=D:\ORACLE\ora102\bin;C:\WINNT\system32;C:\WINNT
    set LOCAL=2:%1
    net use h: /delete
    net use login
    sqlplus test/test@%1 @d:\oracle\dba\apps\expfull\buildfile < d:\oracle\dba\apps\expfull\enter.txt
    exp parfile=h:\admin\%1\exp\%1_FULL.par
    call h:\admin\%1\exp\%1_FULL.cmd
    this is the buildfile script
    set term on
    set head off
    set feed off
    set ver off
    set lines 159
    set pages 0
    set wrap on
    set concat off
    clear columns
    clear computes
    clear breaks
    clear buffer
    ttitle off
    btitle off
    col dbnm new_value sid_dir noprint
    col parnm new_value parfil noprint
    col dmpnm new_value dmpfil noprint
    col lognm new_value logfil noprint
    col lstnm new_value lstfil noprint
    col zipnm new_value zipfil noprint
    col cmdnm new_value cmdfil noprint
    col ownr new_value ownername noprint
    col tabnm new_value tabname noprint
    col partnm new_value partname noprint
    col datest new_value datestmp noprint
    -- Load the sid_dir, ownername, tabname, partname, and datestmp substitution variables.
    select
    name dbnm
    , to_char(sysdate,'YYYYMMDD')||'_'||'N' datest
    , upper('&1') ownr
    , upper('&2') tabnm
    , upper('&3') partnm
    from v$database;
    -- Load the filename substitution variables.
    select
    '&sid_dir'||'_'||'&ownername'||'_'||'&partname'||'.par' parnm
    , '&sid_dir'||'_'||'&ownername'||'_'||'&partname'||'_'||'&datestmp'||'.dmp' dmpnm
    , '&sid_dir'||'_'||'&ownername'||'_'||'&partname'||'_'||'&datestmp'||'.log' lognm
    , '&sid_dir'||'_'||'&ownername'||'_'||'&partname'||'_'||'&datestmp'||'.zip' zipnm
    , '&sid_dir'||'_'||'&ownername'||'_'||'&partname'||'.lst' lstnm
    , '&sid_dir'||'_'||'&ownername'||'_'||'&partname'||'.cmd' cmdnm
    from dual;
    -- Build the export parameter file.
    spool h:\admin\&sid_dir\exp\&parfil
    prompt userid=test/test@&sid_dir
    prompt buffer=4194304
    prompt direct=Y
    prompt recordlength=65535
    prompt consistent=Y
    prompt file=h:\admin\&sid_dir\exp\&dmpfil
    prompt log=h:\admin\&sid_dir\exp\&logfil
    prompt tables=(&ownername.&tabname:&partname)
    spool off
    Please help out...

    >
    I have a requirement to add the system date folder automatically, as the exports files
    dumps get into to d:\oracle\exp\..... this should be d:\oracle\exp\03182009. for each
    day it should create these date folder to dump the export files.OK - well, you will (AFAICR) have to create the directory, then cd into it,
    then run your script - I don't see what the problem is?
    You could* do something like -
    at 00:01 run a cron job that simply does something like this
    (I'm just giving outline - not a particular implementation)
    runs date
    gets the day, month and year from that -
    export MyDay=day
    export MyMonth=month
    export MyYear=year
    mkdir /path/to/dir/oracle/exp/$MyDay$MyMonth$MyYear
    At the beginning of your script, before going into SQLPlus
    ----Your usual stuff------------
    set ORACLE_SID=%1
    set PATH=D:\ORACLE\ora102\bin;C:\WINNT\system32;C:\WINNT
    set LOCAL=2:%1
    net use h: /delete
    net use login
    ++++plus
    cd /path/to/dir/oracle/exp/$MyDay$MyMonth$MyYear
    Maybe this will be a help to get you started - it could probably be much more elegant in
    Python or whatever, but if shell-scripting is the way you want to go...
    I'd be interested to see if this can provide the basis for a solution.
    HTH and TIA.
    Paul...

Maybe you are looking for

  • "print quality diagnostic report"

    I have a HP Deskjet 3520 All-in-one printer and I just went to the "HP Deskjet 3520 series toolbox". Under the first tab (Device Services) is the button "Print Quality Diagnostics Page". I then clicked on that button and got the "Print Quality Diagno

  • Mac book pro stuck on grey screen will not boot

    UUgh someone please help me. My lap top is a mac book pro 2006, and it is stating cannot get audit port I dunno how to fix. I'm on my iphone a we speak it has been down for weeks can someone help me please? I would be forever greatfull

  • Can I upload pics from iPod touch to non apple computer

    Can i upload pics from iPod touch to non apple computer - it is a dell computer

  • My super-drive macbookpro stopped recording DVD

    My super-drive macbookpro stopped recording DVD and continues to correctly read and burn cd. Has anyone had this problem? Is the drive or software? thanks MATSHITA DVD-R   UJ-868:   Revisão de firmware:          KB19   Interligação:          ATAPI  

  • Problem while installing SAP NetWeaver 7.0 ABAP Trial Version

    Hi im getting the following errors while installing . Please let me know how to proceed.. Errors occurred during the installation. An error occurred and product installation failed. Look at the log file C:\SAPNEW\NSP\log.txt for details. An error occ