FCC in receiver channel - get rid of last line feed?

Dear experts,
I have the following XML structure
<DT_SALES_REPORT_JDE_CA>
    <list>
        <RecordsetA>
         <a>
         <b>
     </RecordsetA>
     <RecordsetB>
         <a>
         <b>
         <c>
     </RecordsetB>
         <a>
         <b>
         <c>
     <RecordsetB>
     </RecordsetB>
    </list>
</DT_SALES_REPORT_JDE_CA>
and I am using CC in the receiver file adapter:
RecordsetA.fieldSeparator     ","
RecordsetB.fieldSeparator     ","
RecordsetA.endSeparator          "\n
RecordsetB.endSeparator          "\n
RecordsetA.beginSeparator     "
RecordsetB.beginSeparator     "
which gives me this structure:
"a","b"
"a","b","c"
"a","b","c"
This is fine the only issue I have is that at the very end it also gives me a line feed of course.
But I have to get rid of that last line feed!
But how can I achieve that? Is that possible at all?
I cannot use ".fixedLength" because the fields have variable lenghts.
Thank you for any ideas and best regards,
Peter

Hello Zameer Hamza,
You are right. I removed the .endSeperator and line feeds are entered automatically. But now I still have one line feed at the very end which I do not need.
Would you have any other ideas how to resolve this?
thank you again,
Peter

Similar Messages

  • Getting rid of a line

    I'm using one of the provided templates for my blog. It is the Gazette Template and I wanted to take out all of the items, or whatever you call them, from the right side. That was no problem but then there is a line left, that I suppose helps keep the items straight. However, what I wanted to do was to expand the blog space into that area, but when I do that I'm left with a line down the middle of my blog.
    Is there anyway I can get rid of the line.

    LOL! check out this thread:
    http://discussions.apple.com/message.jspa?messageID=2352275#2352275

  • Getting rid of "moving" lines

    I encircle subject in moving lines, Like flowers in black in white layer then brush to see color, then option delete for color,now how do I get rid of moving lines
    Help please Michael

    Use Ctrl D or Comman D like ranielse says.
    or if you have the marquee tool or lasso tool selected, just click inside the running ants (moving lines) and it will disappear.
    Beekeeper,
    http://www.beekeepersblog.com

  • How do I get rid of on-line advertising on the right side of my in box?

    I want to get rid of on-line advertising that shows up on the right side of my in-box in hotmail, how do I do this?

    You can block ads by using the Adblock Plus add-on - https://addons.mozilla.org/firefox/addon/adblock-plus/

  • How do you get rid of scan lines found on the iphone screen?

    I have a black iphone 4s.  It was working perfectly fine until a week ago where i noticed small "scan lines" towards the middle and bottom of the screen.  I am also seeing small red specks in pictures.  Is there any way to get rid of these lines and specks?  I am on IOS 6.1.3 (not sure if that has anything to do with it lol).

    Sounds like your display is dying.  Bring your phone to Apple for evaluation and possible replacement.

  • Best way to remove last line-feed in text file

    What is the best way to remove last line-feed in text file? (so that the last line of text is the last line, not a line-feed). The best I can come up with is: echo -n "$(cat file.txt)" > newfile.txt
    (as echo -n will remove all trailing newline characters)

    What is the best way to remove last line-feed in text file? (so that the last line of text is the last line, not a line-feed). The best I can come up with is: echo -n "$(cat file.txt)" > newfile.txt
    (as echo -n will remove all trailing newline characters)
    According to my experiments, you have removed all line terminators from the file, and replaced those between lines with a space.
    That is to say, you have turned a multi-line file into one long line with no line terminator.
    If that is what you want, and your files are not very big, then your echo statement might be all you need.
    If you need to deal with larger files, you could try using the 'tr' command, and something like
    tr '
    ' ' ' <file.txt >newfile.txt
    The only problem with this is, it will most likely give you a trailing space, as the last newline is going to be converted to a space. If that is not acceptable, then something else will have to be arranged.
    However, if you really want to maintain a multi-line file, but remove just the very last line terminator, that gets a bit more complicated. This might work for you:
    perl -ne '
    chomp;
    print "
    " if $n++ != 0;
    print;
    ' file.txt >newfile.txt
    You can use cat -e to see which lines have newlines, and you should see that the last line does not have a newline, but all the others still do.
    I guess if you really did mean to remove all newline characters and replace them with a space, except for the last line, then a modification of the above perl script would do that:
    perl -ne '
    chomp;
    print " " if $n++ != 0;
    print;
    ' file.txt >newfile.txt
    Am I even close to understanding what you are asking for?

  • N5K how to get rid of "last message repeated x times"

    Hello
    is there a way to get rid of Log messages "last message repeated x times" in order to get the real message, itself ?
    I can understand theses messages are useful in case of real Log flood, but not otherwise 
    NX-0S 7.0.5
    thanks in advance

    this means material is blocked for procurment
    three kinds of block can be there
    01 Blocked for procment/whse
    02 Blocked for task list/BOM
    03 Blocked for Purchasing
    GOTO MM42 give material n plant data
    Select BESIC VIEW
    there is a field called as material block remove the blocking reason
    Hope this will help
    Edited by: WISH on Mar 24, 2008 6:33 AM

  • Need to get rid of blue line under image

    Hi,
    I've created a table with a row and three columns also I've placed splitted a button into three pieces and placed left portion in 1st column and right portion in last column and I've placed a piece of background image with repeat-x in middle column. I need to link the button used javascript to rollover the button with another three piece of buttons, so I've linked the whole with <a> tag and given "border=0" for <img> tag, now I get a blue bar (seems linked) under the background images that I've used in the middle column, could you please help me to get rid of the blue line.
    Thanks in advance

    Hi Nancy,
    Thanks for the response. Below is my code. What I exactly need is to link the whlole button instead of only the text "Buy Now". The mean time I dont want to use <img src="" border=0"> for the middle column since the text "Buy Now" should be dynamic and can be changed, so that I've used a background image instead of a <img> tag.
    <div id="subdiv6">
                        <!-- Start of Div6 -->
                            <a href="javascript:void(0)" onmouseover="ShiftTo('subdiv7')">
                                <table width="100" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td align="left" valign="top"><img src="images/butoverl.png" border="0" width="16" height="45" /></td>
                        <td align="center" valign="middle" background="images/butovermid.png" class="proddemo">BUY NOW</td>
                        <td align="left" valign="top"><img src="images/butoverr.png" border="0" width="16" height="45" /></td>
                      </tr>
                    </table>
                            </a>
                        <!-- End of Div6 -->
                    </div>
                    <div id="subdiv7">
                        <!-- Start of Div7 -->
                            <a href="javascript:void(0)" onmouseout="ShiftTo('subdiv6')">
                                <table width="100" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td align="left" valign="top"><img src="images/butl.png" border="0" width="16" height="45" /></td>
                        <td align="center" valign="middle" background="images/butmid.png" class="proddemo">BUY NOW</td>
                        <td align="left" valign="top"><img src="images/butr.png" border="0" width="16" height="45" /></td>
                      </tr>
                    </table>
                            </a>
                        <!-- End of Div7 -->
                    </div> 

  • Can't get rid of extra line in div

    can someone check my code on my site www.coloredfortunecookies.com. towards the bottom of the quick order guide there is an extra space in between my pics and the header 2 text in both the jumbo and giant cookie div's.  i can't figure out how to get rid of it, help!
    you can view my site at www.coloredfortunecookies.com
    thx.

    Blank tags here:
    Line 121:
    <h5> </h5>
    Line 150:
    <h4> </h4>
    Remove these.

  • How to get rid of the line encasing the left hand side of a vertical spry menu?

    Hi,
    I have created a vertical spry menu bar. It all works but there is a line like this [  encasing the left hand side of the menu. Does anyone know how to get rid of this?
    Thanks!

    Line 73 in your Spry css calls for a border
    ul.MenuBarVertical{
        border: 1px solid #ccc;
    Either remove the rule or change the #ccc to #fff

  • Can't get rid of Thin line at bottom of images

      <a href="about.html"><img src="images/HOMEPAGE/homepage_title.png" alt="Get Started" class="columns" title="Get Started"/></a><br>
      <br>
    Hi, I can't figure out why my homepage images have a thin line at the bottom of the image. The image itself is not causing this but it must have something to do with the image tag or the CSS but I can't seem to get rid of it and it's driving me crazy. If anyone knows what may be causing this I would really appreciate it. Thanks.

    adninjastrator wrote:
    Looks like ALL your links, including images, have the text-decoration underline and since 3 or the 4 images are links, they are also underlined. Add
    text-decoration: none;
    to all your achors (a.):
    http://www.quackit.com/css/css_hyperlinks.cfm
    Best wishes,
    Adninjastrator
    Adninjastrator, thanks for the link. I looked it over and if I have an image as a link, I don't want there to be a visible link so according to the link here. http://www.quackit.com/css/css_hyperlinks.cfm
    I should need to add this code if I don't want a visible link.
    a:link { text-decoration: none }
    Can you please tell me "where" I would add the above code. The site has 11 styles. What I 've been doing is selecting the image and then looking at the style associated with it and the image seems too use the "clearfix.css" style.. Can you lease tell me if this is correct and where I would add the code to the clearfix style? Thanks.
    Here is the code for the "Clearfix" style.
    .clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
    html[xmlns] .clearfix {
    display: block;
    * html .clearfix {
    height: 1%;
    Put this code at the end of your styles (remove the previous one so that it does not interfere with this one) and then post back.
    Good luck.
    img {
        display: block;
    Jtanna and Murray, thanks for the reply.
    Would I still need that code or would it be better to edit the current code than to just keep adding code? Just curious. Can I not edit the code's text decoration to fix or is your solution better. If you solution is better then would I just add your code to the bottom of the CSS style above? Thanks. 

  • Can't get rid of horizontal lines bordering quicktime

    I am putting a movie slideshow over a white background and the las clip is white to give it a "dissappearing" affect. However there are horizontal black lines bordering the player. How do I get rid of? -paul

    No, I'm just plugging a HDMI cable into my macbook to see how it looks on a tv screen. I want to put it on youtube and show it at some places later on, if the lines dissappear.
    Here are 2 screenshots, where the first one is without 'show both fields' and the second one with 'show both fields'.
    You see the blurriness especially on the persons on the right.

  • How do I get rid of "shadow lines" in Firefox, (but not Safari)

    I'm designing a website in iWeb for the first time and am having a slight problem.
    I design a page in the iWeb app, but then when I publish it and view it in a browser, I see faint gray lines - like bounding boxes - surrounding some of the objects.  This is only happening in Firefox; in Safari I don't see them.  I'm not sure what is happening in IE.
    How do I get rid of these? Is there a way to make sure the page looks the same in the most-used browsers?

    I'm using the "Freestyle" template. 
    This is what it looks like in iWeb:
    And this is what it looks like in Firefox:
    Thanks!

  • How do I get rid of various lines around text boxes when using navigation panes

    How can I get rid of these various lines that are displaying sporatically around different text boxes . . . but only when the navigation panel is displaying?  I previously had the issue and changed the text box properties to no fill.  It fixed the problem in the document with no navigation panel, but once the navigation panel is displayed the lines appear.  And yes, I fixed the text box properties before creating the bookmarks for the navigation panel.

    Every device, browser and browser version has its idiosyncrasies.
    Just using a stroke and a drop shadow should not have been enough to require Muse to convert the page fill to an image. Were/are there also other effects on the page? Are the page corners slightly rounded?
    Bevel and Inner Glow definitely require an image to be created. Most other effects/properties do not.

  • Can't get rid of vertical line in Pages '08

    I add a text box to a blank page and paste in or type in some text.
    There's a verticle line running the height of the paragraph (or single line) that I can't get rid of.
    Also, the text appears blue even though it's supposed to be black. When I select the text and check the color it says it's black.

    Neal Fox wrote:
    OK. Opened a new document and copies with match style. The text comes out right.
    Then I figured I could copy that and paste and match style into the original document. Nope!
    Once it's in the original it comes out blue and with the line.
    If it helps, the original is nothing but jpegs on every page. It's a child's picture book. I'm trying to put the front pages in, which are only text. I didn't copy from the internet, but typed into a text box. No pasting from another document either.
    Thanks.
    Neal,
    When you did the Copy and Paste and Match Style back into the "Original Document", that reverted the style. What you should have done when returning was a straight Paste.
    Jerry

Maybe you are looking for