FILE번호/BLOCK번호와 DBA 사이의 변환 SCRIPT

제품 : ORACLE SERVER
작성날짜 : 1999-02-24
File 번호/Block 번호와 DBA 사이의 변환 script
block dump나 block corruption 등의 해결을 위해 file 번호와
block 번호를 DBA로 변환하거나 그 반대의 경우가 필요한 경우가 종종 있다.
여기에서는 이를 수행하기 위한 간단한 script를 제공한다.
아래의 script를 각각 별도의 file로 save한 후 file을 실행하여
procedure를 생성시킨 후 usage에 적힌대로 수행하면 된다.
usage 내의 procedure의 input 값은 단지 예이므로 실제 사용 시에는
적당한 값을 사용하도록 한다.
(주의)여기에서 dba값은 십진수이므로, 0x로 시작하는 값은 십진수로 변환한 후
작업하여야 한다.
1. DBA를 이용하여 file#, block# 를 찾아내는 procedure
rem *************************************************************
rem * *
rem * usage : 1. procedure 생성 *
rem * 2. SQL> set serveroutput on *
rem * 3. SQL> exec dba_to_file(123456789) *
rem * *
rem *************************************************************
create or replace procedure dba_to_file(in_dba number) is
file_num integer;
block_num integer;
begin
file_num := dbms_utility.data_block_address_file(in_dba);
block_num := dbms_utility.data_block_address_block(in_dba);
dbms_output.put_line('--------------------------------');
dbms_output.put_line('File number => '|| file_num);
dbms_output.put_line('Block number => '|| block_num);
dbms_output.put_line('--------------------------------');
dbms_output.put_line('Good luck to you');
end;
2. file#, block#를 가지고 DBA를 계산해 내는 procedure
rem ************************************************************
rem * *
rem * usage : 1. procedure 생성 *
rem * 2. SQL>set serveroutput on *
rem * 3. SQL>exec file_to_dba(10, 100) *
rem * *
rem ************************************************************
create or replace procedure file_to_dba(file_num number,
block_num number) is
dba number;
begin
dba := dbms_utility.make_data_block_address(file_num, block_num);
dbms_output.put_line('--------------------------------');
dbms_output.put_line('DBA => '|| dba);
dbms_output.put_line('--------------------------------');
end;
3. file#, block#를 이용하여 해당 object를 알아내기 위한 script
select owner, segment_name, segment_type, blocks, block_id
from dba_extents
where file_id = &file_number and
&block between block_id and (block_id + (blocks - 1));

Similar Messages

  • How to get ORA errors in alertlog file using shell script.

    Hi,
    Can anyone tell me how to get all ORA errors between two particular times in an alertlog file using shell script.
    Thanks

    Hi,
    You can define the alert log as an external table, and extract messages with SQL, very cool:
    http://www.dba-oracle.com/t_oracle_alert_log_sql_external_tables.htm
    If you want to write a shell script to scan the alert log, see here:
    http://www.rampant-books.com/book_2007_1_shell_scripting.htm
    #!/bin/ksh
    # log monitoring script
    # report all errors (and specific warnings) in the alert log
    # which have occurred since the date
    # and time in last_alerttime_$ORACLE_SID.txt
    # parameters:
    # 1) ORACLE_SID
    # 2) optional alert exclusion file [default = alert_logmon.excl]
    # exclude file format:
    # error_number error_number
    # error_number ...
    # i.e. a string of numbers with the ORA- and any leading zeroes that appear
    # e.g. (NB the examples are NOT normally excluded)
    # ORA-07552 ORA-08006 ORA-12819
    # ORA-01555 ORA-07553
    BASEDIR=$(dirname $0)
    if [ $# -lt 1 ]; then
    echo "usage: $(basename) ORACLE_SID [exclude file]"
    exit -1
    fi
    export ORACLE_SID=$1
    if [ ! -z "$2" ]; then
    EXCLFILE=$2
    else
    EXCLFILE=$BASEDIR/alert_logmon.excl
    fi
    LASTALERT=$BASEDIR/last_alerttime_$ORACLE_SID.txt
    if [ ! -f $EXCLFILE ]; then
    echo "alert exclusion ($EXCLFILE) file not found!"
    exit -1
    fi
    # establish alert file location
    export ORAENV_ASK=NO
    export PATH=$PATH:/usr/local/bin
    . oraenv
    DPATH=`sqlplus -s "/ as sysdba" <<!EOF
    set pages 0
    set lines 160
    set verify off
    set feedback off
    select replace(value,'?','$ORACLE_HOME')
    from v\\\$parameter
    where name = 'background_dump_dest';
    !EOF
    `
    if [ ! -d "$DPATH" ]; then
    echo "Script Error - bdump path found as $DPATH"
    exit -1
    fi
    ALOG=${DPATH}/alert_${ORACLE_SID}.log
    # now create awk file
    cat > $BASEDIR/awkfile.awk<<!EOF
    BEGIN {
    # first get excluded error list
    excldata="";
    while (getline < "$EXCLFILE" > 0)
    { excldata=excldata " " \$0; }
    print excldata
    # get time of last error
    if (getline < "$LASTALERT" < 1)
    { olddate = "00000000 00:00:00" }
    else
    { olddate=\$0; }
    errct = 0; errfound = 0;
    { if ( \$0 ~ /Sun/ || /Mon/ || /Tue/ || /Wed/ || /Thu/ || /Fri/ || /Sat/ )
    { if (dtconv(\$3, \$2, \$5, \$4) <= olddate)
    { # get next record from file
    next; # get next record from file
    # here we are now processing errors
    OLDLINE=\$0; # store date, possibly of error, or else to be discarded
    while (getline > 0)
    { if (\$0 ~ /Sun/ || /Mon/ || /Tue/ || /Wed/ || /Thu/ || /Fri/ || /Sat/ )
    { if (errfound > 0)
    { printf ("%s<BR>",OLDLINE); }
    OLDLINE = \$0; # no error, clear and start again
    errfound = 0;
    # save the date for next run
    olddate = dtconv(\$3, \$2, \$5, \$4);
    continue;
    OLDLINE = sprintf("%s<BR>%s",OLDLINE,\$0);
    if ( \$0 ~ /ORA-/ || /[Ff]uzzy/ )
    { # extract the error
    errloc=index(\$0,"ORA-")
    if (errloc > 0)
    { oraerr=substr(\$0,errloc);
    if (index(oraerr,":") < 1)
    { oraloc2=index(oraerr," ") }
    else
    { oraloc2=index(oraerr,":") }
    oraloc2=oraloc2-1;
    oraerr=substr(oraerr,1,oraloc2);
    if (index(excldata,oraerr) < 1)
    { errfound = errfound +1; }
    else # treat fuzzy as errors
    { errfound = errfound +1; }
    END {
    if (errfound > 0)
    { printf ("%s<BR>",OLDLINE); }
    print olddate > "$LASTALERT";
    function dtconv (dd, mon, yyyy, tim, sortdate) {
    mth=index("JanFebMarAprMayJunJulAugSepOctNovDec",mon);
    if (mth < 1)
    { return "00000000 00:00:00" };
    # now get month number - make to complete multiple of three and divide
    mth=(mth+2)/3;
    sortdate=sprintf("%04d%02d%02d %s",yyyy,mth,dd,tim);
    return sortdate;
    !EOF
    ERRMESS=$(nawk -f $BASEDIR/awkfile.awk $ALOG)
    ERRCT=$(echo $ERRMESS|awk 'BEGIN {RS="<BR>"} END {print NR}')
    rm $LASTALERT
    if [ $ERRCT -gt 1 ]; then
    echo "$ERRCT Errors Found \n"
    echo "$ERRMESS"|nawk 'BEGIN {FS="<BR>"}{for (i=1;NF>=i;i++) {print $i}}'
    exit 2
    fi

  • SQL Error: 1114: ORA-01114: IO error writing block to file (block # )

    hi
    When I run report in rsrt it is throwing me following error..
    Messages:
    ORA-01114: IO error writing block to file (block # )
    SQL Error: 1114
    Error while reading data; navigation is possible
    >> Row: 71 Inc: NEXT_PACKAGE Prog: CL_SQL_RESULT_SET
    we have tried all the options
    increased the table space of temp files but still the issue is not resolved
    one thing we have observed is
    1 case which we are seeing (not sure if this is only because of the below case)
    we see this error specifically when we run query on our infocube ZWBS_C11 (CUSTOMIZED CUBE) which has MANDATORY VARIABLE ON 0PROJECT
    do this variable has anything to do with the error..
    because in other cases where we have like 5 reports on same infocube..
    we dont see this error in other 2 cases where we dont have this mandatory variable on project
    also we see this error in several other cases like when we are doing compression of info cube zic_c03
    absolutely no clue of why this is happening..and when this is happening
    Regards

    Hi,
    This issue is related Oracle database issue, check with Basis/Dba team. Oce they resolved you can run the report with selections.
    If you know the table name you can check in SE14 (Data base Utility) and adjust the table. Some times it will work out.
    Hope it helps you.
    Riyez

  • DBV-00201: Block, DBA 224, marked corrupt for invalid redo application

    Hello Oracle gurus,
    I ran a "dbv file=<datafile name>" against one of my datafiles that I suspected corruption in. it reported back with
    DBV-00201: Block, DBA 224, marked corrupt for invalid redo application
    DBV-00201: Block, DBA 243, marked corrupt for invalid redo application
    DBV-00201: Block, DBA 244, marked corrupt for invalid redo application
    DBV-00201: Block, DBA 245, marked corrupt for invalid redo application
    DBV-00201: Block, DBA 246, marked corrupt for invalid redo application
    Total Pages Marked Corrupt : 5
    I then ran a "backup validate check logical database" in RMAN and it populated v$database_block_corruption with 2 rows, the same blocks as listed from the dbv output. I found the offending table, dropped it, and purged it from the recyclebin and ran another "backup validate check logical database". The v$database_block_corruption table returned no rows after this. However, when I run another "dbv file=<datafile name>", it is still reporting the same thing as before: DBV-00201: Block, DBA 224, marked corrupt for invalid redo application
    Have I fixed the corruption problem? If yes, why is the dbv command still reporting corruption? If not, do I need to use dbms_repair?
    Respectfully,
    Mimi

    DROP TABLE does not write on blocks/extents used by the dropped table (even with PURGE option). This explain why dropping the table does not remove the DBV error messages.
    1* select tablespace_name, extent_management, allocation_type
    from dba_tablespaces where tablespace_name='P1'
    SQL> /
    TABLESPACE_NAME                EXTENT_MAN ALLOCATIO
    P1                             LOCAL      SYSTEM
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL> create table t(x int) tablespace p1;
    Table created.
    SQL> alter tablespace p1 read only;
    Tablespace altered.
    SQL> drop table t purge;
    Table dropped.
    SQL> select * from t;
    select * from t
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> alter tablespace p1 read write;
    Tablespace altered.But note also:
    $ oerr dbv 201
    201,    1, "Block, DBA %d, marked corrupt for invalid redo application"
    // *Cause:  The block was marked corrupt by the Oracle database server
    //          for invalid redo application, ex: media recovery of a NOLOGGING
    //          object or direct loaded data.
    // *Action: If the block is not currently allocated to a database object,
    //          then no action is required. If the block is allocated, then
    //          the object will need to be rebuilt, or data to be reloaded.If you are using NOLOGGING operations or direct loaded data and because you have dropped the related object,
    you don't need to care about these errors.
    Edited by: P. Forstmann on 20 juin 2010 20:17

  • More DBA Scripts

    Hi everysoul,
    on http://linux-dba.gutzmann.com please find some more DBA
    scripts, namely:
    show_invalid_objects (D. Mwrk)
    compile_objects (D. Mwrk)
    index (D. Mwrk)
    free_space (D. Mwrk)
    extents (D. Mwrk)
    constraints (D. Mwrk)
    Filesystem Cleanup (T. Gutzmann)
    Previous entries were:
    OWAS slow (M. Thomas)
    Installation help (Link to T. Bissett)
    Database Statistics (D. Mwrk)
    Check DB Files - Step 1 (T. Gutzmann)
    Check DB Files - Step 2 (T. Gutzmann)
    Database Backup to Compressed Files (Rev 1) (T. Gutzmann)
    Automatic Startup/Shutdown (T. Gutzmann)
    Basic Tuning Steps (T. Gutzmann)
    Tablespaces - Summary View (T. Gutzmann)
    You are invited to add any useful script and any piece of related
    pertinent information (even if it's a link). Most contributions
    to discussion boards like this get lost some time; the linux-dba
    document database is aimed to complement these forums (fora, to
    be exact), and it lives on your input. So please ...
    Cheers
    Thomas
    null

    Hello BelMan,
    Thank you for pointing me to the pdf document. I don’t want to use the supplied script. Further, my own scritp does work (if I execute it manually).
    The pdf says:
    To schedule automatic backups, use any operating system or third party task scheduling software to run the supplied backup script for your platform.
    I would like to understand why the script that work just fine when executed manually does absolutely nothing when executed via scheduled job (cron)? If a task scheduling software can be used to run Oracle supplied backup sh script, I should be able to use my own sh script as well? Or is it an XE database limitation?
    Thank you for your time.
    Daniel

  • Problems with file block settings

    We manage file block settings via group policy.  I have run into problems with the file block settings not working as advertised.
    I've run into a couple of issues:
    First, in Excel 2010 I would like to open Web Page and XML files in protected view rather than blocking entirely.  Our "Set Default File Block Behavior" in the GPO is set to "Blocked Files are not opened."  According to the
    documentation, the settings for individual file types should be able to override this behavior but this is not the case in my testing.  If I set "Web pages and Excel 2003 XML spreadsheets" to "Allow editing and Open in Protected View"
    the files are still blocked and the Trust Center list the file as Do not open, not the GPO setting of open in protected view.  I have verified via GPresults that the GPO applied successfully, rebooted the PC, etc.  The "Set Default File Block
    Behavior" is NOT overridden by individual file type settings.
    According to the "plan file block settings" technet article:
    The “Set default file block behavior” setting specifies how blocked files open (for example: does not open, opens in protected view, or opens in protected view but can be edited). If you enable this setting, the default file block behavior you specify applies
    to any file format that users block in the Trust Center UI. It also applies to a specific file format only if you both enable its file format setting (for more information about individual file format settings, see the tables in this article) and select the
    Open/Save blocked, use open policy option. Otherwise, if you configure an individual file format setting, it overrides the
    Set default file block behavior setting configuration for that file type.
    Second, even if I do change the set default file block behavior to open in protected view, I still cannot open XML spreadsheets.  The trust center says that the file format is set to open in protected view but when I attempt to open a file it behaves
    as if the setting was still set to block entirely.
    The only thing that works is setting it to "do not block" which is not where I'd like to go - I would for security reasons like these types of files to open in protected view but there doesn't seem to be any way to do this contrary to the Technet
    documentation.

    Hi,
    I had opened a case at Microsoft in 2012 about the «Open/Save Block, use open policy» parameter about HTM/HMTL files... Here is the answer I got from the support.
    Hope it will help
    Thank you for contacting Microsoft regarding your recent Office 2010 Hotfix request (SR 112022071246968) in reference to File Block settings on web pages. We have conducted a thorough investigation into this matter
    and while we recognize the impact the issue is having on your business, we cannot accept this Hotfix request because it is acting as designed.<u5:p></u5:p>
    Office will block any files that are explicitly set in the File Block UI by an Administrator when there is no built in validator.  The Office File Validation scans and validates certain kinds of files and will
    only display those applicable files in Protected View.  We could provide a safe experience in Protected View for HTM, but it wouldn't be a useful experience. Linked content of the web page is not available (images, stylesheets, javascript, etc), so the
    user would effectively see plain text. This is not the experience we want in Protected View, and it would encourage users to leave Protected View, putting their machine at risk. So HTM/HTML files are blocked.<u5:p></u5:p>
    <u5:p></u5:p>

  • Obiee 11g blocking.js script

    Hi ,
    I am trying to implement blocking.js script for my analysis.
    and below is the code for claimsblocking.js script.
    I have placed the script in ..OracleBIPresentationServicesComponent\coreapplication_obips1\analyticsRes folder
    function validateAnalysisCriteria(analysisXml)
    // create a new validator
    var tValidator = new CriteriaValidator(analysisXml);
      // logic is applied to the subject area only
    if (tValidator.getSubjectArea() == “Claims”)
      // Column must exists
    if (!tValidator.filterExists(“Provision”,”Provision Claim Relationship”) )
    return “Each Report should filter on Provision Claim Relationship”;
    //We come here if everything checks out
    return true;
    and modified the script answerstemplates in coreapplication_obips1\analyticsRes\customMessages
    and bounce the services from Enterprise manager.
    No clue on where things went wrong.

    This script is used to restrict obiee users to add a filter (for example Provision”,”Provision Claim Relationship) every time they execute their answer.
    If a user doesn't add a filter,  a message should populate  "please filter on the column..." , so that the user filters on the column.
    I hope this answers your question.
    Thanks.

  • Move group of pages from one InDesign file to another InDesign File using VB.Script

    Dear team,
    I am trying to move group of InDesign pages from one indesign file to another indesign file using vb.script.
    I have written the code like
    Dim Pages=IndDoc.Pages
    Dim Mytype=TypeName(Pages)
    Pages.Move(InDesign.idLocationOptions.idBefore,IndDoc1.Pages.LastItem)
    but it is giving an error as method Move is not a member of Pages 
    please give mme the solution to move the Multiple pages or a group of page from one Indd to another Indd.

    Hey Peter, if I wan to move several page that part of Auto Flow text, I checked the "delete page after moving" but the content still there, not deleted.
    Is there any way to delete it automatically, just to make sure I have moved that autoflowed page?

  • Creating an RDI  file from SAP script

    Hello All,
    I would like to create an RDI file from SAP Script.
    Please can anyone let me know how do we do it programmatically.
    I am aware of the option of setting RDI parameter to 'X'.
    However my requirement is to allow user to have a print preview option and simulatenously create RDI file .
    Thanks and Regards
    Amruta

    See:
    http://discussions.apple.com/message.jspa?messageID=11535851#11535851

  • LOG FILE for batch scripting in MAXL

    Hello,
    I just wanted to know how to create a LOG FILE for batch scripting.
    essmsh E:\Batch\Apps\TOG_DET\Scripts\unload_App.msh
    copy e:\batch\apps\tog_det\loadfile\gldetail.otl e:\hyperion\analyticservices\app\tog_det\gldetail /Y
    essmsh E:\Batch\Apps\TOG_DET\Scripts\Build_Hier_Data.msh
    REM
    ECHO OFF
    ECHO Loading GL actuals into WFS \ Combined......
    E:\HYPERION\common\Perl\5.8.3\bin\MSWin32-x86-multi-thread\PERL.EXE E:\Batch\Apps\WFS.COMBINED\AMLOAD\WFSUATAMLOAD.PLX
    E:\HYPERION\common\Perl\5.8.3\bin\MSWin32-x86-multi-thread\PERL.EXE E:\Batch\Apps\WFS.COMBINED\AMLOAD\WFSUATAMLOAD.PLX
    Drop object d:\NDM\Data\StampFiles\STAMPLOADBKUP.csv of type outline force;
    Alter object d:\NDM\Data\StampFiles\STAMPLOAD_cwoo.csv of type outline rename to d:\NDM\Data\StampFiles\STAMPLOADBKUP.CSV;
    SET LogFile=E:\Batch\Apps\TOG_DET\Logs.log
    This file does not generate log file can any help me what might be the problem? Even though some of the steps above are not correct it should generate me log file atleast. I need syntax or whatever it is to generate Log file.
    Regards
    Soma

    I wanted to have a logfile of the following batch script regardless of whether the script is running or not.
    essmsh E:\Batch\Apps\TOG_DET\Scripts\unload_App.msh
    copy e:\batch\apps\tog_det\loadfile\gldetail.otl e:\hyperion\analyticservices\app\tog_det\gldetail /Y
    essmsh E:\Batch\Apps\TOG_DET\Scripts\Build_Hier_Data.msh
    REM
    ECHO OFF
    ECHO Loading GL actuals into WFS \ Combined......
    E:\HYPERION\common\Perl\5.8.3\bin\MSWin32-x86-multi-thread\PERL.EXE E:\Batch\Apps\WFS.COMBINED\AMLOAD\WFSUATAMLOAD.PLX
    Drop object d:\NDM\Data\StampFiles\STAMPLOADBKUP.csv of type outline force;
    Alter object d:\NDM\Data\StampFiles\STAMPLOAD_cwoo.csv of type outline rename to d:\NDM\Data\StampFiles\STAMPLOADBKUP.CSV;
    What I really want is I need a log file of the above batch script, how the above scripts are running. I do not care whether they are giving me positive results but I need to know what is happening in logfile. HOw will the log file be generated.
    Regards
    SOma

  • How to place tif file through a script in an indesign document?

    how to place tif file through a script in an indesign document?

    Emanuele:
    it works if i just run a script....
    but since i have been using a gui to do some functions, this  place command is not able to place the output tif file back into the  document

  • How to prompt user to select multiple files in file dialog using scripts

    Hi, is there a way to allow user to select multiple files inside the file dialog using scripts? So not just something like "*.ai" or "*.eps" but where the user can actually use their shift key to select a batch of files inside the file dialog and then the script would process each one.
    Thanks!

    // Main Code [Execution of script begins here]
    here's what I have so far. it would also be nice to not have illustrator stop at errors.. right now, it skips dialogs but on errors, it still stops.
    // uncomment to suppress Illustrator warning dialogs
    app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
    var destFolder, sourceFolder, files, fileType, sourceDoc, targetFile, pdfSaveOpts, folderName;
    var fullPath = "";
    var finalSlash;
    // Select the source folder.
    sourceFolder = Folder.selectDialog( 'Select the folder with Illustrator .ai files you want to convert to PDF');
    f = find_files(sourceFolder);
    function find_files (dir)
        return find_files_sub (dir, []);
    function find_files_sub (dir, array)
        var f = Folder (dir).getFiles ("*.*");
        for (var i = 0; i < f.length; i++)
            if (f[i] instanceof Folder)
                find_files_sub (f[i], array);
            else
                if (f[i].name.slice (-3).toLowerCase() == ".ai"          || f[i].name.slice (-4).toLowerCase() == ".eps")
                        //convert the array-listing to a string so we can manipulate it
                        fullPath = String(f[i]);
                        //find the position of the last / to indicate where the filename starts
                        finalSlash = fullPath.lastIndexOf("/");
                        //get the foldername by "slicing" from start to where finalSlash is located
                        folderName = fullPath.slice(0, finalSlash).toLowerCase();                   
                        sourceDoc = app.open(f[i]); // returns the document object
                        // Call function getNewName to get the name and file to save the pdf          
                                                      targetFile_PNG = getNewName(".png");
                                                      if(targetFile_PNG.exists) {
                                                      } else {
                                                                pngExportOpts = getPNGOptions();
                                                                sourceDoc.exportFile(targetFile_PNG, ExportType.PNG24, pngExportOpts );
                        targetFile_PDF = getNewName(".pdf");
                        pdfSaveOpts = getPDFOptions();
                                                      sourceDoc.saveAs(targetFile_PDF, pdfSaveOpts );
                                                      targetFile_SVG = getNewName(".svg");
                                                      svgSaveOpts = getSVGOptions();
                                                      sourceDoc.exportFile(targetFile_SVG, ExportType.SVG, svgSaveOpts );
                        sourceDoc.close();
                        array.push (f[i]);
    getNewName: Function to get the new file name. The primary
    name is the same as the source file.
    function getNewName(ext)
        var ext, docName, newName, saveInFile, docName, finalDot
        var loop = 0;
        docName = sourceDoc.name;
        ext = ext; // new extension for pdf file
        newName = "";
        finalDot = sourceDoc.name.lastIndexOf(".");
        while(loop < finalDot)
            newName += docName[loop];
            loop = loop + 1;
        newName += ext; // full pdf name of the file
              newName = newName.replace(" [Converted]","");
        // Create a file object to save the pdf
        saveInFile = new File( folderName + '/' + newName );
        return saveInFile;
    getPDFOptions: Function to set the PDF saving options of the
    files using the PDFSaveOptions object.
    function getPDFOptions()
        // Create the PDFSaveOptions object to set the PDF options
        var pdfSaveOpts = new PDFSaveOptions();
        // Setting PDFSaveOptions properties. Please see the JavaScript Reference
        // for a description of these properties.
        // Add more properties here if you like
        pdfSaveOpts.acrobatLayers = false;
        pdfSaveOpts.colorBars = false;
        pdfSaveOpts.colorCompression = CompressionQuality.AUTOMATICJPEGHIGH;
        pdfSaveOpts.compressArt = true; //default
        pdfSaveOpts.embedICCProfile = false;
        pdfSaveOpts.enablePlainText = false;
        pdfSaveOpts.generateThumbnails = false; // default
        pdfSaveOpts.optimization = true;
        pdfSaveOpts.pageInformation = false;
        pdfSaveOpts.preserveEditability = true;
        return pdfSaveOpts;
    function getSVGOptions()
              var svgSaveOpts = new ExportOptionsSVG();
              //just using defaults aside from what's written below
      //see http://cssdk.host.adobe.com/sdk/1.0/docs/WebHelp/references/csawlib/com/adobe/illustrator/ ExportOptionsSVG.html
      svgSaveOpts.embedRasterImages = true;
      svgSaveOpts.sVGTextOnPath = true;
              return svgSaveOpts;
    function getPNGOptions()
              // Create the PDFSaveOptions object to set the PDF options
              var pngExportOpts = new ExportOptionsPNG24();
              // Setting PNGExportOptions properties. Please see the JavaScript Reference
              // for a description of these properties.
              // Add more properties here if you like
              pngExportOpts.antiAliasing = true;
              pngExportOpts.artBoardClipping = false;
              pngExportOpts.horizontalScale = 100; // scaling to 350%
              pngExportOpts.saveAsHTML = false;
              pngExportOpts.transparency = true;
              pngExportOpts.verticalScale = 100; // scaling to 350%
              return pngExportOpts;

  • ANT how to include NetBeans Jar  files in my script of ANT ??

    ANT how to include NetBeans Jar files in my script of ANT ??

    I mean the library say swing layout ...
    which is SwingLayOuts1.0.jar ...
    in side this there is folder org.jDesktop....
    I want this folder in my jar file ...
    also ....
    My question ... i know the path of the jar file of NetBeans .... i can copy that ...dirctly ... but if m using Netbeans editor ... can i give NetBeans class to my jar command for ANT...........

  • Indesign server web service - where is the support to upload a file with the script and download the result?

    Hi,
    I am working on a POC that is supposed to convert indd files to pdf (i.e. using of course the indesign server). Basically I want to call the IDS Web Service (located on a different machine perhaps), pass in the input file, the conversion script and retrieve the result as part of the WebService call? 
    Browsing the documentation, examples, etc in the SDK, I couldn't see how the above can be achieved without the client handling the file transfer. Surely I must be missing something ...
    thanks
    Chris

    What do you mean with POC?
    InDesign Server is too precious (i.e. license cost) to waste its time with file transfers.
    For a smaller scale, let a separate process (some http or smb server) on the same server hardware handle the files - so that the InDesign Server can access them on the fastest local volume.
    If you plan for bigger, use a dedicated server for file sharing (your choice of SMB, NFS or whatever), where the input files are prepared by the client process, so that your load balancer can immediately point the next free instance of the InDesign server farm to the file. In that case be prepared for some try and error - high speed file sharing can be tricky with files written from one side not yet visible or incomplete to the other side, locking problems, Unicode file name trouble, unexpected time stamps and so forth.
    Btw, there is also an InDesign Server forum which would be more appropriate for such discussions.
    Dirk

  • How can I perform the conversion of pdf files in Cyrillic script to Word files in Cyrillic script. The pdf file is too small for me to read right now. Julyan Watts

    How can I perform the conversion of .pdf files in Cyrillic script to Word files in Cyrillic script. The .pdf file is too small for me to read without a magnifying glass, and the document is more than one thousand pages.

    This answer was not helpful. First of all, I could not find "tech specs"
    anywhere on the Acrobat 11 homepage. And secondly I purchased this software
    for the specific purpose of converting .pdf files to Word. It was only
    after I had completed the purchase that I learnt that Acrobat does not
    permit the conversion of .pdf files in Cyrillic to Word files  in Cyrillic.
    I feel that Acrobat should have provided this crucial information before I
    allowed my credit card to be debited. That is why I  am now asking for my
    money back. But thanks for your attempt to solve my problem, even if it was
    not successful.
    Julyan Watts

Maybe you are looking for

  • How to remove Win7 from my Dual-Boot?

    Hello, i have a notebook with an Win7 and an Arch Installation. My partition layout is: [Win7] -[ Win7Pagefile] - [Arch64 / (everything)] -[Swap] - [Datapartion with all the restGB] Now that ive switched completely to Arch i didn need win7 anymore. H

  • Please advise on the the alternative sol

    When using the FM RZL_READ_DIR_LOCAL i get the list for files name in the importing directory (let's say ITAB) With the list of file name i need to chek whether the file name exit in table KNA1 for the field KUNNR I firstly thought of Loop at itab. w

  • [Xorg] Disabling Triple Buffering on Intel GPU

    Hi. I want to disable Triple Buffering on my Intel GPU to be able to successfully run certain functions of this Matlab toolbox ( Psychtoolbox ). I added the file /etc/X11/xorg.conf.d/20-intelhack.conf with this contents: Section "Device" Identifier "

  • Profile problem with report

    Hi guys So here is what i have: i have a report which submit a concurrent request using fnd_request.submit_request* function. now my problem is profile information such as user_id, resp_id , resp_appl_id. i need those three profile information so i c

  • Ipod Shows File with Exclaimation Point and Website

    My ipod screen is black and white and has a website address(www.apple.com/support/ipod)and i cant go past that screen, ive tried reseting it, pluging it in, and charging it and it won't fix it. HELP! Dell Dimension 4550   Windows XP