Blank spaces when @ file_name ?

Hi SQL and PL/SQL forum,
vers. info: (64 bit) Oracle10i Enterprise Edition Release 10.2.0.1.0 - Production on Sun/Solaris 10
How do I permit blank spaces in dirctory name and/or filename when executing a script by
@[<path>]<file_name> ?
The following does not work
@"N:\miniMAKS - etape 3\databaseleverancer\DB-V3-1-0\dokumentation31\scripts31\06 minimakshist\minimaks_05_test.sql"
Needless to say that leaving out the "" does not work either.
- Thanks in advance,
Jens Ole Jensen
Kort & MatrikelStyrelsen (WWW: http://www.kms.dk)
Danmark

Sorry all is still not well,
I replaced my minimaks_05_test.sql with the real <file_name> being minimaks_05_install.sql. This script contains
@@"01 DB-V3-001-000 - tabel_kontaktSpec.sql"
@@"02 DB-V3-001-000 - tabel_eksternrolletype.sql"
etc.
the script fails with the same message as I got yesterday
@@"01 DB-V3-001-000 - tabel_kontaktSpec.sql"
SP2-0310: Filen "N:\miniMAKS.sql" kan ikke åbnes
@@"02 DB-V3-001-000 - tabel_eksternrolletype.sql"
SP2-0310: Filen "N:\miniMAKS.sql" kan ikke åbnes
etc.
Oracle® Database Error Messages
has nothing about SP2-0310.
It seems like the @@ command forgets the "" around the current directory name.
My problem is that the naming of <path> and <file_name> is beyound my control.
Thanks for any advice you may have on this matter.
Jens Ole Jensen
Kort & MatrikelStyrelsen (WWW: http://www.kms.dk)
Danmark

Similar Messages

  • Why do graphics and colors that appear on the monitor show up as blank spaces when printed out

    Graphics (especially color) on emails and attachments show up as BLANK spaces when printed out.
    Also, some color graphics and detail work of those graphics on familiar websites do not show up on my monitor
    Both of these situations DO NOT occur on Explorer. With that browser - everything is OK

    it may have worked, but gimping my system isn't exactly a solution, more of a band-aid.
    its the equivalent of the old
    patient says, " its hurts when i do *this* "
    doctor replies," well, don't do that "
    What do you mean "it may have worked" – did it or did it not?
    Anyway it is not a remedy but diagnostics and if it makes a difference it points at the GPU driver as a likely culprit.

  • Lots of blank space when printing array with only last element printed

    I have a slight problem I have been trying to figure it out for days but can't see where my problem is, its probably staring me in the face but just can't seem to see it.
    I am trying to print out my 2 dimensional array outdie my try block. Inside the trying block I have two for loops in for the arrays. Within the second for loop I have a while to put token from Stringtokeniser into my 2 arrays. When I print my arrays in this while bit it prints fine however when I print outside the try block it only print the last element and lots of blank space before the element.
    Below is the code, hope you guys can see the problem. Thank you in advance
       import java.io.*;
       import java.net.*;
       import java.lang.*;
       import java.util.*;
       import javax.swing.*;
       public class javaflights4
          public static final String MESSAGE_SEPERATOR  = "#";
          public static final String MESSAGE_SEPERATOR1  = "*";
          public static void main(String[] args) throws IOException
             String data = null;
             File file;
             BufferedReader reader = null;
             file = new File("datafile.txt");
             String flights[] [];
                   //String flightdata[];
             flights = new String[21][7];
             int x = 0;
                   //flightdata = new String[7];
             int y = 0;
             try
                reader = new BufferedReader(new FileReader(file));   
                //data = reader.readLine();   
                while((data = reader.readLine())!= null)   
                   data.trim();
                   StringTokenizer tokenised = new StringTokenizer(data, MESSAGE_SEPERATOR1);
                   for(x = 0; x<=flights.length; x++)
                      for(y = 0; y<=flights.length; y++)
                         while(tokenised.hasMoreTokens())
                            //System.out.println(tokenised.nextToken());
                            flights [x] [y] = tokenised.nextToken();
                            //System.out.print("*"+ flights [x] [y]+"&");
                   System.out.println();
                catch(ArrayIndexOutOfBoundsException e1)
                   System.out.println("error at " + e1);
                catch(Exception e)
                finally
                   try
                      reader.close();
                      catch(Exception e)
             int i = 0;
             int j = 0;
             System.out.print(flights [j]);
    //System.out.println();

    A number of problems.
    First, I bet you see a lot of "error at" messages, don't you? You create a 21x7 array, then go through the first array up to 21, going through the second one all the way to 21 as well.
    your second for loop should go to flights[x].length, not flights.length. That will eliminate the need for ArrayIndexOutOfBounds checking, which should have been an indication that you were doing something wrong.
    Second, when you get to flights[0][0] (the very first iteration of the inner loop) you are taking every element from the StringTokenizer and setting flights[0][0] to each, thereby overwriting the previous one. There will be nothing in the StringTokenizer left for any of the other (21x7)-1=146 array elements. At the end of all the loops, the very first element in the array (flights[0][0]) should contain the last token in the file.
    At the end, you only print the first element (i=0, j=0, println(flight[ i][j])) which explains why you see the last element from the file.
    I'm assuming you have a file with 21 lines, each of which has 7 items on the line. Here is some pseudo-code to help you out:
    count the lines
    reset the file
    create a 2d array with the first dimension set to the number of lines.
    int i = 0;
    while (read a line) {
      Tokenize the line;
      count the tokens;
      create an array whose size is the number of tokens;
      stuff the tokens into the array;
      set flights[i++] to this array;
    }

  • Inpufield considering blank space when cursor is placed.

    Hi,
    I have Inputfields in my BSP Application but on some Inputfields, when I place the cursor it starts after one blank space. I have to do Backspace to remove that space and input the entry. Some of the Inputfields are working fine. Issue is with some of them.
    I have compared all but not able to rectify.
    Please let me know if someone faced the similar issue or have any idea.
    Refer the below coding which i have done.
    <htmlb:inputField id      = "if_clmdetl_repairno"
                      type    = "STRING"
                      required = "FALSE"
                      disabled = "<%= disable %>"
                      value    = "<%= v_repair_number %> "
                      design   = "standard"
                      width   = "25%"
                      maxlength = "2"
                      alignment = "FORCEDLEFT"
                      tooltip  = "<%= otr(ZZWTY/REPAIR) %>"/>
    Thanks,
    Rahul

    Replace below code
    <htmlb:inputField id      = "if_clmdetl_repairno"
                      type    = "STRING"
                      required = "FALSE"
                      disabled = "<%= disable %>"
                      value    = "<%= v_repair_number %> "
                      design   = "standard"
                      width   = "25%"
                      maxlength = "2"
                      alignment = "FORCEDLEFT"
                      tooltip  = "<%= otr(ZZWTY/REPAIR) %>"/>
    with this code: Just copy & paste this.
    <htmlb:inputField id      = "if_clmdetl_repairno"
                      type    = "STRING"
                      required = "FALSE"
                      disabled = "<%= disable %>"
                      value    = "<%= v_repair_number %>"
                      design   = "standard"
                      width   = "25%"
                      maxlength = "2"
                      alignment = "FORCEDLEFT"
                      tooltip  = "<%= otr(ZZWTY/REPAIR) %>"/>
    This is what Vijaya says. It will solve the issue & give points to Vijaya if so...
    Raja

  • Issues in exporting SSRS report to PDF format in Report Server - Blank spaces are deleted

    Hi Gurus,
    I have a problem in exporting SSRS report to PDF format. It deletes all the blank spaces when I use bullet in a Text box and try to export to PDF formt in Report Server . For example
    •             Project submitted to the TRC
    Result in PDF format:
         • ProjectsubmittedtotheTRC
    I also noted that when I try to export to PDF in Visual Stuio 2005 (Business Intelligence development studio), it does not delete any blank spaces and shows the correct aligned Data in PDF format.
    Please help me as it is frustrating a lot
    I would highly appreciate for your quick response 

    Was there ever a solution found for this as i have the same issue.
    When bullet point is entered in a field all the spaces are removed when exported to PDF
    i tried exporting to excel and it does not remove spaces, however this is no use to me as it needs to be in PDF
    Using IE 7 (Don't think the browser has anything to do with it as this happened via a subscription)
    Didn't know SSRS had specific Service Packs, i though they came as patches to SQL Server (SQL Server is on Service Pack 3)
    This should be easy to replicate all you need to do is copy text containing a bullet point into a sql server database field and then add this field to a report export to pdf and the spaces are gone
    Thanks in advance,
    Mark Brunton
    brunzire

  • How to insert  blank spaces at end of a record

    Hi All,
    i need to write 10 records each of 80 char size. of these 10 records, each record might have different data and the last field will be a filler field which only has space.
    for example:
    DATA : BEGIN OF gs_mrecord        ,
             id(1)         VALUE'M'     ,
             accno(12)                  ,
             refid(2)      VALUE 'RR'   ,
             sec_cd(4)     VALUE '2437' ,
             sub_typ(1)    VALUE '6'    ,
             sub_dt(5)                  ,
             sub_seq_no(1)              ,
             sec_cd1(4)    VALUE '2437' ,
             sub_dt1(6)                 ,
             record_no(6)  TYPE n       ,
             ext_ind(1)                 ,
             plat_id(1)                 ,
             filler_1(1)               ,
             clear_code(3)              ,
             ex_merc_no(16)             ,
             filler_4(4)               , fill blank spaces
             mech_bin_no(6)             ,
             filler(6)             ,  " fill blank spaces
             END OF gs_mrecord .
    like this there are 10 types with 80 char size, however the last field is a filler, in which we need to fill only blank spaces.
    when i wrtie this data to the application server file i can't see the spaces and when download(to .TXT file) also i can't see the spaces.
    is there anyway that i can keep the spaces at the end of the record.
    Please note, in the middle of the record, we can keep the spaces as there is some data after that.
    Any hint would be of great help.
    Cheers,
    SR.

    Hi Srinivas
    Just a thought, try as below:
    Declare a text variable of length 80 characters. Before transferring the record to Output file, move the work area to the text field and add a New Line character at 80th position. Now tranfer this text field to file with length specification.
    Eg:
    DATA: l_cr(1) TYPE c VALUE cl_abap_char_utilities=>cr_lf,
          l_text(80) TYPE c.
    OPEN DATASET ....
    IF sy-subrc EQ 0.
       LOOP AT <itab> INTO <wa>.
          MOVE <wa> TO l_text.
          l_text+80 = l_cr.
          TRANSFER l_text TO <dsn>.
       ENDLOOP.
    ENDIF.
    Hope that helps, also check the codepage in which you download the file from Application server before Viewing. Maybe checking the file contents via AL11.
    Hope it helps.
    Regards
    Eswar

  • When I print a Word document to a shared printer, print preview looks fine but the printed page has too much blank space at the top and doesn't print the bottom few lines.

    When I print a Word for Mac document to a shared printer (that is connected to my iMac) from my Macbook Pro, print preview looks fine but the printed page has too much blank space at the top and doesn't print the bottom few lines.  I have tried to adjust the margins and the page setup settings but to no avail.  It used to print fine until recently.  Is there a way to fix it so that the printer prints what print preview shows?

    I should add that when I e-mail this document to myself and print it directky from the iMac, it prints fine.

  • How to see available space in a blank dvd when burning in finder? It no longer display at the bottom of the finder window.

    How to see available space in a blank dvd when adding files in finder? It no longer displays at the bottom of the finder window.

    Choose Show Status Bar from the View menu.
    (113198)

  • How to prevent large blank spaces on webpage when using Slide Behaviors?

    I searched the forums for similar problems with applying the Slide Behaviour to elements through the DW CS5 interface and found a useful post titled "Problem with Applying Spry "Slide Effect" so now my slide effects works the way I want, except instead of sliding out a caption after clicking on an image, I slide out a list of text items when clicking on a section of text.  This works, but there is a large gap when the webpage first loads. How can I remove/prevent this large white space from appearing?
    <!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>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Testing Document</title>
    <!--<script type="text/javascript" src="../SpryAssets/SpryEffects.js"></script>-->
    <script src="SpryAssets/SpryEffects.js" type="text/javascript"></script>
    <script type="text/javascript">
    function MM_effectSlide(targetElement, duration, from, to, toggle)
              Spry.Effect.DoSlide(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
    </script>
    </head>
    <body>
    <p> </p>
    <p> </p>
    <style type="text/css">
    #LOdiv{ visibility: hidden;}
    #Countries{ visibility: hidden;}
    </style>
    <p> </p>
    <p> </p>
    <div id="ListOne" onclick="MM_effectSlide('LOdiv', 1000, '0%', '100%', true)">
    <p><strong>Drop Down List One            + show      </strong></p>
    </div>
        <div id="LOdiv">
        <div>
          -  Item A<br/>
          -  Item B<br />
          -  Item C<br />
          -  Item D<br />
          -  Item E<br />
          -  Item F<br />
          -  Item G<br />
          -  Item H<br />
          -  Item I</div>
    </div>
    </div>
    <div id="ListTwo" onclick="MM_effectSlide('Countries', 1000, '0%', '100%', true)">
    <p><strong >List Two            + show </strong></p>
    </div>
    <div id="Countries">
              <div>
                   -  USA<br/>
          -  Germany<br />
          -  France<br />
          -  Italy<br />
          -  Japan<br />
          -  China<br />  
      </div>
    </div>
    <span style=' width:990px; height:21px'><img width=990 height=21
    src="image386.gif">
    </span>
    </body>
    </html>

    The link to the html code can be found at:
    https://docs.google.com/leaf?id=0B_S-KEeOr-KhNzQwYzQ5MWQtNTVhYy00OTg1LWJjYTQtODIzOWUwM2ExM 2Yx&hl=en_US
    but it needs to access the link SpryAssets/SpryEffects.js   (from DW)
    When you open it in a browser you will see a large gap between the two lines:
    "Drop Down List One  +show"  and
    "Drop Down List Two + show"
    clicking the mouse on "Drop Down List One  +show" causes a hidden element to drop down. re-clicking causes it to shrink, and thus removing the large blank space between. I  don't know how to initially present the two lines without the large initial blank gap between them.
    I tried previewing in  Chrome, Firefox, and IE - all look the same.
    Thanks.

  • I'm now using iPhoto '11 (9.3.2), and none of the photos in my library will enlarge.  I can view them all as thumbprints, but when I click to enlarge just a black, blank space shows up.  Occasionally, one will enlarge for a second, then disappear.  Help!

    I'm now using iPhoto '11 (9.3.2), and none of the photos in my library will enlarge.  I can view them all as thumbprints, but when I click to enlarge just a black, blank space shows up.  Occasionally, one will enlarge for a second, then disappear.  Help!

    Just to clarify, I am not getting an "!" mark in a triangle, as I read others have experienced.  The screen is just blank except the grey flag in lefthand corner to flag the photo.

  • Silent Installation Failed in Weblogic 702 for windows when there are blank space in Path

    Hi ,
    I meet a problem when doing silent installation on windows using weblogic 702.
    The problem is that the path_to_silent.xml has "blank space". Anyone knows that
    there are some work around method? here is the command line :
    server702_win32.exe -mode=silent -silent_xml="c:\program files\rsa security\passage
    server\weblogic\windows\silent.xml". Actually, We need embed the weblogic installation
    in our product, so we need above command line work normally.
    Any information is appreciated!!!!
    Alice Wang
    2003.06.26

    Hi,
    I got the solution. :) . spent me a whole day......
    here is the command line :
    server702_win32.exe -mode=silent "\"-silent_xml=c:\program files\rsa security\passage
    server\weblogic\windows\silent.xml\""
    Hope it's helpful to others.!
    "alice wang" <[email protected]> wrote:
    >
    Hi ,
    I meet a problem when doing silent installation on windows using weblogic
    702.
    The problem is that the path_to_silent.xml has "blank space". Anyone
    knows that
    there are some work around method? here is the command line :
    server702_win32.exe -mode=silent -silent_xml="c:\program files\rsa
    security\passage
    server\weblogic\windows\silent.xml". Actually, We need embed the weblogic
    installation
    in our product, so we need above command line work normally.
    Any information is appreciated!!!!
    Alice Wang
    2003.06.26

  • Firefox latest update will not print youtube videos on my websites - just has a blank space in place of video when I print web page?

    WinXP - When I preview a web page before printing it - it is blank where my Youtube video should appear - and when I print the web page, Firefox prints a blank space where the video should appear?
    How can I fix this?

    Can't be done due to the aforementioned Bug that was reported on the Gecko Core back in 2002. Never worked in Firefox which was just beginning initial development under the Phoenix moniker, when that Bug was filed.
    '''Content of plugins (flash, java applets) doesn't get rendered for printing or print preview'''
    Have you tried "printing" to PDF??

  • How can I change a string to a numeric when the numbers are separated by blank spaces?

    I would like to change a list of numbers in string to a list of number in numeric like in the attached vi. Unfortunately, the numbers are not separated by commas but by blank spaces. Which character can I use for the blank space?
    Ninskaya
    Attachments:
    readcommdelim.vi ‏19 KB

    Why don't you just use the Spreadsheet String to Array function instead. You can specify any delimiter you want. See the attached picture.
    Attachments:
    string_to_array.jpg ‏6 KB

  • How to use blank space replace NULL on discoverer viewer

    Hi,
    There is a report that has a varchar field should show text values, and if NULL, I need it show blank space, and does in disco desktop, but on viewer, the same worksheet shows NULL.
    Even I changed in the Tools - Options - Format menu(desktop), it still show NULL on viewer.
    why?
    please help! thanks!
    sammy

    Hi Sammy,
    Unfortunately ‘some’ of the settings set in Desktop do not carry over to Viewer. These options need to be defined for Viewer itself.
    A temporary way to set the Viewer settings is to click on ‘Options’ when logged in Viewer itself. You’ll have to open a responsibility or report before this option becomes available to select. Within here you’ll be able to change the way NULL values are seen. However this method only makes the change for the User you logged in with.
    To make the change for all users, it’s best to edit the PREF.TXT file on the Discoverer Server. Please view the documentation below for more information on how to configure Viewer. For windows platform click here : http://download-uk.oracle.com/docs/html/A90287_01/toc.htm,
    For Unix platform click here : http://download-uk.oracle.com/docs/html/A90288_01/toc.htm. Once you’ve run the applypreference script, these settings will be forced down to all users of Discoverer.
    Hopefully this will help ;-)
    Lance

  • I recently deleted a partition on my mac that was intended to install windows. Now it is just blank space. I attempt to resize my Macintosh HD partition to cover entire hard drive space and hit apply but nothing happens (disk utility). Any ideas?

    I have a few problems...
    I wanted to make a partition to install windows, I tried to use bootcamp 5 where it wanted to partition and install windows at the same time. I do not have a cd of windows but instead had it on a flash drive. Bootcamp couldn't find it. Instead I was reading forums and found that there was another way to install windows by partioning your harddrive using the disk utility, downloading the bootcamp drivers, and installing rEFIt (an app that when starting the compouter a menu would come up to boot windows from the flashdrive). I try that and the windows install screen gets me to the point where I pick a partition. I attempt to pick the partitioned drive but a message comes up telling me that "this is of the GPT partition style" and windows cannot be installed on the drive.
    So now I went back to disk utility and deleted the partition but there is still blank space. I wanted to retry and install windows through bootcamp (somehow) but a message comes up that there cannot be any partitions or that a partition must be created using bootcamp. SO i keep trying to drag the partition over the blank space and hit apply but nothing happens.
    By the way I was trying to install windows 8 pro, some forums would say that you cant install win8 however I found others that said you could. How do I fix my partition and how do I use bootcamp to install windows (preferrably 8)?

    Csound1 What Ive been trying to explain is that I have been running bootcamp, I open the app where the first screen is the introduction, i hit continue, the first time I select "download the latest windows support software fromm Apple" then I return and instead select "Install Windows 7." Then hit continue. The third screen is where I "Create a Partition for Windows" I set Windows to 80 gigs then hit INSTALL. As stated before Bootcamp cannot find the install drivers saying "The installer disc could not be found." My windows software is on a USB drive not a disc, I tried using a virtual disc reader to make it appear that the windows software was running on a disc, still no luck. What I would like to know is how to install windows on bootcamp.

Maybe you are looking for

  • Error in load master data from flat file to infocube "No SID found for val"

    Hi gurus while i m loding data from ffile to infocube. getting error message "No SID found for value 'HOT ' of characteristic 0UNIT" for material name field . in flat file one fileld having lower carrecter so i have defined formula for upper case in

  • Help with website in Hindi

    I am creting a (DW CS5) website in the hindi language. Copy was provided as translated Word docs (in Mangal font) from customer which I have been copying/pasting into my DW pages. I have the encoding set to UTF-8, and the page previews fine/as it sho

  • List of standard HR workflows in ECC 6.0

    Hello All,   Does any body have the list of standard workflows in HR in ECC 6.0 ?? Thanks in advance Uday

  • Report for PR's with attachments

    Hi, we currently run ME57/ME5A to show the list of PR's waiting for conversion to a PO. We have started adding attachments to the PR's as a test. Is there a standard report which shows which PR's have attachments? If not which table could I run to sh

  • Interactive Rating Stars for XSLTListView Blog Home Page

    Hi All, using the OOTB blog site template, I'd like to modify the OOTB List View Web Part (using SharePoint Designer) on the home page of the blog site to also include interactive rating stars next to each entry's title. So far I've been able to get