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 :)

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 {} \;

  • 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

  • Paid for export PDF, worked for a while, but now tells me i only have free service so won't convert document

    Paid for export PDF, worked for a while, but now tells me i only have free service so won't convert document

    Hi dmkelec,
    I did not find your account under the given email id.
    Can you provide me the email id associated with your subscription that would be helpful.
    Regards,
    Florence

  • Here are scripts for getting OAS302 working on RedHat 6.0

    People have said this doesn't work. It works. It's just the
    owsctl that doesn't work. I'm not saying that oas302 on RedHat 6
    is the best solution anyone could come up with, but it does work,
    and if you want to do it, here are some scripts that you can feel
    free to modify and use as you wish. Various variables should be
    updated with however you system is configured. Remember to start
    the wrb (i.e. the second script) before you start any listeners.
    Linux has a tendency to crash if you don't kill -KILL all the wrb
    processes at the same time (i.e. the kernel gets an uncaught
    exception and dies).
    Erik
    <disclaimer>
    I do not guarantee these will work. I do not guarantee that
    they will not destroy something important. I assume no liability
    for what these scripts may or may not do. Use them at your own
    risk. There is no expressed or implied waranty.
    </disclaimer>
    #!/bin/ksh
    # Script to start the oraweb http servers to listen for requests
    # because owsctl is kind of unpredictable under RedHat 6.0
    # set this variable to be the directory that the webserver
    # configuration drivetoryies are under (i.e.
    # /db/app/oracle/admin/ows/web/httpd_my.host.com)
    WEB_HOME=/db/app/oracle/admin/ows/web/httpd_my.host.com
    LISTENER="$2"
    if [[ -z "$LISTENER" ]]
    then
    echo "No listener name to start."
    echo "Usage: listen {start|stop} listener"
    echo "e.g.:"
    echo " listen start admin"
    exit 1
    fi
    case "$1" in
    start)
    OMN_ADDR=UDP:worf.gcg.com:2649
    OWS_ADPCFG="$ORAWEB_HOME/admin/adpspy.cfg"
    OWS_ADPSO="$ORAWEB_HOME/lib/ndwfs.so"
    OWS_ORAWEB_FREEDOMX=1
    export OWS_ADPCFG OWS_ADPSO OMN_ADDR OWS_ORAWEB_FEEDOMX
    CFG_FILE=$WEB_HOME/$LISTENER/config/sv$LISTENER.cfg
    if [[ -f "$CFG_FILE" ]]
    then
    oraweb -C $CFG_FILE
    else
    echo "Could not find config file for $LISTENER:"
    echo " $CFG_FILE"
    exit 1
    fi
    stop)
    PID_FILE=$WEB_HOME/$LISTENER/config/sv$LISTENER.pid
    if [[ -f $PID_FILE ]]
    then
    kill `cat $PID_FILE`
    if [[ $? -ne 0 ]]
    then
    echo "Could not stop oraweb $LISTENER process."
    exit 1
    fi
    else
    echo "Could not find oraweb $LISTENER PID file:"
    echo " $PID_FILE"
    exit 1
    fi
    echo "Usage: listen {start|stop} listener"
    echo "e.g.:"
    echo " listen start admin"
    exit 1
    esac
    #!/bin/ksh
    # Script to start up the Oracle Web Request Broker (wrb)
    # processes manually because owsctl doesn't work on RedHat
    # Linux 6.0
    TMP_FILE=/tmp/wrb.pids
    case "$1" in
    start)
    SLEEP=3
    if [[ -f "$TMP_FILE" ]]
    then
    echo "$TMP_FILE exits. Make sure the wrb is not
    already"
    echo "running, remove $TMP_FILE, and run this script
    again."
    exit 1
    fi
    if [[ -z "$ORAWEB_HOME" ]]
    then
    echo "ORAWEB_HOME is not set. This environment variable"
    echo "should be set to the directory where the oracle was"
    echo "lives, i.e. /app/oracle/product/8.0.5/ows/3.0"
    exit 1
    fi
    OMN_ADDR=UDP:my.host.com:2649
    OWS_ADPCFG="$ORAWEB_HOME/admin/adpspy.cfg"
    OWS_ADPSO="$ORAWEB_HOME/lib/ndwfs.so"
    OWS_ORAWEB_FEEDOMX=1 # I have no idea what this does; I read
    # about it in a newsgroup. Supposedly
    # it makes the oas run faster
    export OWS_ADPCFG OWS_ADPSO OMN_ADDR OWS_ORAWEB_FREEDOMX
    PATH=$ORAWEB_HOME/bin:$PATH
    mnaddrsrv -D &
    echo -n "$! " > $TMP_FILE
    sleep $SLEEP
    mnrpcnmsrv &
    echo -n "$! " >> $TMP_FILE
    mnorbsrv &
    echo -n "$! " >> $TMP_FILE
    sleep $SLEEP
    wrbcfg &
    echo -n "$! " >> $TMP_FILE
    sleep $SLEEP
    wrblog &
    echo -n "$! " >> $TMP_FILE
    sleep $SLEEP
    wrbasrv &
    echo -n "$! " >> $TMP_FILE
    sleep $SLEEP
    wrbahsrv &
    echo -n "$! " >> $TMP_FILE
    sleep $SLEEP
    wrbroker &
    echo -n "$! " >> $TMP_FILE
    sleep $SLEEP
    wrbvpm &
    echo -n "$! " >> $TMP_FILE
    sleep $SLEEP
    wrbfac &
    echo -n "$! " >> $TMP_FILE
    sleep $SLEEP
    wrbdm &
    echo -n "$! " >> $TMP_FILE
    sleep $SLEEP
    stop)
    kill -KILL `cat $TMP_FILE`
    if [[ $? -ne 0 ]]
    then
    echo "Could not stop wrb processes. The PIDs are in"
    echo "$TMP_FILE. If these are running, please"
    echo "stop them manually."
    else
    rm -rf $TMP_FILE
    fi
    echo "Usage: wrb {start|stop}"
    exit 1
    esac
    null

    Hi Erick,
    Your scripts for running the OAS302 on 6.0 linux had been very
    helpful.
    In fact, I dont know what would I have done without them.
    Now I am able to run the listeners and even able to create the
    packages and users in the database via the OAS 3.0.2 but the
    problem starts when accessing a procedure in the database using
    the pl/sql agent. By the way i am using Oracle 8.0.5.1 RDBMS and
    its home is different than the webserver home.
    The browser just does nothing and even does not log any error
    message ,I have to stop it after a while but all my other
    catridges are working.
    any insight will be appreciated.
    thanks,
    Vikram ( Ironically enough I work for Oracle).
    Erik Nielsen (guest) wrote:
    : People have said this doesn't work. It works. It's just the
    : owsctl that doesn't work. I'm not saying that oas302 on RedHat
    6
    : is the best solution anyone could come up with, but it does
    work,
    : and if you want to do it, here are some scripts that you can
    feel
    : free to modify and use as you wish. Various variables should
    be
    : updated with however you system is configured. Remember to
    start
    : the wrb (i.e. the second script) before you start any
    listeners.
    : Linux has a tendency to crash if you don't kill -KILL all the
    wrb
    : processes at the same time (i.e. the kernel gets an uncaught
    : exception and dies).
    : Erik
    : <disclaimer>
    : I do not guarantee these will work. I do not guarantee that
    : they will not destroy something important. I assume no
    liability
    : for what these scripts may or may not do. Use them at your own
    : risk. There is no expressed or implied waranty.
    : </disclaimer>
    : #!/bin/ksh
    : # Script to start the oraweb http servers to listen for
    requests
    : # because owsctl is kind of unpredictable under RedHat 6.0
    : # set this variable to be the directory that the webserver
    : # configuration drivetoryies are under (i.e.
    : # /db/app/oracle/admin/ows/web/httpd_my.host.com)
    : WEB_HOME=/db/app/oracle/admin/ows/web/httpd_my.host.com
    : LISTENER="$2"
    : if [[ -z "$LISTENER" ]]
    : then
    : echo "No listener name to start."
    : echo "Usage: listen {start|stop} listener"
    : echo "e.g.:"
    : echo " listen start admin"
    : exit 1
    : fi
    : case "$1" in
    : start)
    : OMN_ADDR=UDP:worf.gcg.com:2649
    : OWS_ADPCFG="$ORAWEB_HOME/admin/adpspy.cfg"
    : OWS_ADPSO="$ORAWEB_HOME/lib/ndwfs.so"
    : OWS_ORAWEB_FREEDOMX=1
    : export OWS_ADPCFG OWS_ADPSO OMN_ADDR OWS_ORAWEB_FEEDOMX
    : CFG_FILE=$WEB_HOME/$LISTENER/config/sv$LISTENER.cfg
    : if [[ -f "$CFG_FILE" ]]
    : then
    : oraweb -C $CFG_FILE
    : else
    : echo "Could not find config file for $LISTENER:"
    : echo " $CFG_FILE"
    : exit 1
    : fi
    : stop)
    : PID_FILE=$WEB_HOME/$LISTENER/config/sv$LISTENER.pid
    : if [[ -f $PID_FILE ]]
    : then
    : kill `cat $PID_FILE`
    : if [[ $? -ne 0 ]]
    : then
    : echo "Could not stop oraweb $LISTENER process."
    : exit 1
    : fi
    : else
    : echo "Could not find oraweb $LISTENER PID file:"
    : echo " $PID_FILE"
    : exit 1
    : fi
    : echo "Usage: listen {start|stop} listener"
    : echo "e.g.:"
    : echo " listen start admin"
    : exit 1
    : esac
    : #!/bin/ksh
    : # Script to start up the Oracle Web Request Broker (wrb)
    : # processes manually because owsctl doesn't work on RedHat
    : # Linux 6.0
    : TMP_FILE=/tmp/wrb.pids
    : case "$1" in
    : start)
    : SLEEP=3
    : if [[ -f "$TMP_FILE" ]]
    : then
    : echo "$TMP_FILE exits. Make sure the wrb is not
    : already"
    : echo "running, remove $TMP_FILE, and run this script
    : again."
    : exit 1
    : fi
    : if [[ -z "$ORAWEB_HOME" ]]
    : then
    : echo "ORAWEB_HOME is not set. This environment variable"
    : echo "should be set to the directory where the oracle
    was"
    : echo "lives, i.e. /app/oracle/product/8.0.5/ows/3.0"
    : exit 1
    : fi
    : OMN_ADDR=UDP:my.host.com:2649
    : OWS_ADPCFG="$ORAWEB_HOME/admin/adpspy.cfg"
    : OWS_ADPSO="$ORAWEB_HOME/lib/ndwfs.so"
    : OWS_ORAWEB_FEEDOMX=1 # I have no idea what this does; I read
    : # about it in a newsgroup. Supposedly
    : # it makes the oas run faster
    : export OWS_ADPCFG OWS_ADPSO OMN_ADDR OWS_ORAWEB_FREEDOMX
    : PATH=$ORAWEB_HOME/bin:$PATH
    : mnaddrsrv -D &
    : echo -n "$! " > $TMP_FILE
    : sleep $SLEEP
    : mnrpcnmsrv &
    : echo -n "$! " >> $TMP_FILE
    : mnorbsrv &
    : echo -n "$! " >> $TMP_FILE
    : sleep $SLEEP
    : wrbcfg &
    : echo -n "$! " >> $TMP_FILE
    : sleep $SLEEP
    : wrblog &
    : echo -n "$! " >> $TMP_FILE
    : sleep $SLEEP
    : wrbasrv &
    : echo -n "$! " >> $TMP_FILE
    : sleep $SLEEP
    : wrbahsrv &
    : echo -n "$! " >> $TMP_FILE
    : sleep $SLEEP
    : wrbroker &
    : echo -n "$! " >> $TMP_FILE
    : sleep $SLEEP
    : wrbvpm &
    : echo -n "$! " >> $TMP_FILE
    : sleep $SLEEP
    : wrbfac &
    : echo -n "$! " >> $TMP_FILE
    : sleep $SLEEP
    : wrbdm &
    : echo -n "$! " >> $TMP_FILE
    : sleep $SLEEP
    : stop)
    : kill -KILL `cat $TMP_FILE`
    : if [[ $? -ne 0 ]]
    : then
    : echo "Could not stop wrb processes. The PIDs are in"
    : echo "$TMP_FILE. If these are running, please"
    : echo "stop them manually."
    : else
    : rm -rf $TMP_FILE
    : fi
    : echo "Usage: wrb {start|stop}"
    : exit 1
    : esac
    null

  • 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.

  • 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

  • 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

  • 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$_"}})

  • Perl script for xchat doesnt work

    I like to start a perl script for xchat.
    Thats my problem:
    Can't locate Socket.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i686-linux /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i686-linux /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at (eval 3) line 31.
    line 31 is "use Socket;"
    I tried also use IO::Socket; but that changes nothing.
    Anyone knows whats the problem or wich perl-modul isnt on my system?
    btw: sry for the bad english..

    bigh wrote:
    Thats my problem:
    line 31 is "use Socket;"
    I tried also use IO::Socket; but that changes nothing.
    Anyone knows whats the problem or wich perl-modul isnt on my system?
    Hello  bigh,
    Socket and IO::Socket are standard perl modules:
    me@here:~/tmp]$ tar tvzf perl-5.8.4.tar.gz | grep Socket.pm
    -r--r--r-- nwc10/nwc10 11882 2003-08-13 21:55:04 perl-5.8.4/ext/IO/lib/IO/Socket.pm
    -r--r--r-- nwc10/nwc10 9801 2004-04-01 17:58:43 perl-5.8.4/ext/Socket/Socket.pm
    In Arch they should belong to the perl package (i don't have an Arch box at the moment to confirm it more explicitely). So it is strange that neither Socket.pm nor IO/Socket.pm can be found in your @INC on your host.
    Hope it helps anyway

  • How the PCUI event for export button works?

    Hi All,
    After get the order search result in PCUI, when I click the Export button.
    It show me the message that : Microsoft office 2003 or higher is not installed on your computer.
    In fact, I have the office 2003. And I found that the event for Export button is PCF_DL_EXPORT.

    Have you tried double-clicking on the auto complete component in the designer? You should be taken to a method like "autocomplete1_complete". This method is called when the autocomplete gets focus and also for each character typed in the field.
    Cheers!
    -David

  • 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");

  • Script for Applying master Spread

    Hi,
    This Script is for Applying CO-Opener master page  wherever CN is applied, When we run the script, it alerts Sucess.But master spread is not applied . Please resolve.
    var mydoc=app.activeDocument;
    var mypara = mydoc.stories.item(0).paragraphs.everyItem().getElements();
    for(i=0; i<mypara.length; i++){
        if (myPara[i].appliedParagraphStyle.name=="CN"){
               mypara[i].parentTextFrames[0].parent.appliedMaster = mydoc.masterSpreads.item("CO-Opener");
    alert("Master Page applied Sucessfully")

    Hi Math,
    I hope your coding is correct, but it seems stories[0] do not have "CN" Styles.
    Change the below line:
    var mypara = mydoc.stories.item(0).paragraphs.everyItem().getElements(); 
    into
    var mypara = mydoc.stories.everyItem().paragraphs.everyItem().getElements(); 
    Thanks to Jongware and Green4ever.....
    and also the use the below url to get the correct coding for CS4 and CS5 and above
    Apply Master Page using Paragraph Style
    var myDocument = app.activeDocument; 
    var myParas = myDocument.stories.everyItem().paragraphs.everyItem().getElements(); 
    var myPage = myDocument.pages; 
    for(i=0; i<myParas.length; i++) 
        if(myParas[i].appliedParagraphStyle.name == "CT") 
            //Works only in CS5 and later 
            myParas[i].parentTextFrames[0].parentPage.appliedMaster = myDocument.masterSpreads.item("B-Master"); 
            //for CS4 use this 
            //myParas[i].parentTextFrames[0].parent.appliedMaster = myDocument.masterSpreads.item("B-Master"); 
    Regards
    Siraj

  • 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

Maybe you are looking for

  • How do you use homeshare?

    I turned on homeshare and I put the ID of the account I wanted to share with, but I now I don't know where to find the songs. Can anyone help me? I would be helpful if theres some kind of vitsual aid.

  • Contacts not syncing with icloud

    Contacts on my office 2010 not syncing with iCloud

  • What does the number in my dock icon mean?

    I thought it meant, for example, three posts not uploaded, but that's not it. Anyone have the same thing? Here's the icon (might download instead of just appearing in Safari but I don't know how to show it without downloading it by copying the shared

  • User-authorized only values in matchcode

    Hi people, I get a strange behaviour of the BEx variable Input matchcode. I implemented 2 Multiproviders, containing a common authorization on an characteristic. The authorization variable is "ready to Input". In the first multiprovider, when I launc

  • Copying header and trailer

    Can I copy header and trailer definitions of one report to another? Thanks Mini