Parse errors on 'white space' when migrating procs/triggers from Sybase

getting:
Error occurred on line nn:
oracle.mtg.sybase12.parser.ParseException:
Parse error at line nn, column 1.
Encountered:
looks like this happens for every proc/trigger that has a blank line at the end of its text.
anyone know of any fix/workaround for this?
thx

Hi Collierville,
The 'Repository' term referes to the Oracle schema/user where you told the OMWB to create its repository. You reference this schema when you log into the OMWB.
The OMWB created lots of tables to hold the captured and converted details of your database. Its this Oracle schema that you should run the script on using SQL Developer or SQL*Plus.
I tried your testcase with 10.1.0.4 and still cant produce an issue. I put a few new empty lines at the bottom as well. So something fishy is happening.
Due to not having information about your SWINT datatype the following is generated for me.
CREATE OR REPLACE FUNCTION swsp_greateq_zero(
fieldValue      IN SWINT DEFAULT NULL)
RETURN INTEGER
AS
BEGIN
     IF fieldValue < 0 THEN
     BEGIN
          RETURN 1;
     END;
     ELSE
     BEGIN
          RETURN 0;
     END;
     END IF;
END swsp_greateq_zero;
Just to note, We are releasing a Sybase 12 and Sybase 15 plugin for the new SQL Developer Migration Workbench in the next release, which will hopefully be early next year.
Regards,
Dermot

Similar Messages

  • How do I remove the white space when importing a site from Flash?

    Okay, so I've dragged and dropped my created Flash site into Dreamweaver. One problem though, when I view it in a web browser (any web browser), it displays the site fine, however with a huge white space to the side of it. You'll see what I mean in this screenshot:
    What can I do then to remove that white space and make the site fill up the whole web browser? I've tried resizing it using a number of ways, but cannot seem to get it right.
    Thanks.

    function(){return A.apply(null,[this].concat($A(arguments)))}
    What can I do then to remove that white space and make the site fill up the whole web browser? I've tried resizing it using a number of ways, but cannot seem to get it right.
    You can do two things:
    1) Change the width of the container to 100%;  OR
    2) Post a link to your test page here (not the code nor picture) so that we can see ourselves what your code looks like.
    hth

  • How do you get rid of white space when you are printing multiple pages to one sheet of paper?

    How do you get rid of extra white space when you are printing multiple pages to one sheet of paper?  When printing multiple pages to one sheet of paper Acrobat won't let you select the "zoom" for printing.
    Thanks

    Take a look at Quite Imposing.

  • How can I maintain multiple white spaces in a PDF written from InDesign?

    I need to have 2 white spaces maintained (within a part #) in the PDF I write, but when I open in Acrobat it converts it to one space.
    I've tried word spaces, set spaces and applying "no color" to a placeholder character and nothing is working!
    Any ideas or suggestions?

    I am talking about normal white space. Multiple fixed widt spaces are not a problem. How the space is handled in a PDF depends on how it is created.
    Viele Grüße
    Wilhelm Georg Adelberger
    Von meinem iPhone gesendet
    Am 21.08.2014 um 12:01 schrieb Peter Spier <[email protected]>:
    How can I maintain multiple white spaces in a PDF written from InDesign?
    created by Peter Spier in InDesign - View the full discussion
    It may not be a great idea to use multiple spaces, but it certainly is not prohibited and sometimes is necessary -- you might want a 2em space, or a thin space before and after a tab you underline in a form.
    I'm able to select the multiple spaces just fine in Acrobat 9 using the text touch-up tool.
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6661037#6661037
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in InDesign by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • I have MBP 13 late 2011:Will it be able to support a 3tb hardisk?Secondly, if i delete a song from itunes,is that song removed from the mac and is the space freed up?If not then what should I do to free up space when i delete songs from itunes?

    I have MBP 13 late 2011:
    Will it be able to support a 3tb hardisk?
    Secondly, if i delete a song from itunes,is that song removed from the mac and is the space freed up?If not then what should I do to free up space when i delete songs from itunes?

    Your MBP will support a 3T HDD provided it is formatted correctly and has sufficient power.  Most large HDDs require an outboard power source.
    When you delete songs from iTunes you will get a message if you want to send it to trash.  If you send it to trash, space will be freed up only when you empty trash.  An individual song does not consume much space so if your HDD is becoming full, more drastic action s should be considered, such as moving an entire file to an external HDD.
    Ciao.

  • Lost all photos on my iPhoto and get the ERROR WRITING TO DISK when trying to reload from Time Machine. iPhoto cannot import your photos because there was a problem writing to the volume containing your iPHOTO LIBRARY  . Looking for solution.

    Lost all photos on my iPhoto and get the ERROR WRITING TO DISK when trying to reload from Time Machine. iPhoto cannot import your photos because there was a problem writing to the volume containing your iPHOTO LIBRARY  . Looking for solution.

    Problems such as yours are sometimes caused by files that should belong to you but are locked or have wrong permissions. This procedure will check for such files. It makes no changes and therefore will not, in itself, solve your problem.
    First, empty the Trash, if possible.
    Triple-click anywhere in the line below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) 2>&- | wc -l | pbcopy
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign ($) to appear.
    The output of the command will be a number. It's automatically copied to the Clipboard. Please paste it into a reply.
    The Terminal window doesn't show the output. Please don't copy anything from there.

  • How to ignore white space when parse xml document using xerces 2.4.0

    When I run the program with the xml given below the following error comes.
    Problem parsing the file.java.lang.NullPointerExceptionjava.lang.NullPointerExce
    ption
    at SchemaTest.main(SchemaTest.java:25)
    ============================================================
    My expectation is "RECEIPT". Pls send me the solution.
    import org.apache.xerces.parsers.DOMParser;
    import org.xml.sax.InputSource;
    import java.io.*;
    import org.xml.sax.ErrorHandler;
    import org.w3c.dom.*;
    public class SchemaTest {
    public static void main (String args[])
    try
    FileInputStream is = new FileInputStream(new File("C:\\ADL\\imsmanifest.xml"));
    InputSource in = new InputSource(is);
    DOMParser parser = new DOMParser();
    //parser.setFeature("http://xml.org/sax/features/validation", false);
    //parser.setProperty("http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation", "memory.xsd");
    //ErrorHandler errors = new ErrorHandler();
    //parser.setErrorHandler(errors);
    parser.parse(in);
    Document manifest = parser.getDocument();
    manifest.normalize();
    NodeList nl = manifest.getElementsByTagName("organization");
    System.out.println((((nl.item(0)).getChildNodes()).item(0)).getFirstChild().getNodeValue());
    catch (Exception e)
    System.out.print("Problem parsing the file."+e.toString());
    e.printStackTrace();
    <?xml version = '1.0'?>
    <organizations default="detail">
    <organization identifier="detail" isvisible="true">
    <title>RECEIPT</title>
    <item identifier="S100000" identifierref="R100000" isvisible="true">
    <title>Basic Module</title>
    <item identifier="S100001" identifierref="R100001" isvisible="true">
    <title>Objectives</title>
    <metadata/>
    </item>
    </item>
    <metadata/>
    </organization>
    </organizations>
    Is there a white space problem? How do I get rid from this problem.

    ok now i really wrote the whole code, a bit scrolling in the API is to hard?
                DocumentBuilderFactory dbf = new DocumentBuilderFactory();
                DocumentBuilder db = dbf.newDocumentBuilder();
                dbf.setNamespaceAware(true); //or set false
                Document d = db.parse(inputstream);

  • Preserve White Space when Formmating

    Hi folks,
    1st post here so forgive me if I have broken some posting rules, I have searched the forum for an answer to my issue, however did not come up with anything,
    my issue is that when you format an editor window with ctrl-F7 SQL Developer removes all white space (empty lines), I find this can make code more difficult to read. Is there an option to stop this? I have tried everywhere in the app I can think of but to no avail.
    Any help much appreciated
    Jim

    I use "empty" inline comments to keep line breaks where I want them. Even works on function/procedure calls with a long argument lists.
    for x in 1..2
    loop
      proca(                 --
        arg1 => 'something', --
        arg2 => 42);
    end loop;...the formatter will leave it alone.
    Be careful with using q' to delimit strings. Those have the opposite problem, where newlines are inserted by the formatter.

  • How to get rid of white space when creating a PDF file in dynamics ax 2012

    Hello,
    In Dynamcis AX 2012 we are creating an invoice that is first printed to the screen, but when we convert the invoice to a PDF, white space occurs that our customer cannot have.
    We opened a ticket with Microsoft with the following scope layout:
    As discussed, I am providing you a copy of our scope agreement for your issue.
    Issue Definition: When rendering an SSRS report to screen, report displays as expected. However, when the same report is sent to PDF or printer output, a large white space appears between the header and body of the report.
    We've examined every possible setting in the report design properties using Visual Studio, and nothing has been successful in correcting this behavior. Our client has indicated the proper rendering of certain reports is extremely critical to their business relationships with their clients. They've told us that this problem must be fixed or they cannot go live.
    Scope Agreement: Provide information on the issue of white space showing between the header and body of the report. May have to rescope issue depending on investigation.
    We will now begin working together to resolve your issue. If you do not agree with the scope defined above, or would like to amend it, please let me know as soon as possible. If you have any questions or concerns, please don't hesitate to contact me.
    So after we worked with MS for a bit and gave them more information, the final conclusion came back from them as follows:
    Message: Hello,
    When you examine the report, is the report hiding sections during the print out based on some data condition? IF so, this is going to be returned as By Design. Our current reporting framework will reserve space for the controls even if they are not visible when the report is printed to file (xps, pdf, may even do it if exported to Excel). If this is the case, we don't have anything we can do about it. Development is aware of this issue/limitation, but at this point, we have no workaround for it.
    So the question is:  Have you ever ran across this issue and does Adobe have a potential solution as Micrsoft does not.  Or do you have a potential work around.
    Thanks!
    Allen Shannon

    If you want this to bleed, then you will have to print on oversize paper and trim or find a printer that will print borderless.

  • Usemap error - extra white space after image -solved: area shape must be inline

    When using image hotspots, if the &lt;area shape= "rect" is not IMMEDIATELY after the &lt;map name="Map"&gt;, then FF adds a white space (white horizontal line) after the image.
    White space shows between shop_top.jpg and shop_mid.jpg:
    <pre><nowiki><img src="images/shop_top.jpg" width="1022" height="259" border="0" usemap="#Map">
    <map name="Map"><area shape="rect" coords="251,147,435,252" href="http://www.example.html">
    <img src="images/shop_mid.jpg" width="1022" height="3250"></nowiki></pre>
    Images are touching vertically (no space in between):
    <pre><nowiki><img src="images/shop_top.jpg" width="1022" height="259" border="0" usemap="#Map"><map name="Map"><area shape="rect" coords="251,147,435,252" href="http://www.example.html">
    <img src="images/shop_mid.jpg" width="1022" height="3250"></nowiki></pre>

    Maybe Mozillazine's Web Devel / Standards Evangelism forums may help better.
    * http://forums.mozillazine.org/viewforum.php?f=25

  • -error in XML document- when migrating from BPEL 10.1.3.3 to 10.1.3.4

    Hi,
    I've just been handed as set of BPEL processes which were developed in 10.1.3.3 and I'm working on migrating them to 10.1.3.4.
    Migration of most processes was straight forward, however, there is one process (SendMessage) that accepts an XML document as its input. The message payload is successfully sent in the older version, however, in version 10.1.3.4, I keep on getting the following error.
    Server was unable to read request. ---> There is an error in XML document (195, 99). ---> Input string was not in a correct format.
    The line number is the end line number of the xml document message.
    I've checked both versions and in 10.1.3.3 the ValidateXML option is set to false, whereas in 10.1.3.4 its 'none', which is equivalent to false.
    Are there any other settings in 10.1.3.4 that could be causing this error? Has anyone else come across this issue when migrating upgwards from 10.1.3.3?
    I would greatly appreciate any suggestions.
    Kind regards,
    Shiraz

    I had recently done the same migration. One of the issues I had faced was while specifying the nillable elements I used to get an error if the namespace definition was in the header. The error was occuring while sending the message to AQ.
    I do not know if this will help. Also it would be useful if you could provide details of where the process is failing is it failing at the receive activty or later. What does the process do....
    Best of luck with the problem.

  • Parse errors in ib_linux.h when I try to compile C code for GPIB in Linux.

    Keep getting parse errors starting at line 63 of ib_linux.h when I try to compile C code linked
    to the drivers. Using ver 0.6 driver, compiling using gcc name.c cib.o -o name, and I have
    ugpib.h as an include in the c code. The Linux box currently has the 2.2 kernel running.
    Any ideas?

    Hello-
    It shouldn't be necessary to compile by hand. After the 0.6 driver is untarred, there should be an INSTALL script to run. Be sure to "su" to have root permissions before running this script. It may also be necessary to "chmod" the INSTALL file before doing a "./INSTALL"
    Randy Solomonson
    Applications Engineer
    National Instruments

  • Getting rid of white space when importing Flash

    When I import a Flash file onto Dreamweaver, I am getting the
    white space (canvas) that I don't want. I previously used Flash and
    Dreamweaver 8, and I added this to the html to get round it
    (highlighted by *'s):
    <div id="quick"> <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
    width="350" height="160" title="quickbox">
    <param name="movie" value="EXP NEW QUICKBOX.swf" />
    <param name="wmode" value="transparent" /> **********
    <param name="quality" value="high" />
    <embed src="EXP NEW QUICKBOX.swf" quality="high"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash" width="350" height="160"
    wmode="transparent" *******></embed>
    </object></div>
    However, I am now using CS3 versions of Flash and
    Dreamweaver, and this no longer works as I am still getting white
    space.
    Anyone know why?

    Sorry, posted in the wrong section.

  • White space when running forms in web browser

    Hi I am running a simple master - detail form in web browser on my machine . The form is coming fine but a lot of white space of present on the right hand side of the form how can i eliminate that?I have checked my html file and HSPACE="0" and VSPACE="0". what else can be the reason?

    are you running in seperateframe=true?
    if not you could check your width and height properties of your formsweb.cfg config section
    regards

  • "Unable to read file" error in Excel 2010 when downloading .xls file from IE11

    We have lots of reports that have links for our users to be able to download report results in Excel format. We accomplish this by using the Excel mime type in our .asp pages. Sporadically, we are seeing "Unable to read file" errors in Excel 2010
    after choosing Open from the IE11 save dialog. Choosing Save/Save As and the file will open just fine.
    Also, we can sometimes cause the error to occur more frequently by switching windows during the time when the file is downloading.
    If the file is opened directly from /Temporary Internet Files then it opens just fine.
    Window 7 64-bit
    Thanks in advance!

    Hi,
    I found you replied in a similar thread, did you try the workaround (Reset the IE) that provided there? Did you change a browser to test?
    Then, I suggest we use Process Monitor to do further troubleshooting. Please collect all the actions of IE.exe and Excel.exe, and check the if there are some
    error message/code during you open XLS file from IE 11.
    Hope it's helpful.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for