SQLPLUS script execution vs semi-colon

Hi everyone,
is there a way to configure sqlplus such that when a statement (e.g. an INSERT) do not have a semi-colon at the end (or et / on the beginning of the next line) an error is returned?
Here is an example:
INSERT INTO emp (emp_no, emp_name) values (5, 'john')
INSERT INTO emp_status (emp_no, status) values (5, 'full time');
Running a script containing these two lines with sqlplus won't do the first insert and won't give an error.
By default these human errors are treated silently by sqlplus.
I am almost sure there is no mean to detect that but in case I am wrong, I ask the question.
Best regards.
Carl

Hi, Carl,
plhtyuk wrote:
Hi everyone,
is there a way to configure sqlplus such that when a statement (e.g. an INSERT) do not have a semi-colon at the end (or et / on the beginning of the next line) an error is returned?
SET   SQLBLANKLINES  ONtells SQL*Plus that a single SQL statement can include lines that contain nothing but whitespace, or are completely empty.
Here is an example:
INSERT INTO emp (emp_no, emp_name) values (5, 'john')
INSERT INTO emp_status (emp_no, status) values (5, 'full time');
Running a script containing these two lines with sqlplus won't do the first insert and won't give an error.If SQLBLANKLINES is ON, then SQL*Plus will think all 3 lines above are part of the same SQL statement, and you'll get a syntax error. Neither INSERT will be done.
By default these human errors are treated silently by sqlplus.
I am almost sure there is no mean to detect that but in case I am wrong, I ask the question.There ought to be a more straightforward way to request warnings when you forget a ;. If it was up to me, I would have made that the default behavior.

Similar Messages

  • Inserting xml in sqlplus with semi colon at end of line

    Hi
    I'm trying to insert some generated XML. There are carriage returns in the XML and some lines have a semi colon at the end. The SQLPLUS interface is taking the semi colon as the instruction to execute. Can I mask the semi colon so it's not interpreted as the instruction to execute so the insert will work.Sample code below.
    insert into mytab REQUEST_XML, XML_FLAG_YN)
    values ('DS_REQUEST_HEADER;
    OPERATIONAL;
    SDSDL>'
    'Y');
    SQL> insert into mytab REQUEST_XML, XML_FLAG_YN)
    2 values ('DS_REQUEST_HEADER;
    ERROR:
    ORA-01756: quoted string not properly terminated
    SQL> OPERATIONAL;
    SP2-0734: unknown command beginning "OPERATIONA..." - rest of line ignored.
    SQL> SDSDL>'
    SP2-0042: unknown command "SDSDL>'" - rest of line ignored.
    SQL> 'Y');
    SP2-0042: unknown command "'Y')" - rest of line ignored.
    SQL>
    Thanks

    SQL> create table mytab (request_xml varchar2(2000), xml_flag_yn varchar2(1));
    Table created.
    SQL> insert into mytab (request_xml, xml_flag_yn)
      2  values ('DS_REQUEST_HEADER;
    ERROR:
    ORA-01756: quoted string not properly terminated
    SQL> ed
    Wrote file afiedt.buf
      1  begin
      2    insert into mytab (request_xml, xml_flag_yn)
      3    values ('DS_REQUEST_HEADER;
      4  OPERATION;
      5  <SDSDSD>',
      6  'Y');
      7* end;
    SQL> /
    PL/SQL procedure successfully completed.
    SQL> select * from mytab;
    REQUEST_XML
    X
    DS_REQUEST_HEADER;
    OPERATION;
    <SDSDSD>
    Y

  • Semi Colon in Authorization

    Hi,
    Can anyone explain the functionality of the Semi Colon (:)in Authorization Object. I have a requirement which demands the use of semi colon. Please let me know your suggestions on this.
    Sajan.M

    Hello Sajan,
    refer to :
    SAP Note Number: 727354
    Colon authorization during query execution
    Version: 2, Note Language: EN, Released on: 20.04.2004 
    Symptom
    You experience difficulties with colon authorization when you execute a query.
    Other terms
    Colon authorization
    Reason and Prerequisites
    You require colon authorization to view the values of an authorization-relevant characteristic in aggregated form. What does this mean exactly?
    Example:
    The 0COUNTRY characteristic is authorization-relevant and is contained in the InfoProvider used. You defined a query as follows:
    1. 0COUNTRY is in the free characteristics (not in the drilldown) without any selections
                  - or-
    1. 0COUNTRY is not used in the query.
    In both cases, no 0COUNTRY values appear in the query. Also, the query is not restricted to any 0COUNTRY values. The colon is required for the authorization check. You see the following message in the authorization log:
               "Check for ':' Added"
    Note the following:
    Case 2) is often overlooked: The authorization-relevant characteristic is not in the query, but rather in the InfoProvider. This does not mean that an authorization check does not take place on the characteristic. Since the key figures displayed are implicitly aggregated using all of the values for the characteristic, this must also be authorized.
    In a query, a selection can occur locally in a restricted key figure or in a structure. If the query contains other key figures, and this selection (or other selections) does not apply to these key figures, the colon is also required in the authorization.
    Solution
    If the above authorization problems occur, you must perform the following:
    1. If you want queries with no restrictions to run:
               Grant colon authorization to the user.
    1. If you do not want to grant colon authorization to the user:
                Restrict the characteristic in the query to a certain selection (single value, interval, hierarchy node, and so on) and authorize this selection explicitly.
    You must perform one of the above actions while the characteristic is being checked for authorizations.
    Other information
    The star authorization ('*') authorizes everything (of course, this also includes queries that require a colon).
    If the authorization-relevant characteristic is a navigation attribute (0COUSTOMER__0COUNTRY, for example), the behavior of the authorization check is not altered in any way. An exception occurs if the InfoObject appears both as a characteristic (0COUNTRY) and as a navigation attribute (0COUSTOMER__0COUNTRY) in the InfoProvider. You must then refer to note 642072.
    A colon authorization is not taken into account when you use a variable of the type "Fill from authorization", since it is not known at the time of the variable processing whether or not the affected characteristic is in the drilldown.
    Release Status Released for Customer
    Released on 20.04.2004
    Priority Recommendations/additional info
    Category Consulting
    Primary Component BW-BEX-OT-OLAP-AUT Authorizations
    Secondary Components BW-BEX-OT-OLAP Analyzing Data
    No attributes available 
    Soft. Component Release Track From Release To Release And Successors
    SAP_BW   30   30A   30B    
    SAP_BW   310   310   310    
    SAP_BW   35   350   350    
    No correction instruction available 
    No data available
    Number Short Text
    0000921820 Information about authorization concept of BW 3.X systems
    0000831700 BRAIN 655: No authorized data for F4 (input help)
    0000805855 Check on colon authorization despite selection condition
    0000790323 The log for reporting authorizations in BW
    0000789536 Enhancements of the authorization log
    0000642072 Authorization check on : for char./navigation attribute
    0000573725 Authorizations for documents for transaction data
    No attachments available
    SAP Notes / Patches corrected by this Note 
    No entries available
    The following SAP Notes correct this Note / Patch 
    No entries available

  • How quit script execution?

    Hi.
    I don't know how quit my script execution from a pls block.
    I have a .sql script like this:
    DECLARE
    myvar NUMBER(10);
    BEGIN
    SELECT ... INTO myvar FROM ...;
    IF myvar > ... THEN
    /* here sqlplus should stop the script execution. How? */
    END IF;
    END;
    QUIT;
    The pls block doesn't recognize the sqlplus QUIT command. Is it possible quit a sqlplus session from a pls/sql block?
    Thank you in advance
    Stefano Babayantz
    null

    A simple way would be to define a user exception and then raise it explicitly
    DECLARE
    myvar NUMBER(10);
    uexcept EXCEPTION;
    BEGIN
    SELECT ... INTO myvar FROM ...;
    IF myvar > ... THEN
    raise uexcept;
    /* here sqlplus should stop the script execution. How? */
    END IF;
    EXCEPTION
    WHEN uexcept THEN
    dbms_output.put_line('Exception raised...');
    END;
    You may wish to associate the exception to an Oracle internal exception (using PRAGMA EXCEPTION_INIT) and handle it accordingly

  • Multiple Artist, Genre... Separator (Semi-Colon) instead of Smart Playlists

    In my opinion, one of the greatest features of ID3 tags is the ability to use semi-colons to differentiate between multiple artists, genres, albums, etc... for any given field. This feature has been available since ID3 tags for MP3's were first implemented over a decade ago.
    With Windows Media Player 10, it's database was finally able to parse the information separated by semi-colons correctly. What this means is that if I have a song like "Picture" by Sheryl Crow and Kid Rock, in the ID3 tag, I type "Sheryl Crow; Kid Rock", and in WMP, if I click on Artist | Sheryl Crow, "Picture" appears. And if I click on Artist | Kid Rock, "Picture" appears. In fact, when I rip songs using WMP, it places semi-colons in numerous ID3 fields from the album description.
    In iTunes, however, when I import a song with a semi-colon in an ID3 tag field, the database reads the artist as "Sheryl Crow; Kid Rock", or essentially, it treats "Sheryl Crow; Kid Rock" as a THIRD artist. The same is true if I have a song that I feel crosses two genres--like "Picture". In WMP, if I put in the Genre field "Pop; Country", when I choose Genres | Pop, "Picture" appears, and when I choose Genres | Country, "Picture" appears.
    Does anyone know if a bug fix for this is in the works for iTunes? It seems Apple and iTunes have been trying to push Smart Playlists for this kind of organization, but that's the poor man's way of organizing songs and not nearly as efficient. I don't want to have to create Smart Playlist for all songs with "Sheryl Crow" in the artist field. It should be inherent based on the semi-colon.
    Does anyone know if anything smarter than Smart Playlists is in the works that matches the intuitiveness of Windows Media Player's database?
    Thanks,
    Bill

    Whereas in WMP & the ID3 spec. you would use a semi-colon to separate items you will find that iTunes & the Music store use a slash instead. However as you so rightly say iTunes takes the information and construes a new artist entity rather than two artists connected to the same track. (WMP might also respond to slash - I recall AC/DC always presenting issues so they exist as AC-DC in my library.)
    If you'd like to make feature request go to: iTunes Feedback.
    Working on the assumption that such ideas are unlikely to implemented any time soon however you might like to see my post on Grouping Tracks Into Albums which covers workarounds for this & other quirks.
    tt2

  • How to Schedule Job using Database Control for SQLPLUS script?

    Hi All,
    I am using Database version 10.2. I would like to schedule a SQLPLUS script job using Database control (Not using Grid Control!). The following is the script.
    ========================================================
    define OEM_FRIENDLY=1
    define OWB_BACKGROUND=0
    set serveroutput on
    set verify off
    whenever sqlerror exit failure;
    define REPOS_OWNER='&1.'
    define LOCATION_NAME='&2.'
    define TASK_TYPE='&3.'
    define TASK_NAME='&4.'
    define SYSTEM_PARAMS='&5.'
    define CUSTOM_PARAMS='&6.'
    alter session set current_schema = &REPOS_OWNER.;
    set role owb_d_&REPOS_OWNER., owb_o_&REPOS_OWNER.;
    variable exec_return_code number;
    begin
    -- Initialize Return Code
    :exec_return_code := wb_rt_api_exec.RESULT_FAILURE;
    -- Run Task
    :exec_return_code := wb_rt_api_exec.run_task('&LOCATION_NAME.',
    '&TASK_TYPE.',
    '&TASK_NAME.',
    '&CUSTOM_PARAMS.',
    '&SYSTEM_PARAMS.',
    &OEM_FRIENDLY.,
    &OWB_BACKGROUND.);
    end;
    exit :exec_return_code;
    ===========================================================
    Is it possible to schedule SQLPLUS script with 6 different parameters? If yes then how can I schedule for monday to friday or only for Saturday and sundays.
    Please provide brief steps.
    Thanks for your help in advance.
    - Mehul

    Let me explain to you about scheduler.
    You can schedule a pl/sql stored procedure TEST_S as follows...
    Begin
    dbms_scheduler.create_job(
    job_name=>'MY_JOB',
    Job_Type=>'STORED_PROCEDURE',
    job_action=>'TEST_S',
    start_date=>sysdate,
    repeat_interval=>'freq=monthly;BYDAY=MON,TUE,WED,THU,FRI',
    end_date=>null');
    END;
    You can also also execute o/s script like .bat or .sh. For this job type should be EXECUTABLE.
    Example of converting a .sql script in .bat script...
    insert.sql
    insert into dept values(50,'IT','LONDON');
    exit
    insert.bat
    sqlplus scott/tiger @insert.sql
    Executing now...
    C:\Documents and Settings>insert.bat
    C:\Documents and Settings>sqlplus scott/tiger @insert.sql
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Mar 1 08:01:00 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    1 row created.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - P
    oduction
    With the Partitioning, OLAP and Data Mining options
    C:\Documents and Settings>
    So first read about DBMS_SCHEDULER and do the work in prompt. Then you can go and schedule it even by database control.
    Scheduling by database control...
    http://www.oracle.com/technology/oramag/oracle/04-jul/o44tech_dba.html
    Scheduler
    http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_sched.htm#CIHEHDHA
    PS: By default each job you created is disable state. Please enable it by enable procedure of DBMS_SCHEDULER package.

  • Error with dbms_scheduler and shell script execution

    Hi,guys.
    I have an issue with a dbms_scheduler and a shell script execution. So, the shell script as it self works fine, when i'm executing ./test.sh all process is running, but when i'm executing the script from dbms_scheduler it just simply doesn't work. Actually it works, but some of executable information in sh doesn't work, seems it just jump over of the part of the script. Sendmail part is running, maybe there is problem with rman script as it self?
    DB version: 10g
    And my scripts:
    Shell scripts (permisons 755):
    #!/bin/ksh
    export PATH=/home/oracle/product/asm_home/bin:/home/oracle/product/db_home/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/home/oracle/bin:/usr/bin/X11:/sbin:.
    export ORACLE_BASE=/home/oracle/product
    export ORACLE_SID=zabbix
    export ORACLE_HOME=/home/oracle/product/db_home
    ${ORACLE_HOME}/bin/rman<<EOF
    connect target /
    run {backup recovery area delete all input;}
    EOF
    {       echo "From:[email protected]"
            echo "To: [email protected]"
            echo "Subject: Recovery area"
            echo 'Content-Type: text/html'
            echo
            echo '<html><body><table border="1" cellspacing="1">'
            echo '<tr><td><b>Process</b></td><td><b>Statuss</b></td></tr>'
            echo "<tr><td>RMAN</td><td><b>Works</b></td></tr>"
            echo "</table></body></html>"
    } | sendmail -tIn the first part i'm exporting all of the important stuff for oracle, then I call RMAN with specific atributes. And then there is just simply sendmail functionality inside script to represent if script works (for now).
    And below pl/sql script:
    begin
      DBMS_SCHEDULER.CREATE_JOB
      job_name => 'FLASH_RECOVERY',
      job_type => 'EXECUTABLE',
      job_action => '/home/oracle/backup/test.sh',
      start_date => sysdate,
      job_class => 'DEFAULT_JOB_CLASS',
      enabled => TRUE,
      auto_drop => FALSE,
      comments => 'FLASH RECOVERY USAGE AREA backup and delete'
      END;
      /And this job execution:
           begin
               DBMS_SCHEDULER.run_job (job_name =>'FLASH_RECOVERY',use_current_session => TRUE);
           end;What can be wrong? For me, I think it's something with permisions.
    I hope you got my idea and could help me.
    Tom
    Edited by: safazaurs on 2013.18.2 22:16

    There is no error, i just receive all the time e-mail, seems it jumps over rman. I tried almost everything and still couldn't get result as i want. And, if i'm running script from command line - it works. Rman calls, and starts to recover archivelogs.

  • How to write errors in sqlplus script into logging table?

    Hi,
    I am having sqlplus script which do some DDL and DML statements.
    Now is there any way to logg errors which pop up when the script is esxecuting?
    For example something like:
    WHENEVER SQLERROR EXIT SQL.SQLCODE
    BEGIN
    /* SOME DDL OR DDL */
    CREATE TABLE A
    COL_1 NUMBER,
    COL_2 NUMBER
    /* Wrong sql statement */
    INSERT INTO TABLE_DOWS_NOT_EXISTS(....);
    EXCEPTION WHEN OTHERS THEN
    INSERT INTO logging_tbl (error_description) VALUES(SQL.SQLCODE);
    END;
    I know, this one will tell sqlplus to exit with sql error code without trapping into exception section, but is there any way to handle it?
    Thanks

    An approach would be to enable spooling in the beginning of your script. Wrap dbms_output into an error_log procedure. The error_log should simple write an errorcode + message to the prompt.<br>Afterwards - a search batchjob or manual search for errorcode occurances in the script spool file(s) should reveal the outcome.

  • Passing a FILENAME from a LINUX SHELL Script to an SQLPLUS Script

    I written a LINUX Shell Script to receive a FILENAME. This FILENAME is the name of the file that I want to SPOOL into.
    So, below are two items.
    The first item is the LINUX Shell Script that has the FILENAME
    The last item is the SQLPLUS Script that is suppose to receive the name
    The LINUX Shell Script:
    #! /bin/sh
    LOGFILE="$(date +"%Y-%m-%d %H:%M") Oracle REPORT LOG.TXT"
    FILENAME="$(date +"%Y-%m-%d") PROD Unfinished Spot Bids.CSV"
    echo "File Name for the spool is:" "$FILENAME"
    #spool "$FILENAME"
    #sqlplus /nolog @run_test_query.sql
    #sqlplus -S @Unfinished_Spot_Bids_Run_V1.sql >$LOGFILE
    sqlplus -S /nolog <<EOF >$LOGFILE
    /* I want to pass to the SQL file below */
    /* The value that is contained in the the variable $FILENAME */
    /* How do you do that? */
    @@Unfinished_Spot_Bids_V1.sql
    spool
    set echo on
    EOF
    RV=$?
    #if {$RV -ne 0}
    #exit $RV
    #else
    echo "The return code fronm the sqlplus was:" "$RV"
    #fi
    Here is the SQLPLUS Script
    CONNECT glog_read/parker@OTMPROD
    set linesize 32000 trimspool on pagesize 3000
    set echo off
    SET TERMOUT OFF
    set heading off
    /* I want to parameterize the name of the file below */
    /* This file is executed from inside a LINUX Shell Script */
    /* That LINUX SHELL script is passed a file name */
    /* I want that filename used in the "SPOOL" statement below */
    /* So, how do I do that? */
    spool PROD_Unfinished.CSV
    prompt Shipment Update Date|Shipment Number|No of Shipments|Auctions per Shipment|No. of Carriers Notified|No of Bidders|Duration of Auction|Elapse time for first bid|Elapse time for last bid|Elapse time of bidding|Lead Time of Auction to P/U|High Bid- Low Bid Diff|
    set feedback off
    SELECT
    to_char(c.update_date, 'FMMonth, YYYY')||'|'|| b.SHIPMENT_GID
    ||'|'|| count (distinct (b.SHIPMENT_GID))
    ||'|'|| count(distinct(a.i_transaction_no))
    ||'|'|| count(*)
    ||'|'|| sum (case when a.responding_gl_user_gid is null then 0 else 1 end)
    ||'|'|| min (numtodsinterval((b.expected_response - b.insert_date),'day'))
    ||'|'|| min (numtodsinterval((a.update_date - a.transaction_time),'day'))
    ||'|'|| max (numtodsinterval((a.update_date - a.transaction_time),'day'))
    ||'|'|| numtodsinterval((max(a.update_date) - min(a.update_date)),'day')
    ||'|'|| numtodsinterval((max(b.shipment_time) - max(c.insert_date)),'day')
    ||'|'|| (max(a.bid_amount) - min(a.bid_amount))
    from tender_collab_servprov a, tender_collaboration b, shipment c
    where a.i_transaction_no = b.i_transaction_no
    and b.shipment_gid not in (select sqa.shipment_gid from tender_collaboration sqa, tender_collab_servprov sqb where sqa.i_transaction_no = sqb.i_transaction_no and sqb.acceptance_code = 'A')
    and a.i_transaction_no in (select i_transaction_no from tender_collaboration where tender_type = 'Spot Bid')
    and b.shipment_gid = c.shipment_gid
    AND c.update_date >= trunc(last_day(to_date((to_char(add_months(SYSDATE,-2), 'MM-DD-YYYY')),'MM-DD-YYYY')) + 1)
    group by c.update_date, b.SHIPMENT_GID
    order by c.update_date, b.shipment_GID;
    spool off

    ParadicePGMR wrote:
    First, I was getting an error on the SPOOL ${FILENAME}. Also, my file did have spaces and I did replace it with "_". It still did not work on the SPOOL Command. So, with or without the _, I never got the SPOOL command to work!
    It seems that the FILENAME value from the LINUX script was not being passed into the SQLPLUS procedure.
    How do you pass LINUX variables into the SQLPLUS procedure>
    Not sure if I had the right usage => ${FILENAME}above is correct syntax

  • File containing semi-colon(;) cannot be loaded in JVue

    Hello,
    I am using AutoVue Client/Server Deployment 20.2.2 on Win7.
    I have file as "semi;colon.txt".
    When I launch autovue to load this file, I receive error as "Failed to upload file. File not found.".
    I have following OBJECT tag to launch autovue.
    <OBJECT ID="Viewer_Object">
      <PARAM NAME="JVUESERVER" VALUE="socket://server:5099;http://server/JVueIISFilters/VueServletIsapi.dll">
      <PARAM NAME="FILENAME" VALUE="upload:////server/Viewer/semi;colon.txt">
      <PARAM NAME="ARCHIVE" VALUE="jvue.jar,jogl.jar,gluegen-rt.jar">
      <PARAM NAME="GUIFILE" VALUE="default.gui">
      <PARAM NAME="EMBEDDED" VALUE="TRUE">
      <PARAM NAME="CODE" VALUE="com.cimmetry.jvue.JVue.class">
      <PARAM NAME="CODEBASE" VALUE="http://server/jvue">
    </OBJECT>
    I able to view files which do not have semi-colon in their file name.
    Will you please let me know, what went wrong here?
    Thanks,
    Kiran

    semi-colon is a separator in AutoVue, so that is a limitation
    Not sure why you would put a semi-colon on a file name, knowing that it is a separator for windows too.

  • EncodeURL - uses semi-colon or question mark in path?

    I am confused about the encodeURL method and how it formats urls when adding the session ID. It was my understanding that the sessionID is added as a path parameter, which means it becomes part of the query string following a "?" in the url, like so:
    www.mydomain.com/servlet/CheckOut?jsessionid=567
    However, the book I'm using (Java 2 Web Developer Certification Study Guide by Sybex), says that a semi-colon is used instead, like so:
    www.mydomain.com/servlet/CheckOut;jsessionid=567
    Which one is it? Or is this entirely server-dependent? Either way the next processing servlet needs to be able to access that ID using getPathInfo().

    encudeURL exactly does what you says
    www.mydomain.com/servlet/CheckOut;jsessionid=567
    I am also using the same book you use, it seems that you are preparing for the exam?
    Regards
    the exam?
    Regards

  • Call unix command in sqlplus script

    Hello, I wanna to know how to call a unix command in the sqlplus script.
    For exemple,
    I've a sqlplus script to lauch a oracle report, after the report is generated, I wanne to replace the output file in an other directory.
    So that, I have to call the unix command mv here in the sqlplus script
    How can I do it?**
    I completed my situation:
    I don't have dbms_scheduler untility in my database.
    Thanks a lot for your help
    Edited by: user11930885 on 17 janv. 2010 14:53

    Yes, at the begining, I'll tried the unix shell by calling SQL.
    I've the problem of passing the parameters through.
    It seems to me
    we can use
    Host in the SQLPLUS to run the unix command.
    but I've written it in my sqlplus script, it doesn't work. so I wanna to find an exemple how to use HOST in sqlplus script?
    I would have loved to give you an example..but its not unix on my laptop.
    But what i can tell you is...u should be doing otherway round.
    Not calling Unix commands from SQL but calling SQL's form unix.
    You got shell scripts for that.
    Write a shell script. Login to SQL execute your code.
    exit from sql and then move your file with MV. That's it.
    Do post how far you get after trying this.

  • Author metadata separated by semi-colons truncated in file properties and "Get Info"

    I'm using Acrobat Professional 9.0 (CS3) for Mac to edit the metadata for a collection of PDFs to be made available on the web. When I enter the data, I am inputting a list of authors separated by commas, like this: Smith J, Watson C, Brown J. If I click on "Additional metadata", the data I've already entered is transposed into the various XMP fields. And the commas separating the author names are changed to semi-colons. I gather that this happens because XMP wants to separate multiple authors with semi-colons, and Acrobat wants the metadata in XMP fields to match the metadata stored for the file properties. Fine.
    However, if I save such a PDF and then use Get Info on my Mac (OSX 10.4) to look at the file properties, the list of authors is now truncated where the first semi-colon appears. The list is also truncated in Windows XP if I right-click and select properties. The list is also truncated when I look at the file properties in Preview on my Mac, or if I look at file properties using FoxIT, or using Adobe Acrobat Reader 7 or earlier. The only way a site visitor will actually be able to view the full list of authors in a file saved this way is to use Adobe Reader version 8 or later.
    I would like to preserve XMP/Dublin Core/etc metadata in the proper format in the XMP code, but would also like users of standard, popular file viewers to be able to access the full list of authors. Is there a way to do this with Acrobat 9?
    Also, once I've saved a file and the XMP metadata has been altered, Acrobat seems to permanently change the way that the authors are listed in the file properties. I cannot manually change those settings any longer without Acrobat overriding my changes and converting commas to semi-colons, or surrounding the entire list of authors in quotation marks. Is there a way to get around these Acrobat overrides and manually take control of my metadata again?
    Does Windows Vista read the authors list correctly in the file properties if it is separated by semi-colons?
    It seems to me that in an attempt to get XMP metadata working smoothly across the entire CS line, Adobe has jumped the gun somewhat and is now forcing Acrobat users to use "file properties" metadata that is really only fully compatible with Adobe products. Is there a way I can get some backwards compatibility on this?
    Thanks for any suggestions or insight anyone can provide to this vexing issue.
    Phil.

    Bridge has some pretty powerful and helpful features. However, I am unable to figure out how to access the non-XMP "file properties" fields through Bridge, and if I add metadata via Bridge, then I run into the same problem regarding the use of semi-colons to separate authors.
    If I had more time, or a larger set of files I might investigate the use of ExtendScript to import all my metadata from an Excel file (where it already exists) into the PDF file properties and XMP metadata.
    The best solution for my case though appears to be to use Acrobat 9 and to do the double-edit process for each file. I should be able to just cut-and-paste the metadata from the Excel file, and then if I save the Authors list to the end, I can simply paste it once into the XMP field (through the Advanced metadata button) and then return to the regular file properties page and paste it again in there, where Acrobat will add quotes around it.
    Lastly, if anyone else happens to find this post and is looking for similar information, I would recommend searching in the Bridge forum as well as the Acrobat forum.
    Phil.

  • How to save an excel file as CSV with semi-colon as data separator?

    We are creating a flat data file to load the flat file data to our BW system with Excel.  When we save the file, there are three kinds of CSV types for selecting from the "Save as type" list box:
    CSV (Comma delimited)
    CSV (Macintosh)
    CSV (MS-DOS)
    There is no CSV (semi colon delimited) type.  If we pick CSV (Comma delimted) as the type, then when clicking the "Preview ..." picture icon under the "DataSource/Trans. Structure" tab of the InfoSource for this flat file (with the CSV radio button checked the Data separator default is ";"), the File Upload Preview window shows the data is messed up that some columns of the excel flat file are combined into one column.
    Since the save type we picked is "CSV (Comma delimited)", then we try to change the default Data separator from ";" to "," in the preview selection screen, but still not helpful!
    How to resolve the above problem?
    Thanks

    Hi Kevin,
    This "," is defined in your windows setting. If you want to have ";" as separator then go to control Panel, select Regional Options, go to Numbers Tab and define the List separator as ";". After that when you will save your excel file as CSV(MS-DOS) it will have ";" as separator. This will make sure that the amounts are not broken in to two different fields while loading.
    Else if you keep "," as separator then you can also go into the Excel and define all number fields as Number without thousand separator.
    Let me know if you have any doubts in this.
    Regards,
    Rohit

  • Error when using FTP in iWeb 09! "Error 500: Script Execution Failure"

    I have my domain through 123-reg and I have free hosting with host-ed.net when I add a simple index.html file my website works fine displaying the 1 line of text that I asked for, so it is all configured correctly.
    How ever when I use the FTP upload thought iWeb '09 I always get "Error 500: Script Execution Failure"
    www.breslan.co.uk
    Anyone know why?

    I have logged into my hosting and changed the permissions to '755' and move the files from the folder iweb used to the root of the site i know get "Parse error: syntax error, unexpected T_STRING in /~/www/breslan.co.uk/index.html on line 1" there is only 1 line of code in index.html and that is
    <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title></title><meta http-equiv="refresh" content="0;url= Welcome.html" /></head><body></body></html>
    please help!

Maybe you are looking for

  • Television Not Recognizing HDMI Input

    I recently bought a Toshiba 24L4200U and in the few weeks I've had it, I have had no trouble connecting it to my Dell laptop. This afternoon, I left the two connected and turned the TV off before I left the house, with the display reverting to the la

  • My Drobo isn't being seen by Final Cut X

    Anyone else have this issue. I've got it hooked up via Firewire, but no luck. Final Cut X sees my other firewire drives, no problem. This is something of an issue since the Drobo is where I'm archiving everything. Not being able to see the drive from

  • Some Question Please answer I am a beginner

    Hello Friends I have some question 1. what is the difference between forms and report 2. what is the difference between simple report and xml publisher report 3. what are the types of Database Types in Oracle 4. what are the types of SQL Loader In Ad

  • Image swap script causing crashes.

    I am writing a script that will randomly swap images between selected image frames. The script works fine (but it's still slow) on a smaller selection. But once the selection gets past 12/14 items it causes indesign to crash. any thoughts? thanks if

  • I would like to know if there a way to use window (via bootcamp) and use a dual screen with the use of thunderbolt?

    I would like to know if there a way to use window (via bootcamp) and use a dual screen with the use of thunderbolt?