meet the ORA-39000: specification of the bad dump file when using datapump

Hello
I am using datapump to export a schema (Meta_data only). However, I would like to be named after the date and time of export taken the dump file.

When I use the following command - the job runs perfectly.
expdp system@*** dumpfile = expdp-'date' + %m %%d Y_ hour %M %s ".dmp logfile EXP_DP = directory = expdp-'date' + %m %%d Y_ hour %M %s".log SCHEMAS = MARTMGR CONTENT = METADATA_ONLY


However, I want to run the export using a parfile. But if use below parfile, I encounter the following errors.

UserID=System@***
DIRECTORY = EXP_DP
SCHEMAS = TEST
dumpfile = expdp-'date' + %m %%d Y_ hour %M %s "
LOGFILE = MARTMGR.log
CONTENT = METADATA_ONLY

expdp parfile = martmgr.par

Connected to: Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
With the partitioning option
ORA-39001: invalid argument value
ORA-39000: bad dump file specification
ORA-39157: Error adding the file extension "expdp-'date' + %m %%d Y_ hour %M %s".
ORA-07225: sldext: translation error, impossible to expand file name.
Additional information: 7217



How do I add the date and time of the dumpfile when you use a parfile.

Thank you
Rohit

You can do this in a script

setenv cur_date 'date' + %m %y %d "

then, when you give parameters

dumpfile = dumpfile_$ cur_date.dmp

Tags: Database

Similar Questions

  • Receive the 25 (Null) error when using Flightsimulator FSX

    Receive the 25 (Null) error when using Flightsimulator FSX

    Hello

    Try to open the it to start - all programs - Games - Games Explorer, and then clicking the icon FSX.

    A disk error of 25 means that the program cannot read your disk reading.  Either the disc is scratch, dirty or defective.  If you need another drive, or you can try it on another computer. The message of Visual elements of Vista is not serious.  Vista will automatically your screen to a basic compatible mode when the application is launched.  However, it seems that your game is a failure due to the disk error and not the Vista display problem. Try to clean the disc and see if that helps.

    Last resort, it seems you'd have to do a complete uninstall and reinstall FSX.

    Cheers!

  • view the memory dump files

    How to display the memory dump files?

    Tracy

    They need special tools and experience.  Would be better if we did it for you

    We need the DMP file because it contains the single record of the sequence of events that led to the accident, what drivers have been loaded, and what has been loaded.
    WE NEED AT LEAST TWO FILES DMP TO SPOT TRENDS AND TO CONFIRM THE DIAGNOSIS.

    Please follow our instructions to find and download the files, we need to help you fix your computer. They can be found at here

    If you have any questions regarding the procedure, please ask

  • I can't find the field 'upload file' when creating a web form

    Hi, I can't find the field 'upload file' when creating a web form. This is the site I put for my client home | ServilogEX. And I attach a display of the form.

    Am I missing something?

    Thanks in advance,

    Diego.

    screenshot.png

    Hi Diego,.

    Your site map is too low. I believe that you must 'webMarketing' plan or higher to support downloads of files in the web forms.

  • ORA-19504: cannot create file when using rman

    Hello
    on 10g bR2 on windows machine my rman backup failed on a drive mapped with following error message:
    ORA-19504: cannot create file when using rman

    What do you suggest me?

    I heard that RMAN cannot write to the mapped file system. Is this true? Some people proposed:

    OracleService must be run by OS user with permissions

    But what oracle service? Target or RMAN catalog database database?

    Thank you.

    You must change your environment, on metalink:

    How to configure RMAN to write about readers shared on Windows NT/2000
    DOC - ID: Note: 145843.1

    Werner

  • ORA-39000 bad dump file specification

    Hi all

    I'm trying to exercise a windows scheduler job that will allow to create backup of my database every day once. So this is why I have created a batch file "PREPROD_BACKUP.bat", which contains data:

    off @echo

    setlocal EnableDelayedExpansion

    expdp PARFILE SYSTEM/Leosoft@XE = export_dump.par

    The export_dump.par file contains information:

    DIRECTORY = preprod_cron_jobs

    DUMPFILE = ratormonitor_! date: ~ 10, 4. Date: 6 ~, 2! ! Date: ~ 4, 2.! DMP

    LOGFILE = ratormonitor.log

    SCHEMAS = RATOR_MONITORING, RATOR_MONITORING_CONFIGURATION

    CONTENT = ALL

    When I try to run the "PREPROD_BACKUP.bat" I get error like 'ORA-39001:invalid argument value', ' ORA-39000 dump bad file specification ", ORA - 39087:directory name ratormonitor_! date is not valid. I try to create the dump with current datetimestamp file attached to the file for the name of the dump file should look like this "ratormonitor_2015.02.03.37.029062831", but we get an error.

    Looks like you're under Windows.

    This will not work:

    ! date: ~ 10, 4. Date: 6 ~, 2! ! Date: ~ 4, 2!

    If you use the following syntax:

    %Date:~10,4%%date:~6,2%.%D ate: ~ 4, 2%

  • Can I get the total number of records that meet the conditions of a query using the Table API?

    Hello

    A < row > TableIterator is returned when I ask operations using the index of tables. If I want to get the total number of records, I count one by one using the returned TableIterator < row >.


    Can I get the total number of records directly meets the conditions of the query?

    I can get the total number of records directly the request of the meeting of the conditions of CLI using the command Global table - name tableName - count - index index-name-field fieldName - start startValue-end endValue.

    Can I get the same results using the Table API?

    I used MongoDB and NoSQL Oracle for about a year. According to the experience of the use of these dbs, I think mongoDB querying interface is powerful. In the contras, the query interface is relatively simple, which results is a lot of work that is usually a long time in the client side.

    Hello

    Counting records in a database is a tricky thing.  Any system that gives you an accurate count of the records will have a hotspot of concurrency on updates, namely the place where the counting is maintained.  Such a count is a problem of performance in addition to competitive access problem.   The problem is even more difficult in a system widely distributed such a NoSQL database.

    The CLI has overall command that counts, but does so by brutal force - iterate keys that correspond to the parameters of the operation.  This is how you must do this within the API.  There is not a lot of code, but you have to write.  You certainly want to use TableIterator TableAPI.tableKeysIterator (), because a key iteration is significantly faster than the iteration of lines.  Just one iteration and count.

    If you use TableAPI.multiGet () and a key with a touch of brightness full then, in fact, count the results as they are returned in a single piece (a list).

    Kind regards

    George

  • I have the unwanted background music when using firefox

    Whenever I now use Firefox (Imac 10.4.11) bad computer-generated music begins. This looks like an old computer game. Everytime I open a window it starts and doesn't stop. It engages, sounding like a siren of a police car. I turn off the speakers, but it drives me crazy!

    This has happened

    Each time Firefox opened

    == Today ' hui-21/05/2010

    Are you sure that CoolPreview is not listed under Tools/Add-ons/Extensions?

    So far, everyone who has had this problem been CoolPreview, including me!

    I am also running Windows Vista and have FireFox 3.6.8.

    If you are certain that you do not have CoolPreview suggests trying one or both of the following:

    (1) download and install the current CoolPreview of www.coolpreviews.com. That's what fixed it for me! Even if you do not have coolpreview, it can replace a stray code located on your computer.

    (2) or... Uninstall FireFox completely, restart your computer, and then download and reinstall FireFox.

    One last thought, you are the ONLY user on this machine? Do you have other users sign-ons? If so, someone else may have downloaded and that's where the bad code.

  • How to set the timeout of read when using channelReader.ReadWaveform?

    I'm using a USB-6210/a. data acquisition, and it works fine until I have to take a longer than 10 s waveform.

    When I take a longer than wave form, I get the error 200284, "some or all of the requested samples are not yet acquired.  To wait for the samples become available use longer read timeout... »

    No problem, I thought, I'll just put a longer period.  I searched through the documentation, and the timeout only I found was the watchdog timeout.  When I wanted a longer value, I get code 200452 State - specific property is not supported by the device or is not applicable to the task.

    I use the code in the example AcqVoltageSamples_IntClk.2008 .net with c# in Visual Studio 2008, .net 3.5 sp1.

    How to set the timeout so that ReadWaveform() is not the time?

    Here is the code:

    privateAnalogMultiChannelReaderchannelReader;

    privateAnalogWaveform awf;

    publicList GetWaveForm()

    {

    Try

    {

    Task getWaveform = newTask();

    getWaveform.AIChannels.CreateVoltageChannel (Channel,"", TerminalConfiguration, RangeMinimum,

    RangeMaximum, AIVoltageUnits.Volts);

    getWaveform.Timing.ConfigureSampleClock ("", SampleRate, SampleClockActiveEdge.Rising,)

    SampleQuantityMode.FiniteSamples, NumSamples);

    getWaveform.Control (TaskAction.Verify);

    channelReader = new AnalogMultiChannelReader (getWaveform.Stream);

    AnalogWaveformdata = channelReader.ReadWaveform (NumSamples);

    AWF = data [0];

    samples As new List();

    for (inti = 0; i)

    returnsamples;

    }

    catch (DaqExceptionexception)

    {

    MessageBox.Show (exception. (Message);

    }

    List of l = newList();

    return l;

    }

    Thank you

    Curt

    Hi Curt,.

    Here is a Knowledge Base that can help you to set the timeout setting in your code:

    The property using Timeout of DAQmx task in Visual Studio

  • In XP error message - unable to locate the RUNdll.exe file when trying to open Microsoft files.

    Original title: just had a fight with the virus 'Windows XP security 2011.

    I am running Windows XP Home Edition and managed to get rid of the virus, but now I can't open any microsoft file. that is, control or any downloaded files Ms. I get an error message that it can't locat the RUNdll.exe file. How to solve this?

    Thank you aleweeks

    If sfc/scannow solves your problems, I'll send you (or your charitable organization preferred) $10 American.

    This isn't the answer.  ---> pay attention -------------------------------------------->

    It's time to mark the answer but:

    This "response" meets or exceeds the requirements of Microsoft Answers forum for an "automatic response":

    1. support the answer of engineer or a moderator that is impossible, probably not or will not solve the problem
    2. marked as the answer by a comrade moderator
    3 contains a link to one or more Microsoft KB articles
    4. no activity for 5-10 days

  • put the offline data file when the database is in NOARCHIVELOG mode

    My question is when the database is in log mode Archive No. I am not able to take the database offline.

    When I tried in my computer I noticed set-aside.

    CASES1:

    SYS > alter database datafile 5 offline;

    ERROR at line 1;

    ORA-01145: offline immediately rejected at least media recovery enabled.

    case 2:

    SYS > alter database datafile 5 immediate offline;

    ERROR at line 1;

    ORA - 00933:SQL not correctly completed order

    CASE3:

    I tried the command drop alter database datafile offline 6; (in NOARCHIVELOG mode) and it is to show the same effect that alter database datafile offline 6; (in ARCHIVELOG mode).

    * In NOARCHIVELOG mode are we really drop the data file to use the offline data file? You please tell me the effect of the dropkeyword.

    Oracle protects you. Please review ARCHIVELOG and NOARCHIVELOG mode.

    When you take the database offline in NOARCHIVELOG mode:

    (1) the file is offline

    (2) the RCS in which you took the database offline will be is more to be in the online redo logs

    (3) at this point, you need to perform a media recovery to enable again the file online (ie. restore the database)

    So you can see why you shouldn't do that.

    The DROP Offline command does not actually remove the data file. It removes the control file file details and updates the offline data file. It can be used for purposes of recovery or when you actually plan on deleting data files.

  • 33 Firefox does not display a pdf file when using the response object

    33.0.2 Firefox does not display pdf files by using the code below in an asp.net program, that works for the previous versions of Firefox and also works with IE. I'm using the built-in pdf viewer. All my plugins are disabled.

               Dim strPDF As String
               strPDF = Session("filname")   'pdf filename
    
               Response.Clear()
               Response.ClearHeaders()
               Response.Buffer = True
               Response.ContentType = "application/pdf"
               Response.CacheControl = "Private"
               Response.AddHeader("Pragma", "no-cache")
               Response.AddHeader("Expires", "0")
               Response.AddHeader("Cache-Control", "no-store, no-cache, must-revalidate")
               Response.AddHeader("Content-Disposition", "inline; filename=" + strPDF)
               Response.WriteFile(strPDF)
    
               Response.Flush()
               Response.Close()
               Response.Clear()
               Response.End()
               Session("filname") = ""
    

    What is the result of this code that Firefox receives through the headers of HTTP response if you check that the Live Http Headers extension?

  • The graphics are missing when using 'Secure Browsing'

    While browsing in secure mode, the graphics on web pages are missing. The area which would normally be a few pictures show is white. The problem also occurs when I go to some new videos. For example, the following Web site:

    http://News.Yahoo.com/video/world-15749633/Peru-s-Lake-Titicaca-threatened-by-pollution-29613431.html

    It is repeatable.

    I went down to 12 of Firefox and the problem was still present. I demoted then flashplayer 11.3 to 11.2.202.233, I got from the adobe web site for my 64-bit windows operating system 7. Now flash works on Firefox 12 and 13. Older versions of flash are located on
    http://helpx.Adobe.com/Flash-Player/KB/archived-Flash-Player-versions.html

  • Pavilion: How can I stop the screen size change when using mouse pad

    I continue to adjust the size of the screen inadvertently when using the mouse pad - how to turn off this feature?

    Hello

    You can change this as follows.

    Open windows control panel and on the top right, next to the display by: select "large icons".  In the new page layout, select the entry of Synaptics.

    The option you're looking for is called "Pinch Zoom" - see image below.  Remove the checkmark against this article, click on close in this window, then apply then Ok in the previous window to save this change.

    Kind regards

    DP - K

  • Lost my new - &#62; option of the Notepad text file when right clicking. How can I get it back?

    Hello.

    I lost my new-> the Notepad text file option when right clicking. How can I get it back? See my http://img863.imageshack.us/img863/6138/screenshotxp.gif screen shot as an example for this missing in action. :(

    Thank you in advance. :)

    Hello

    · Will there be any changes made on the computer before the show?

    You can run the fix it from the link below and check if this can help: diagnose and automatically repair Windows files and folders issues: http://support.microsoft.com/mats/windows_file_and_folder_diag/

Maybe you are looking for