How to Run Export and Make Dump and Log File with Dates on NT

Hi Gurus,
set ORACLE_SID=ORCL
set ORACLE_HOME=D:\ORACLE\ora92
for /f "tokens=2,3,4 delims=/ " %%a in ('date /t') do
set fdate=%%a%%b%%c
exp userid=userid/password@connectstring
file=exp%fdate%.dmp log=exp%fdate%.log full=y
I am using above script for export and make dump file with dates, but when i am excuting this script with Schedule task i am getting error.
C:\Documents and Settings\krishna>for /f "tokens=2,3,4 delims=/ " %%a in ('date
/t') do
%%a was unexpected at this time.
Help is highly appriciated.
Thanks & Regards
praveen

HOST('EXP80 MRPAY/MRPAYS FILE=D:\BACKUP\MRPAY'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=MRPAY CONSISTENT=Y');
HOST('EXP80 SECSYS/SECSYS FILE=D:\BACKUP\SECSYS'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=SECSYS CONSISTENT=Y');
HOST('EXP80 SICPA/SICPA FILE=D:\BACKUP\SICPA'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=SICPA CONSISTENT=Y');
HOST('EXP80 SICPAINVSYS/SICPAINVSYS FILE=D:\BACKUP\SICPAINVSYS'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=SICPAINVSYS CONSISTENT=Y');
HOST('EXP80 SICPAGLSYS/SICPAGLSYS FILE=D:\BACKUP\SICPAGLSYS'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=SICPAGLSYS CONSISTENT=Y');
HOST('EXP80 SICPAPURHSYS/SICPAPURHSYS FILE=D:\BACKUP\SICPAPURHSYS'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=SICPAPURHSYS CONSISTENT=Y');
HOST('EXP80 SICPARECSYS/SICPARECSYS FILE=D:\BACKUP\SICPARECSYS'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=SICPARECSYS CONSISTENT=Y');
HOST('EXP80 SICPASECSYS/SICPASECSYS FILE=D:\BACKUP\SICPASECSYS'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=SICPASECSYS CONSISTENT=Y');
HOST('EXP80 FASYS/FASYS FILE=D:\BACKUP\FASYS'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=FASYS CONSISTENT=Y');
HOST('EXP80 ATTSYS/ATTSYS FILE=D:\BACKUP\ATTSYS'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=ATTSYS CONSISTENT=Y');
HOST('EXP80 ATTENDANCESYSTEM/ATTENDANCESYSTEM FILE=D:\BACKUP\ATTENDANCESYSTEM'||TO_CHAR(SYSDATE,'DDMMRRHH24MI')||'.DMP OWNER=ATTENDANCESYSTEM CONSISTENT=Y');
Arshad

Similar Messages

  • How do I export from FCP to a QuickTime file with multiple audio channels?

    I'm delivering a project where the first step is to generate an HD Cam SR master, which I will be doing at a post-production lab. They will then do a QC check for me. To generate this HD Cam SR master, they need to me to bring in my 98-minute long movie on a firewire hard drive, in five equal parts -- QuickTime files. From these five QT files, the lab will then be creating an HD Cam SR master that will have...
    dialogue on tracks 1 and 2
    effects on tracks 3 and 4
    music on tracks 5 and 6
    MY QUESTION
    a) I don't see any way to separate these audio tracks accordingly in the FCP menu for QuickTime export. Does anyone have any experience doing this?
    b) And does anyone know the most efficient way to combine timeline audio tracks for this purpose? I have my dialogue sitting on the first FOUR audio tracks, actually. To deliver this film, I'll need to crush these four audio tracks to two, as listed above. I could generate an AIFF file, I suppose, import it back onto the timeline, sync it up, and then re-export along with the visuals to make the final QT file, but this seems like a generation loss.
    thanks,
    Shanked
    PS the movie is made up of footage from a Sony PMW EX1. I used the codec "XDCAM 1080 24p 35mbs VBR" for editing in FCP. I'll either export to QT using this same codec or switch to "Apple ProRes" if my machine can somehow maintain the sync.

    The following will answer both your questions a) and b).
    Click on your master timeline and press cmd+0 (zero) to bring up Sequence Settings, then click on the Audio Outputs tab on the right. Click on the Outputs option and change it to 6. You can leave them as Stereo pairs.
    Now, back on your timeline, you need to make sure all your audio is organised so each track. A1, A2, A3, A4 etc has all the relevant media on it.
    Then, on the left of the timeline you see the Destination toggle buttons, then you see the Padlocks to lock tracks, then you have the Toggle Auto Select squares. If you right-click on the Toggle Auto Select squares you bring up a little sub-menu, at the top of this list you'll see Audio Outputs, which will show the stereo channels for that particular track. As you've changed the number of Audio Outputs in the Sequence Settings, the list will show: 1&2, 3&4, 5&6. You just tick whichever channels you want.
    In your case, you have dialogue on the first 4 tracks, no problem, just go down through tracks 1,2,3 and 4 as described above and assign these to Audio Outputs 1&2.
    Then just go down through your music and effects audio tracks and assign them accordingly.
    Now, when you export your timeline as a self-contained media file, it will have different audio channels.
    I hope that makes sense. When you change the number of audio outputs as described in the first step, I believe the rest of it is fairly self explanatory, once you know where the settings are.

  • I have created a form in InDesign, exported to a pdf, created an editable form and saved.  When I open the form and make changes and save, the reopen the changes are there.  If try to email this form as an attachment after editing, the attachment is alway

    I have created a form in InDesign, exported to a pdf, then created an editable form and saved.  When I open the form and make changes and save, then reopen the changes are there.  If try to email this form as an attachment after editing, the attachment is always minus the edits.   ????

    Hi chuck,
    If you ave created the form and then filling it yourself and saving the form, the filled data should be there when you reopen the same form.
    Can you please send the form to me at [email protected]  so that I can have a look.
    Regards,
    Rave

  • How do I export a song at an mp3 file? And how do i get it to play in stere

    How do I export a song at an mp3 file? And how do i get it to play in stereo mode?

    Go to the "Bounce Dialog Window".
    See pg. 205 of the LE 7 Reference Manual.

  • How do I export the 600 names and address in Address Book v5.0 to Palm Desktop 4.2.1

    How do I export the 600 names and address in Address Book v5.0 to Palm Desktop 4.2.1  I have tried both importing and exporting to no vil.

    How do I export the 600 names and address in Address Book v5.0 to Palm Desktop 4.2.1  I have tried both importing and exporting to no vil.

  • My old computer crashed and deleted my iTunes media file with all my playlist. However, my iPod has the playlist I lost on the computer. How can I replace (reverse synch?) my iPod media information back onto my (now reinstalled) virgin iTunes media folder

    My old computer crashed and deleted my iTunes media file with all my playlist.However, my iPod has the playlist I lost on the computer. How can I replace (reverse synch?) my iPod media information back onto my (now reinstalled) virgin iTunes media folder?

    Yes it's possible to sync music back from a iPod back into iTunes that (I assume) wasn't purchased on the iTunes Store.
    Apple allows iTunes Store purchases on devices to be reversed back into iTunes, just not cd rips and stuff like that. For that it's a one way trip to the device from iTunes.
    I likely can't suggest such software here, but if you visit iLounge you can ask what is the latest software that works for your platform.
    Really it only takes a mere few minutes to backup your iTunes Library and stick in a few cd/dvd's or a external drive. iTunes even has a menu command for it to make it oh so simple. Please use it and backup all your data.
    Hard drives fail, computers burn up, thieves steal, stuff gets forgotten. Plan for something happening because it will.
    Good Luck

  • I upgraded my operating system to OS X Mountain Lion into my computer and now I cannot log in with my password.  How can I get into my computer?

    I upgraded my operating system to OS X Mountain Lion into my computer and now I cannot log in with my password.  How can I get into my computer?

    You will find directions here: https://discussions.apple.com/docs/DOC-4101

  • How can I export an Adobe illustrator CC .AI file to a DWG or DXF file suitable for SolidWorks?

    Hi
    Can anyone help?
    How can I export an Adobe illustrator CC .AI file to a DWG or DXF file,  without SolidWorks enlarging the file & converting every curve into hundreds of short little straight lines rather than a single continuous line/s.
    I have made sure the file is ungrouped or has any compound paths or colours.
    Opening it in Autocad 2010 still converts the DWG file into hundreds of short little straight lines!
    The file is needed to laser cut out an aluminium shape using SolidWorks 2008 (Metal soft)?
    Formats they can handle are:
    DWG, DXF, IGES, IGA
    There must be a way to export it without re-drawing the whole design in Soildworks again!!??
    Can anyone help?
    INCA

    Not really. This is a limitation you will have to live with. Unless you are extremely careful, most paths will be converted to polyline segments by AI and in particular in AI CC this is somehow busted, so it happens more often. You might have much more luck opening a native AI file in DraftSight or a 2D CAD program like TurboCAD and exporting a DWG or 2D IGES/ STEP file from there. The sizing issue is a different matter, but without knowing what units you actualyl used, nobody can advise.
    Mylenium

  • How can I export a playlist (.m3u) to local file system?

    How can I export my playlits to the local file sytem, e.g. in .m3u format. In iTunes 11 it was a simple click on "export" and choosing a file name, done. The button "export" is missing in iTunes 12.

    File > Library > Export Playlist...
    tt2

  • Getting empty log files with log4j and WebLogic 10.0

    Hi!
    I get empty log files with log4j 1.2.13 and WebLogic 10.0. If I don't run the application in the application server, then the logging works fine.
    The properties file is located in a jar in the LIB folder of the deployed project. If I change the name of the log file name in the properties file, it just creates a new empty file.
    What could be wrong?
    Thanks!

    I assume that when you change the name of the expected log file in the properties file, the new empty file is that name, correct?
    That means you're at least getting that properties file loaded by log4j, which is a good sign.
    As the file ends up empty, it appears that no logger statements are being executed at a debug level high enough for the current debug level. Can you throw in a logger.error() call at a point you're certain is executed?

  • Do we need to format data and log files with 64k cluster size for sql server 2012?

    Do we need to format data and log files with 64k cluster size for sql server 2012?
    Does this best practice still applies to sql server 2012 & 2014?

    Yes.  The extent size of SQL Server data files, and the max log block size have not changed with the new versions, so the guidance should remain the same.
    Microsoft SQL Server Storage Engine PM

  • How to make a list item field with DATE data type?

    I have a column with DATE data type. Using forms 6i I want to generate a poplist list item field with this column while the value of the elements in the list to will be day names like SATURDAY,SUNDAY,MONDAY. if we change the data type from date to char, it will work properly but now with DATE data type behind it, it gives the following error message
    "FRM-32082: Invalid value for given item type.
    List WEEKREST
    Item: WEEKREST
    Block: EMPRESTS
    Form: MODULE3
    FRM-30085: Unable to adjust form for output."
    Using forms 6i how to make a list item field with DATE data type which can hold day names?

    Set your date column as a hidden (non-displayed) field. Create your list item with the varchar2 day names. Create the list item as a non-base-table field that accepts the text values of day names. On that field, create a when-validate-item trigger that translates the text into a real date, which it then uses to set the value of the actual base-table item.

  • How do i export a movie as an iso file in ilife11

    How do I export a movie as an ISO file in iMovie11?

    Why? What is your goal?
    http://en.wikipedia.org/wiki/ISO_image
    Toast can do it.

  • How to copy Log text (with Date, Time stamp ) User IDfrom BP to Transaction

    Hi Experts,
                     Can someone guide us how  to copy Log text (with Date ,Time & User ID) fron Business partner  (Prospect) to transactions by text detrmination procedure.
    Regards,
    Basavaraj Patil

    save text
    Fill out following parameters of SAVE_TEXT function module:
    HEADER
    TDOBJECT C 10 BUT000
    TDNAME C 70 10 digit BP number
    TDID C 4 Z001
    TDSPRAS C 1 Language
    INSERT = ’X’
    LINES
    TDFORMAT TDLINE
    |
    |testtttttttttttttttttttttttt( Your text)
    I would suggest you to use some other BAPI that would attach your text to BP than SAVE_TEXT.
    If you still wanted to use SAVE_TEXT then first make sure how the TDNAME is generated. It depends on the text determination procedure. For examples, it can be guid of BP, GUID followed by date or time or else the BP number itself.
    Just go to BP transaction, double click on the text pad, it will open you the SAP Script editor. Click on menu GOTO and select Header which will give you info about your TDID, TDOBJECT, TDNAME....
    Hope this helps.

  • How can I write new objects to the existing file with already written objec

    Hi,
    I've got a problem in my app.
    Namely, my app stores data as objects written to the files. Everything is OK, when I write some data (objects of a class defined by me) to the file (by using writeObject method from ObjectOutputStream) and then I'm reading it sequencially by the corresponding readObject method (from ObjectInputStream).
    Problems start when I add new objects to the already existing file (to the end of this file). Then, when I'm trying to read newly written data, I get an exception:
    java.io.StreamCorruptedException
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    Is there any method to avoid corrupting the stream? Maybe it is a silly problem, but I really can't cope with it! How can I write new objects to the existing file with already written objects?
    If anyone of you know something about this issue, please help!
    Jai

    Here is a piece of sample codes. You can save the bytes read from the object by invoking save(byte[] b), and load the last inserted object by invoking load.
    * Created on 2004-12-23
    package com.cpic.msgbus.monitor.util.cachequeue;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.RandomAccessFile;
    * @author elgs This is a very high performance implemention of Cache.
    public class StackCache implements Cache
        protected long             seed    = 0;
        protected RandomAccessFile raf;
        protected int              count;
        protected String           cacheDeviceName;
        protected Adapter          adapter;
        protected long             pointer = 0;
        protected File             f;
        public StackCache(String name) throws IOException
            cacheDeviceName = name;
            f = new File(Const.cacheHome + name);
            raf = new RandomAccessFile(f, "rw");
            if (raf.length() == 0)
                raf.writeLong(0L);
         * Whne the cache file is getting large in size and may there be fragments,
         * we should do a shrink.
        public synchronized void shrink() throws IOException
            int BUF = 8192;
            long pointer = getPointer();
            long size = pointer + 4;
            File temp = new File(Const.cacheHome + getCacheDeviceName() + ".shrink");
            FileInputStream in = new FileInputStream(f);
            FileOutputStream out = new FileOutputStream(temp);
            byte[] buf = new byte[BUF];
            long runs = size / BUF;
            int mode = (int) size % BUF;
            for (long l = 0; l < runs; ++l)
                in.read(buf);
                out.write(buf);
            in.read(buf, 0, mode);
            out.write(buf, 0, mode);
            out.flush();
            out.close();
            in.close();
            raf.close();
            f.delete();
            temp.renameTo(f);
            raf = new RandomAccessFile(f, "rw");
        private synchronized long getPointer() throws IOException
            long l = raf.getFilePointer();
            raf.seek(0);
            long pointer = raf.readLong();
            raf.seek(l);
            return pointer < 8 ? 4 : pointer;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#load()
        public synchronized byte[] load() throws IOException
            pointer = getPointer();
            if (pointer < 8)
                return null;
            raf.seek(pointer);
            int length = raf.readInt();
            pointer = pointer - length - 4;
            raf.seek(0);
            raf.writeLong(pointer);
            byte[] b = new byte[length];
            raf.seek(pointer + 4);
            raf.read(b);
            --count;
            return b;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#save(byte[])
        public synchronized void save(byte[] b) throws IOException
            pointer = getPointer();
            int length = b.length;
            pointer += 4;
            raf.seek(pointer);
            raf.write(b);
            raf.writeInt(length);
            pointer = raf.getFilePointer() - 4;
            raf.seek(0);
            raf.writeLong(pointer);
            ++count;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#getCachedObjectsCount()
        public synchronized int getCachedObjectsCount()
            return count;
         * (non-Javadoc)
         * @see com.cpic.msgbus.monitor.util.cachequeue.Cache#getCacheDeviceName()
        public String getCacheDeviceName()
            return cacheDeviceName;
    }

Maybe you are looking for

  • How do I move Elements 11 photos and catalogue from iMac to new iMac both running Yosemite?

    I've been researching best way to move my photos and catalogue from my current iMac to my new iMac.  I'm using Elements 11.  Both iMacs running Yosemite.  I know I need to deactivate the current computer's version of Elements if putting it on the new

  • Is there a way to get rid of iOS 5.0.1 on the iphone 4s

    I just got my phone and the first day my battery ran awesome then i did the update and now its draining my battery. Is there a way to just get rid of the update? Like should i do a restore on my phone and just not use icloud and start off brand new,

  • Can the EJB from JDeveloper be deployed to WebLogic ?

    I am evaluating the tools for a major web sites developing. Amazed by the Business Components framework. But little bit worry about the platform dependency. Any information is appreciated. Thanks in Advance, Z-

  • Material consumed by contractor

    Hi All, Material (laying in vendor stores) consumed by contractor at site is booked through MB1A by project group. At the time of material reconciliation, the material lost by contractor needs to be recovered from them. Please help me the modalities

  • Tabbing (Next Navigation Item) to different frames/datasets on a canvas?

    How can I set the tab order to tab between frames on my form? In the properties palette for an item, the Next Navigation Item field, I can only choose items in the same dataset. What if I wanted to mix and match the fields from say 2 different datase