Script for export in datapump  -- help needed !!!

hello all,
i am using the following script as batch file in my database for export
script:
=========
exp name/password file=d:\exp\%date%.dmp full=y log=d:\exp\exp.log an this will replace the first file(monday) on next monday.
similar way i need a script for data pump for full database export using datapump
thanks ,
gold

login to database as a dba and create directory for your dumpfile path.
create directory dpump_dir as 'd:\exp';
and then use the below script for export.
expdp username/password full=y directory=dpump_dir dumpfile=%date%.dmp logfile=exp.log

Similar Messages

  • Shell script for export backup in oracle 11g

    Hi,
    Oracle version 11.2.0..
    O/S-AIX
    How to write shell script for export full backup in oracle 11g and also need to remove 2 days of old backup.
    Regards,
    Raju

    How to write shell script for export full backup in oracle 11g
    Do you mean that export is your backup strategy ? is your database running in noarchivelog mode ? if so, then why ? if not so, then why not RMAN ?
    need to remove 2 days of old backup.
    If that mean remove files older than 2 days, you can use something like this :
    $ find <absolute directory path> -mtime +2 -exec rm {} \;

  • Scripts for Exporting Master/Work Rep

    Hi,
    I want to automate the export process and in turn was looking for any scripts for exporting the whole ODI Work/Master Rep. I checked the CLASS objects and we donot have any CLASS names for Repository exports.
    Thanks in advance for any answers..!

    Created for 10g [ http://odiexperts.com/automize-the-backup-using-odi-exports]
    but should work for 11g too :)

  • Need script for exporting images to EPS

    I need to write a script to export a whole bunch of files from Indesign CS3 to EPS files. Right now we do them one at a time...here are the steps we take that we would need included in the script...
    Select all (Control A), ungroup, convert to outlines (control-shift O), export (need to be able to say black or white or RGB) and then close the file without saving.
    and if there was anyway to loop this script for 20 files at a time that would be really helpful.
    Can any help or direct me to a website that can help.
    Thanks!
    Marissa

    Maybe this one: http://www.kahrel.plus.com/indesign/batch_convert_cs3.html
    Peter

  • Script for export from eps to jpg done. Just need to know jpg pixel dimensions?

    i have a script which export eps to jpg using below script (width is always 1276 px). Is there any way to know the dimension of the each jpg files as an alert?
    #target illustrator
    var i,  files, sourceDoc, targetFile;
    files = File.openDialog ("Hi, Please select EPS file(s)", /.eps$/, true);
    try
    if (files.length > 0)
      for ( i = 0; i < files.length; i++ )
            sourceDoc = app.open(files[i]);
            var myVisibleBounds = sourceDoc.visibleBounds;
            myVisibleBounds[0] = myVisibleBounds[0] - 1;  // left
            myVisibleBounds[1] = myVisibleBounds[1] + 0.5;   // top
            myVisibleBounds[2] = myVisibleBounds[2] + 1;   // right
            myVisibleBounds[3] = myVisibleBounds[3] - 1 ;    // bottom
            sourceDoc.artboards[0].artboardRect = myVisibleBounds;
    //        var docLeft = sourceDoc.artboards[0].artboardRect[0] - 50;
    //        var docTop = sourceDoc.artboards[0].artboardRect[1] + 50;
    //        var docRight = sourceDoc.artboards[0].artboardRect[2] + 50 ;
    //        var docBottom = sourceDoc.artboards[0].artboardRect[3] -50 ;
            var sourceDocWidth = Math.round(myVisibleBounds[2] - myVisibleBounds[0]);
    //        var sourceDocHeight = docTop - docBottom;
            var myZoom = (1276/sourceDocWidth) * 100;
    //        alert(sourceDocWidth + " Math round: " + Math.round(sourceDocWidth) + "   " + myZoom);
            targetFile = getNewName();
       // Call function getPDFOptions get the PDFSaveOptions for the files
            exportOptions = exportJPEG( );
       // Save as pdf
       sourceDoc.exportFile (targetFile, ExportType.JPEG, exportOptions);
       sourceDoc.close(SaveOptions.DONOTSAVECHANGES);
      alert( "Done" );
    catch(e)
        alert(e +  "\r" + "No files selected");
    function getNewName()
    var ext, docName, newName, saveInFile, docName;
    docName = sourceDoc.name;
    //ext = '.pdf'; // new extension for pdf file
    newName = "";
    for ( var i = 0 ; docName[i] != "." ; i++ )
            newName = newName + docName[i];
    newName = newName;
    saveInFile = new File(sourceDoc.path + '/' + newName );
        return saveInFile;
    function exportJPEG()
        var exportOptions = new ExportOptionsJPEG();
        exportOptions.artBoardClipping = true;
        exportOptions.antiAliasing = false;
        exportOptions.qualitySetting = 100;
        exportOptions.horizontalScale = myZoom;
        exportOptions.verticalScale   = myZoom;
    //    exportOptions.transparency = false;
    //exportOptions.saveAsHTML = true;
        return exportOptions;

    Does this help?
    I do applescript and javascript is another language but I found this by searching google:
    var img = document.getElementById('imageId');
    var width = img.clientWidth;
    var height = img.clientHeight;
    From:
    Determining image file size + dimensions via Javascript? - Stack Overflow

  • Error for linking ecatt Script for exporting parameter

    Hi,
    We have 2 SAPGUI scripts, one is transaction CO01 to create the production order. The other is CO02 to release the production order. In the first script I get production order number as parameter 1 in the message field. I need to export this field to second script for releasing order.
    I am not able to pick the order.
    Tried to use ABAP code
    ABAP.
    DATA: z_aufnr like CAUFVD-AUFNR.
    get parameter id 'ANR' FIELD Z_AUFNR.
    ENDABAP.
    Still export parameter in log comes as empty. So if I create thrid script using ref# it errors out at second script start.
    Your help is greatly appreciated.
    Thanks,
    Gajanan

    Hi
    you don't have to use abap for this .
    in the command editor
    choose first script recording interface and double click it ,observe the screen list on right side and now select the last screend and double click field and parameterize it say give it a  name as variable1 by entering this in valin column.
    Create a parameter and by param1 name and export type and default values as variable1.
    Now for the second script create a parameter as import type and set it's value as &param1&.
    Also pass this value to second script by the same as you done for first script.
    This will work for sure.
    To know more how to parameterize follow the links,
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation-150-tcd-mode-part-ii
    http://www.sapecc.com/tutorials/secat_create.htm
    Please reward points.

  • Recall for my problem urgent help needed

    Hi friends,
    I am a new DB administrator and I have faced a problem in our database.
    Here i will explain our architecture and i will state the problem.
    In my org. we have database server responsible for keeping the DB itself. Another server which is the main server is responible to control the access to the network and making and storing DB backups using a third party software (Net Backup Software). The backups are kept in tapes accessed by main server using tapes robot.
    Our backup policies is that the software makes full backup every week and a incremental dialy backups of the DB. The retention of each backup is two weeks. All servers have been shutted down during vacations.
    The problem is that when we came from two weeks vacation, users found that the DB is in old state and we lost the most recent valid state. I tried all my best since month ago to do recovery. I decided the point of time to restore and I also use the SCNs but I could'nt reach a solution. I used Net backup, Rman, EM but without a result.
    When i check NetBackup console I find a backup available since 28 of July 2010. Actually the changes are made after this date and now the DB state is older thatn this date. the question is: WHER HAVE THE CONSEQUENT CHANGES GONE? around one mounth of work has been lost..
    the oracle shows me the following message:
    The RMAN script for the recovey is:
    Run {
    allocate channel t1 type 'sbt_tape';
    set until time to_date('28-Jul-2010 00:00:00', 'DD-MON-YYYY HH24:MI:SS');;
    restore database;
    recover database;
    release channel t1;
    RMAN-00571: ========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ============
    RMAN-00571: ========================================================
    RMAN-03002: failure of restore command at 21/09/2010 11:01:26
    RMAN-06100: no channel to restore a backup or copy of datafile 20
    RMAN-06100: no channel to restore a backup or copy of datafile 19
    RMAN-06100: no channel to restore a backup or copy of datafile 18
    RMAN-06100: no channel to restore a backup or copy of datafile 17
    RMAN-06100: no channel to restore a backup or copy of datafile 16
    RMAN-06100: no channel to restore a backup or copy of datafile 15
    RMAN-06100: no channel to restore a backup or copy of datafile 14
    RMAN-06100: no channel to restore a backup or copy of datafile 13
    RMAN-06100: no channel to restore a backup or copy of datafile 12
    RMAN-06100: no channel to restore a backup or copy of datafile 11
    RMAN-06100: no channel to restore a backup or copy of datafile 10
    RMAN-06100: no channel to restore a backup or copy of datafile 8
    RMAN-06100: no channel to restore a backup or copy of datafile 6
    RMAN-06100: no channel to restore a backup or copy of datafile 5
    RMAN-06100: no channel to restore a backup or copy of datafile 4
    RMAN-06100: no channel to restore a backup or copy of datafile 3
    RMAN-06100: no channel to restore a backup or copy of datafile 2
    RMAN-06100: no channel to restore a backup or copy of datafile 1
    the backup script is as follows:
    DB server = jewcsrv3.
    Main server = jewcsrv1.
    RUN {
    echo ALLOCATE CHANNEL ch00
    echo TYPE 'SBT_TAPE';
    echo SEND 'NB_ORA_CLIENT=jewcsrv3,NB_ORA_SERV=jewcsrv1';
    echo BACKUP
    echo %BACKUP_TYPE%
    echo FORMAT 'bk_u%%u_s%%s_p%%p_t%%t'
    echo DATABASE;
    echo RELEASE CHANNEL ch00;
    echo # Backup Archived Logs
    echo # For an offline backup, remove the following sql statement
    echo sql 'alter system archive log current';
    echo ALLOCATE CHANNEL ch00
    echo TYPE 'SBT_TAPE';
    echo SEND 'NB_ORA_CLIENT=jewcsrv3,NB_ORA_SERV=jewcsrv1';
    echo BACKUP
    echo FORMAT 'arch-s%%s-p%%p-t%%t'
    echo ARCHIVELOG
    echo ALL
    echo DELETE INPUT;
    echo RELEASE CHANNEL ch00;
    echo # Control file backup
    echo ALLOCATE CHANNEL ch00
    echo TYPE 'SBT_TAPE';
    echo SEND 'NB_ORA_CLIENT=jewcsrv3,NB_ORA_SERV=jewcsrv1';
    echo BACKUP
    echo FORMAT 'bk_u%%u_s%%s_p%%p_t%%t'
    echo CURRENT CONTROLFILE;
    echo RELEASE CHANNEL ch00;
    echo }
    Could any one please help me to solve this problem. If there is no solution what could he suggest to do now to have a valid state and for future to avoid this problem.
    Thanks alot..
    PLEASE REPLY AS SOON AS POSSIBLE
    Edited by: 799539 on Oct 4, 2010 12:35 AM

    Your BACKUP script does set the NetBackup parameters for the Tape Channels.
    However, your RESTORE script does not specify the NetBackup parameters -- so Oracle doesn't know which channel to use for the Restore.
    You need to add the NetBackup parameters in the RESTORE.
    However, this is suprising :
    The problem is that when we came from two weeks vacation, users found that the DB is in old state and we lost the most recent valid stateA database will NOT EVER "go back to an old state" until and unless someone has restored an old backup. If the servers were shutdown for two weeks, who would have restored the database. If the servers were shutdown, how would Oracle have automatically gone back to an old stats ? There must have been some manual actions.
    Hemant K Chitale

  • Script for export all text in single rtf file?

    Hi!
    I need to export all storys from indd document to a single rtf file. Is there avaible some free script for CS4 which can do that?

    if(app.documents.length != 0){
         if(app.documents.item(0).stories.length != 0){
              myGetFileName(app.documents.item(0).name);
    //========================= FUNCTIONS ===========================
    function myGetFileName(myDocumentName){
         var myFilePath = File.saveDialog("Save Exported File As:");
         if(myFilePath != null){
              myDisplayDialog(myDocumentName, myFilePath);
    function myDisplayDialog(myDocumentName, myFilePath){
         //Need to get export format, story separator.
         var myExportFormats = ["Text Only", "Tagged Text", "RTF"];
         var myDialog = app.dialogs.add({name:"ExportAllStories"});
         with(myDialog.dialogColumns.add()){
              with(dialogRows.add()){
                   with(dialogColumns.add()){
                        var myExportFormatDropdown = dropdowns.add({stringList:myExportFormats, selectedIndex:0});
              with(dialogRows.add()){
                   var myAddSeparatorCheckbox = checkboxControls.add({staticLabel:"Add separator line", checkedState:true});
         var myResult = myDialog.show();
         if(myResult == true){
              var myExportFormat = myExportFormats[myExportFormatDropdown.selectedIndex];
              var myAddSeparator = myAddSeparatorCheckbox.checkedState;
              myDialog.destroy();
              myExportAllText(myDocumentName, myFilePath, myExportFormat, myAddSeparator);
         else{
              myDialog.destroy();
    function myExportAllText(myDocumentName, myFilePath, myExportFormat, myAddSeparator){
         var myPage, myStory;
         var myExportedStories = [];
         var myTempFolder = Folder.temp;
         var myTempFile = File(myTempFolder + "/tempTextFile.txt");
         var myNewDocument = app.documents.add();
         var myDocument = app.documents.item(myDocumentName);
         var myTextFrame = myNewDocument.pages.item(0).textFrames.add({geometricBounds:myGetBounds(myNewDocument, myNewDocument.pages.item(0))});
         var myNewStory = myTextFrame.parentStory;
         for (var i = 0; i < myDocument.pages.length; i++) {
              myPage = myDocument.pages.item(i);
              for (var t = 0; t < myPage.textFrames.length; t++){
                   myStory = myPage.textFrames[t].parentStory;
                   if (!IsInArray(myStory.id, myExportedStories)) {
                        //Export the story as tagged text.
                        myStory.exportFile(ExportFormat.taggedText, myTempFile);
                        myExportedStories.push(myStory.id);
                        //Import (place) the file at the end of the temporary story.
                        myNewStory.insertionPoints.item(-1).place(myTempFile);
                        //If the imported text did not end with a return, enter a return
                        //to keep the stories from running together.
                        if(i != myDocument.stories.length -1){
                             if(myNewStory.characters.item(-1).contents != "\r"){
                                  myNewStory.insertionPoints.item(-1).contents = "\r";
                             if(myAddSeparator == true){
                                  myNewStory.insertionPoints.item(-1).contents = "----------------------------------------\r";
                   } // if not exported
              } // for text frames
         } // for pages
         switch(myExportFormat){
              case "Text Only":
                   myFormat = ExportFormat.textType;
                   myExtension = ".txt"
                   break;
              case "RTF":
                   myFormat = ExportFormat.RTF;
                   myExtension = ".rtf"
                   break;
              case "Tagged Text":
                   myFormat = ExportFormat.taggedText;
                   myExtension = ".txt"
                   break;
         myNewStory.exportFile(myFormat, File(myFilePath));
         myNewDocument.close(SaveOptions.no);
         myTempFile.remove();
    function myGetBounds(myDocument, myPage){
         var myPageWidth = myDocument.documentPreferences.pageWidth;
         var myPageHeight = myDocument.documentPreferences.pageHeight
         if(myPage.side == PageSideOptions.leftHand){
              var myX2 = myPage.marginPreferences.left;
              var myX1 = myPage.marginPreferences.right;
         else{
              var myX1 = myPage.marginPreferences.left;
              var myX2 = myPage.marginPreferences.right;
         var myY1 = myPage.marginPreferences.top;
         var myX2 = myPageWidth - myX2;
         var myY2 = myPageHeight - myPage.marginPreferences.bottom;
         return [myY1, myX1, myY2, myX2];
    function IsInArray(myString, myArray) {
         for (x in myArray) {
              if (myString == myArray[x]) {
                   return true;
         return false;
    This is a revised version of the script --  not totally tested.
    Kasyan

  • Script for exporting the Delegated List from Exchange 2007

    We are Planing to Migrate the Exchange 2007 Mailbox to O365 by Hybrid deployment.
    So i would like to generate the List of delegated access rights on Mailboxes, could you help the script for genetating the delegated list.

    Hello,
    Look into get-Help Get-MailboxPermission
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Fastest file format for Export in Lightroom? [Need quickest lossless workflow.]

    I am currently using TIFF 8-bit LZW compression, but its still REALLY slow. About 10 seconds per photo.
    I forgot to set the RAW file size in my camera to S-RAW to make it just a bit bigget than the 1080P footage I will later output them to.
    I was wondering if there was a file format that was lossless but is quickest to export to from lightroom.?
    Thanks!

    9X% of the time is for converting the raw to rgb, and only 0X% for encoding the rgb for final output format. So, the answer to your question is:
    there is no fastest format for exporting.
    If you want quick lossless exports, the only solution I know of is to adopt a 2-stage pipeline:
    * Apply baseline adjustments to raw (e.g. white-balance, lens corrections, noise reduction, "capture" sharpening), and export 16-bit tiff back to catalog (hopefully, this is only done once, or at least very infrequently).
    * Apply further adjustments to tiff.
    The tiff will export faster than the raw, since it has the benefit of starting with already rendered RGB data.
    Far from ideal, I know, and personally - I wouldn't bother. But it's the best I got for ya...
    If you want quick lossy exports, then use PreviewExporter.
    Rob

  • Needed: Script for exporting iPhoto albums into a file structure

    Hello all! I have no experience with AppleScript, but I heard it should be possible to write a script which helps to copy/export a iPhoto album structure into an according directory structure. Does anybody already have such a script?
    Thx for any information on that!

    Thomas,
    I have created an AppleScript along with the TextCommands OSAX that duplicates all of the albums in iPhoto to a folder called "Albums" on the desktop. It is quite slow because of the need to open an Info window in Finder to get the path to the original photo but gets the job done.
    If you wish it could be modified to provide an ability to select individual albums for duplication. Let me know if you are interested in the latter. I am also seeing whether the album structure can be created directly in a burn folder so that CDs/DVDs can be rapidly burned.
    TextCommands is donationware and available at the following location:
    http://osaxen.com/files/textcommands1.0.1.html
    and should be placed in the following location for the AppleScript to see it:
    ~/Library/ScriptingAdditions/
    click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">property PathToDesktop : path to desktop as string
    property PathToPictures : path to pictures folder as string
    property PathToiPhotoLibrary : PathToPictures & "iPhoto Library"
    property PathToiPhotoAlbums : PathToiPhotoLibrary & ":Albums"
    property PathToCopiedAlbums : PathToDesktop & "Albums"
    tell application "Finder"
    activate
    set theCopiedAlbumsFolder to duplicate folder (PathToiPhotoAlbums as alias) to desktop
    set theAlbums to folders of folder PathToCopiedAlbums
    set theExtraneousFiles to files of folder PathToCopiedAlbums
    delete theExtraneousFiles
    repeat with anAlbum in theAlbums
    repeat with anAlias in anAlbum
    -- need to use GUI access to grab the path to the original photo
    open information window of anAlias
    tell application "System Events"
    tell process "Finder"
    -- grab the path to the original file
    set PathToTheOriginalPhoto to value of static text 2 of scroll area 1 of window 1
    end tell
    end tell
    close window 1
    -- need to remove some extraneous material and convert to AppleScript path format
    tell application "TextCommands"
    split PathToTheOriginalPhoto using {":", "../"}
    set PathToTheOriginalPhoto to item 4 of the result
    set PathToTheOriginalPhoto to search PathToTheOriginalPhoto for "/" replacing with ":"
    set PathToTheOriginalPhoto to (PathToiPhotoLibrary & ":" & PathToTheOriginalPhoto) as alias
    end tell
    (* unfortunately there seems to be bug in duplicate file to another folder so must use a copy, , delete the alias, move, and clean up name of copied file sequence to accomplish the equivalent *)
    -- duplicate the original in the original album folder
    set theCopiedPhoto to duplicate PathToTheOriginalPhoto
    -- Delete the alias in the Copied Album
    delete anAlias
    -- Move the copied photo to the Copied Album
    set theCopiedPhoto to move theCopiedPhoto to anAlbum
    -- Remove the "copy" from the photo names
    set NameOfPhoto to name of theCopiedPhoto
    tell application "TextCommands"
    set name of theCopiedPhoto to search NameOfPhoto for " copy" replacing with ""
    end tell
    end repeat
    end repeat
    end tell</pre>
    PowerBook 12" Mac OS X (10.4.6)

  • Best Export / Video settings for Premiere Pro. Help Needed.

    What's the best settings when you want to export a video from Premiere Pro for the web or otherwise. Best settings = good quality video and LOW file size.
    Benchmark : The videos on Apple Trailers. Check them out at http://www.apple.com/trailers
    The trailers are of high quality video, great sounds, and the Large sizes all fall under the 25MB mark. Any ideas on HOW this is done and what
    settings in Premiere Pro CS3 might be able to replicate such standards?
    Any help is appreciated. I normally use Encoder and export using H264 but that always seems to have an Audio lag. Any similar issues?
    Thanks a mil!

    I understand that better quality = bigger file size. That's true in most cases, but there is a way around it, I'm just not sure what that way is. As I mentioned in the original post, the benchmark is http://www.apple.com/trailers . The non-HD videos on any movie page on that site hardly ever exceeds the 25MB mark. The videos are 2-3minutes long, and while they may not be top-notch BD visuals, they look way better than 95% of the stuff that's streamed off the net.
    That's why I asked if anyone had any ideas on how to replicate something like that. Say I had a avi file of great quality, shot with a Panasonic DV Cam. I Capture the footage, do whatever I have to in Pr, and the result is now a 3minute video. I want it exported to a Quicktime file, I want it to look visually pleasing like the trailers on Apple, and I want it to fall under 25MB. I have tried H.264 encoding, regular Quicktime, and Quicktime via Encoder. Nothing reaches the expected quality.
    For more examples visit http://www.passionpictures.com.my/pages/recent.aspx and download those simple 30second clips. All Quicktime, mostly under 5.5MB. If Pr can't do it, then I don't know what can...so I'm sure Pr can do it.
    Problem is, how? Experimentation is definitely a way to go, I get that. But on the basis of the scenario given above...how is it done?

  • Script for Exporting 2 Pgs into 1 PDF???

    Hello, I was wondering if anyone can help me. I know there is a script that can export each page of Indesign file as a separate PDF, but is there a script out there to export every two pages of Indesign file.
    Basically what I need to do is create 300 customized documents (based on personal company information) and Export them to a PDF so that I may e-mail one to each company. The document must be two pages, the first page has the personalized (merged) information, but the second page will be exactly the same on all of them.
    Can you tell me how I can do this in Indesign, or if not Indesign, Acrobat? I ran a test with the Data Merge system in Indesign. (I created a .CSV file with 2 columns; Company Name and Company Product and took 5 five companies from the master list to test.)
    After the merge, all the fields populated correctly but I wound up with a 10 page .INDD document. (the odd number pages are the ones with all the "merged" personal info, while all the even number pages exactly the same) What I need now is every 2 pages to be exported as 1 PDF file.
    Is there is an easier way to do this? And if not in Indesign, is there an easy way to extract 2 pages at a time in Acrobat?
    Thank you very much for any help, much appreciated,
    Kevin

    Hi Kevin,<br />Here is another version.<br />copy/paste into a text editor then save as a .jsx and place it in the script folder.<br />The only thing you have to modify is the name of your pdf preset. I thought about a dialog where tou could have switched frome one preset to another easily. But it may much more efficient to just modify the name of the preset. If you want you an also make a copy with another PDF preset then rename it.<br /><br />ad = app.activeDocument;<br />pg=ad.pages;<br />var docpath = ad.filePath;<br />var docname = ad.name;<br />var nb = (Math.round(Number(pg.length/2)))<br />for(i=0; i<nb;i++)<br /><br />{<br />]var pgrgstart = (pg[(2*i)].name);<br /><br />]if(pg[(2*i+1)]==-1)<br /><br />]{<br /><br />]]var pgrgend = pgrgstart;<br /><br />]}<br /><br />]else<br /><br />]{<br /><br />]]var pgrgend = pg[(2*i+1)].name;<br /><br />]}<br /><br />]app.pdfExportPreferences.pageRange = pgrgstart+"-"+pgrgend; <br /><br />]var myPDFExportPreset = app.pdfExportPresets.item("your PDF preset"); <br /><br />b //enter the name of your PDF preset instead of your PDF preset<br /><br />]ad.exportFile(ExportFormat.pdfType, File(docpath+"/"+docname.split(".indd")[0]+"_"+"pg_"+i+"_to_"+(i+1)+".pdf"), false, myPDFExportPreset); <br /><br />}<br /><br />alert("done");

  • Shell Script For Export And Import Of Table Records

    Hello,
    We have production and test instances and for constant testing we need to copy data from production to test or development environment.
    At the moment what we do is manually doing export and import table records. At times this could be very tedious as we may need
    to do this exercise a couple of times in a day.
    Is it a good idea to do this exercise using shell script? If so how could I do this? If this is not a good idea what are the best alternatives?
    Any input is highly appreciated.
    Thanks

    Ah I see, your company prefers stupidity over efficiency. It would be possible to do it in a controlled environment, wouldn't it? Also the test database would be allowed to select only.
    So the non-allowance is just plain stupid.
    To the second question: do you use hard-coded passwords in shell scripts?
    Don't you think that poses a security risk?
    Don't you think that is a bigger risk than a database link, properly set up?
    In my book it is!
    Sybrand Bakker
    Senior Oracle DBA

  • SHELL SCRIPT FOR EXPORT AUTOMATICALLY

    Hi all,
    I need a shell script which will automatically take logical backup(export) in the solaris machine.I have 5 database and 10 schemas for that i want to take logical backup.
    thanks
    vicky

    If you're using 10g try to do it with DBMS_DATAPUMP and DBMS_SCHEDULER

Maybe you are looking for

  • Dull/Burry Image on External Monitor

    I connected a MBP (9600M GT) using a DVI-D to HDMI cable to a 24" LCD monitor (1920x1200 native) and am getting a very dull/blurry picture (entire screen - pictures, video, text etc.), but when I connect the same monitor to a windows XP desktop via V

  • How do i add a border to my assignment in photo shop

    can someone please walk me thru adding a border to an assignment in photo shop

  • Popup: 'billing is not supported on this version of android market'

    Highly annoying, reason for the popup is unknown. Reappears in some interval. We just got our Razr/M phones and this is our 1st contact with Android system. Does someone know how to switch this off?

  • Table transformation

    Hi experts, I stay before one problem. In our production database we have table structures witch are fast for OLTP transaction but our analytics need diffrent structures. We dont need DWH. It's bigger than we need. So i decided to create new schema (

  • EAP-TLS not working with IOS 4.1

    Hello, I've lot of iPhone in my enterprise, I've configured it putting user certificate and authenticate on the wireless network using EAP-TLS mode, choosing user certificate and give the username, and it was working. sometime "can't connect to netwo