Remove brackets { } in output

I'm getting   brackets { } in output  . how can remove them in output.
below is my package  
OLEDB :- query the records  in sql server
OLEDB : dump the records in sql server
 below is how the output looks.
EMPid emname
{111} aaa
{222} bbb
how to avoid  these brackets {} in output
expected output :
empid empname
111 aaa
222 bbb

thanks Olaf for the idea ..
I tried this way and it worked out
Data conversion :converted the GUID to String data type
derived Column  : Replaced the brackets (REPLACE([Column ],"{","")
the expression should be this to remove the leading and trailing braces
REPLACE(REPLACE([Column ],"{",""),"}","")
then use this new column for mapping in your destination
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Similar Messages

  • Name of the predefined style in the template removed in the output-RTF

    When using predefined named styles in an RTF-input-template, these get removed from the resulting output-document.
    * Create a BI-Publisher -project and use an rtf-file with a predefined style (you can define one on the fly by changing the default style and call it eg. "MyStyle")
    * Type in some text in the template-rtf marking it with "MyStyle"-style
    * Save your template, add a dummy dataset and then view it as rtf-output
    * The Name of the predefined style is not in the style-list of the output-rtf anymore.
    Basically, BI-Publisher seems to remove the names of the styles in the list of the rtf and thus making it impossible to work consistently with styles afterwards for people wanting to modify the resulting rtf using a in-house-style .
    Does anyone know a workaround for this ?
    Thanks,
    Peter

    Hi,
    According to your requirement there is no such standard SAP report.
    Develop a custom Z-report using LDB PNP in Tcode SE38.
    Hope this helps.
    Thanks,
    Sarika.

  • How to remove xmls from output?

    Hello All,
    I have created a BPEL process that takes a flat file and converts to an XML file. I get an output of the following (see below). Is there a way that I can remove xmlns="" from the output?
    Incorrect Output
    <?xml version="1.0" encoding="UTF-8" ?>
    <WhseShipNotice xmlns="">
    Correct Output
    <?xml version="1.0" encoding="UTF-8" ?>
    <WhseShipNotice>
    Any suggestions?
    Regards,
    Kathy

    I can remember if this xsd removes namespaces correctly, I think it may still have the initial xmlns at the top but give it a try. Typically what needs to be done is some embedded java to do this.
    <schema targetNamespace="http://www.oracle.com/Gateway"
            xmlns="http://www.w3.org/2001/XMLSchema">
      <element name="Message">
      <complexType>
        <sequence>     
          <element name="Header">
            <complexType>
            <sequence>
               <element name="UniqueID"             type="string"/>
               <element name="RoutingRule"          type="string"/>
               <element name="FileName"             type="string"/>
               <element name="Destination"          type="string"/>
               <element name="TransportType"        type="string"/>
               <element name="Attachment"           type="string"/>
               <element name="MQMessageID"          type="string"/>
               <element name="MQCorrelationID"      type="string"/>
            </sequence>
            </complexType>
            </element>
          <element name="Payload"            type="base64Binary"/>
        </sequence>
      </complexType>
      </element>
    </schema>cheers
    James

  • Problem Removing Files: Input/Output Error

    I recently posted this article
    http://discussions.apple.com/thread.jspa?messageID=4596969#4596969
    about my struggles to repair my hard drive. I'm currently in Single-User Mode, in the process of manually removing files that returned the error "Overlapped Extent Allocation" during fsck. Everything's going well for the most part, but a few of the files I'm finding can't be removed. When I try, I receive this message:
    hfs: WARNING - blocks on volume Garfunkel not allocated!
    rm: [path name]: Input/output error
    It all sounds very dire and life-threatening, but I have no idea what this means. I can only assume it means there is a permissions issue. Am I close? Is there a way I can remove these files? So far all of the files have been iCalendar files or iApps preference files. If it's important, I can list the exact files. I hope someone can help me, because I know very little about Unix.
    Thanks to everyone who makes an attempt at rescuing me!

    Thanks. I did that, as per the Apple Support article instructions, but apparently I have to do it before every remove command. And sometimes, I have to input the command twice for it to work. Thanks for the tip.

  • [SOLVED] Removing brackets from file - python/sed

    I wrote a small python-script in order to do some manipulation of columns. I'm quite unexperienced, and i stumbled upon a problem i didn't manage to solve:
    When the script is finished with the data manipulation, everything is stored as data type "list", which implies the following form when i output the data with print: ['2321321', '321321321', '55555']. I don't want the brackets and ' (since i want to import the data into a spreadsheet). I've tried to make a loop to print out list content, but then i get everything in one column, which i don't want. (Something like: for l in line: print l )
    Is there a way to print lists without the brackets and '? I tried to solve it with sed, but my knowledge of that program is zero, and no success. My solution was to open the output in a text editor and use search and replace, which is very tedious work for 50 files.

    I think the quicker way is using the join() method:
    [andyr@roo ~]$ python
    Python 2.4.1 (#1, Apr 5 2005, 11:00:51)
    [GCC 3.4.3] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> items = ["one", "two", "three"]
    >>> allitems = " ".join(items)
    >>> print allitems
    one two three
    Of course, you could have "," or "t" (tabs), etc to delimit the columns rather than the space in the above example.

  • Sql to remove brackets non ascii charaters

    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    Hi there,
    I have a requirement to remove the any non alphabets like brackets, , quotes and non ascii, languages other than english and everything in lower case. The select is simple
    select
    lower(customer_name)
    from
      customer_data
    where  CONVERT ( customer_name, 'US7ASCII')     = customer_nameHowever, I also want to add maybe the replace function on the customer name, such that the brackets, ", ', / - or any other such character can be removed. I tried unsuccessfully something like
    {code}
    select replace('cvp, llc','''-/,,".') from dual
    I wanted to do something on those lines on my first query so that I only get english alphabets customer names, stripping off all the non english charaters and any non-english characters.
    Could you please advise?
    Thanks,
    Ryan
    Edited by: ryansun on Nov 15, 2012 6:09 AM
    Edited by: ryansun on Nov 15, 2012 6:10 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi Chris,
    if you want to use TRANSLATE then you have to modify it a bit:
    WITH customer_data AS
       SELECT 'cvp, llc' AS customer_name FROM DUAL
    SELECT translate(customer_name,'abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ1234567890'
                    ,'abcdefghijklmnopqurstuvwxyzABCDEFGHIJKLMNOPQURSTUVWXYZ1234567890') txt
      FROM customer_data;
    TXT    
    cvp, llc
    WITH customer_data AS
       SELECT 'cvp, llc' AS customer_name FROM DUAL
    WITH customer_data AS
       SELECT 'cvp, llc' AS customer_name FROM DUAL
    SELECT translate(customer_name,' '
                     ||'[''-/,".]' -- chars to remove here
                    ,' ') txt
      FROM customer_data;
    TXT   
    cvp llc
    {code}
    Regards.
    Al
    Edited by: Alberto Faenza on Nov 15, 2012 3:52 PM
    Modified query                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to remove brackets on Print version of report?

    I have several reports that give the users the ability to print the report without all the navigation, etc. For these pop-up pages, however, any items get displayed inside brackets. Is there any way to remove the brackets? I'm using Read-Only items for most of them.

    blarman74 wrote:
    I have several reports that give the users the ability to print the report without all the navigation, etc. For these pop-up pages, however, any items get displayed inside brackets. Is there any way to remove the brackets? Upgrade to 4.1: it doesn't do this.

  • Removing bracket from iMAC 24'' display for transportation

    Hi-
    I have a unique problem that I require some help. I need to transport the iMAC in a suitcase on an overseas trip and I need some help in removing the bracket. I do not want to experiment with it unless I know if it can be done.
    Could you please let me know if it can be removed so I can package it safely and reassemble at the destination.
    Thanks in advance!

    From my understanding of how the stand works, it is a removable part
    and to take it off requires a special tool; the tool is one usually supplied
    in the VESA kit, so once the VESA bracket is installed, the foot can
    be removed so it won't be hanging in the way.
    I'm not sure of the part number for the tool, but do know there is a
    specific VESA mount kit (doesn't include wall bracket, etc) for the
    iMac 24" and there is a mention of this detail in a fleeting fashion:
    "VESA Mount Adapter Kit for 24-inch iMac"
    With a tool in this kit, you can remove the iMac stand and attach
    the VESA Mount Adapter to the computer.
    Perhaps an authorized service technician can tell you what kind
    of tip the tool (if like a screwdriver) has on it, so you can buy one.
    [ Facts about VESA mount kit - 24" iMac ]
    The comments section in this page may be helpful.
    PS: There is a more specific discussions forum for Intel® Macs
    here, and maybe someone has addressed the VESA and foot
    removal issue there.

  • Remove line from output

    hii,
    output contains a line on top of every page (date, report name) how to exclude that.
    thanks.
    Edited by: aks on May 4, 2009 3:20 AM

    in abap editor on the top where "Report <report name>."  is written just  add and write it this way
    Report <report name> no standard page headings.
    This wud do what you want

  • Remove header from output of pipeline

    I am trying to get the update time of the most recent .vhd in a folder.  I have:
    get-childitem "*.vhd" | sort-object LastWriteTime | Select-Object LastWriteTime
    My issue is I am trying to get rid of the header.  How do I do that?  I tried the option with format-table but was not able to set the result to a variable in a script.
    $testme = get-childitem $dstPath\$guestName\*.vhd | sort-object LastWriteTime | Format-Table -HideTableHeaders  LastWriteTime
    writehost $testme

    This usually works, sometimes doesn't:
    get-childitem "*.vhd" | sort-object LastWriteTime | Select-Object -ExpandProperty LastWriteTime
    The 'ExpandProperty' parameter is supposed to be used for expanding properties that are collections, but if the property is a scalar value it will just print it out without the header. Odd, but works.
    A more direct way is:
    get-childitem "*.vhd" | sort-object LastWriteTime | ForEach-Object {$_.LastWriteTime}

  • Mapping question - how to remove empty recordsets from output XML?

    Hello everyone!
    I have a mapping problem I hope you can help me out with.
    Here is an example of the source message:
    <IDOC>
    .    <HEAD>
    .    </HEAD>
    .    <DET>
    .    .    <Node>
    .    .    .    <nodeA>001</nodeA>
    .    .    .    <nodeB>OA</nodeB>
    .    .    </Node>
    .    .    <Node>
    .    .    .    <nodeB>OB</nodeB>
    .    .    </Node>
    .    .    <Node>
    .    .    .    <nodeA>002</nodeA>
    .    .    .    <nodeB>OC</nodeB>
    .    .    </Node>
    .    </DET>
    </IDOC>
    After testing the above XML in the message mapping, here's what my target looks like:
    <FILE>
    .    .    <Rec>
    .    .    .    <nA>001</nA>
    .    .    .    <nB>OA</nB>
    .    .    </Rec>
    .    .    <Rec>
    .    .    .    <nB>
    .    .    .    <nA>
    .    .    </Rec>
    .    .    <Rec>
    .    .    .    <nA>002</nA>
    .    .    .    <nB>OC</nB>
    .    .    </Rec>
    </FILE>
    "Node" in the "source" message is mapped to "Rec" in my "target" message.
    "Node=" -
    > "Rec"
    You may notice the the "Rec" in the second entry has empty fields. The reason this is so is because I put an "IF" condition in field "nA" and field "nB" that checks whether "nodeA" in the "source" exists/has a value, and if it doesn't, empty values should be given.
    Here's my problem, I need the XML output to be clean. All empty Recs should be removed from the Output XML so that it resembles the one below:
    <FILE>
    .    .    <Rec>
    .    .    .    <nA>001</nA>
    .    .    .    <nB>OA</nB>
    .    .    </Rec>
    .    .    <Rec>
    .    .    .    <nA>002</nA>
    .    .    .    <nB>OC</nB>
    .    .    </Rec>
    </FILE>
    I've tried several ways to get this done to no avail. Would anyone be able to help me out? I would really, really appreciate it!
    Warm regards,
    Glenn

    Hello,
    Here's how the Display Queue looks like from the "CreateIF"
    Default Context:
    0     [false]     [suppress]
    1     [false]     [suppress]
    2     [false]     [suppress]
    3     [true]     []
    4     [false]     [suppress]
    5     [true]     []
    6     [false]     [suppress]
    7     [false]     [suppress]
    8     [false]     [suppress]
    9     [true]     []
    10     [false]     [suppress]
    11     [false]     [suppress]
    12     [false]     [suppress]
    13     [true]     []
    14     [false]     [suppress]
    15     [false]     [suppress]
    16     [false]     [suppress]
    17     [true]     []
    18     [false]     [suppress]
    19     [false]     [suppress]
    20     [false]     [suppress]
    21     [true]     []
    CreateIF Context up one notch:
    0     [false]     [suppress]
    1     [true]     []
    2     [true]     []
    3     [true]     []
    4     [true]     []
    5     [true]     []
    6      [true]     []     
    7     [true]     []
    8     [false]     [suppress]
    9     [false]     [suppress]
    10     [false]     [suppress]
    11     [false]     [suppress]
    Here's how the Display Queue looks like from the "NodeA"
    SUPPRESS     [false]
    SUPPRESS     [false]
    [0000000292]     [false]
    [0000000292]     [true]
    [0000000252]     [false]
    [0000000252]     [true]
    SUPPRESS     [false]
    [0000000078]     [false]
    [0000000078]     [false]
    SUPPRESS     [true]
    [0000000109]     [false]
    [0000000109]     [false]
    SUPPRESS     [false]
    [0000000292]     [true]
    [0000000292]     [false]
    SUPPRESS     [false]
    [0000000076]     [false]
    [0000000076]     [true]
    SUPPRESS     [false]
    [0000000292]     [false]
    [0000000292]     [false]
    SUPPRESS     [true]
    SUPPRESS     [false]
    NodeA context one notch up:
    SUPPRESS     [false]
    [0000000292]     [true]
    [0000000252]     [true]
    [0000000078]     [true]
    [0000000109]     [true]
    [0000000292]     [true]
    [0000000076]     [true]
    [0000000292]     [true]
    [0000000074]     [true]
    [0000000077]     [true]
    [0000000081]     [true]
    [0000000292]     [true]
    [0000000252]     [true]
    [0000000081]     [true]
    [0000000081]     [false]
    SUPPRESS
    Hope that helps you help me!
    Glenn

  • How can I change default audio / sound output or remove the displayport audio option?

    I upgraded from Mavericks to Yosemite and while I don't have any of the number of issues that see to accompany that move, I've discovered a different one that is not necessarily related to it, but is irritating.
    2014 Macbook Pro Retina
    I use a thunderbolt to displayport (AKA just displayport) cable to attach a Dell monitor to my mac at the desk.
    Prior to this update, the mac ignored the display as far as audio was concerned (the Dell does NOT have audio built in).  But now it seems to think it does.
    Moreover, it continually switches back to that Sound output in the preferences whenever I plug or unplug an audio source from the audio jack.  This is Annoying!
    Is there any  way to either
    1) set the default to prefer the internal speakers / headphones instead of the DP?
    2) remove the Sound output for the DisplayPort connection (which is a false connection since the Dell doesn't actually have AUDIO)
    Thanks much

    I found the com.apple.audio.SystemSettings.plist and Com.apple.audio.DeviceSettings.plist, but can't make sense of either enough to feel confident in altering any entries there.  here's the SystemSettings one that seems like it might have something you could change, but...

  • Sys update removed built-in speakers from output options

    Hello All:
    Can anyone help me get my sound working again? Can someone tell Apple they shouldn't have fired everyone who checks that their updates don't screw up machines in other ways?
    Problem: No sound after installing updates. Built-in speakers have been removed from sound output preferences dialog.
    System: 10.4.11
    Hdwr: MacbookPro 2.16 GHz Intel Core 2 Duo
    Details:
    Yesterday I installed two updates:
    2009-05-24 13:06:57 -0700: Installed "Security Update 2009-002 (Intel)" (1.0)
    2009-06-08 00:56:54 -0700: Installed "Safari" (3.2.3)
    After, no sound comes out of my built-in speakers. Machine has been re-booted, sound control panel checked many tiems, etc. The only options in the sound pane>output are :
    digital out Port=Built-in Output
    soundflower (2ch)
    soundflower (16ch)
    All options say, "Settings for this selected device: The selected device has no output controls".
    So, the built-in speakers have been zorched somehow.
    Apple help doesn't say much other than make sure nothing plugged into headphone jack (there isn't).
    I now cannot participate in any of my scheduled skype conferences ---crap crap crap.
    The last security update caused deletions of libraries for x11 on my G5 10.3 machine, now this one has killed my sound on my other machine. Fixing the aftermath of these updates have really become a time-sink. I wish someone would tell Apple to take a little more care with testing these updates.
    Apple engineers, are you listening?
    Thanks,
    -Bruce

    Sorry, I just got a fix for my own question: "sys update removed built-in speakers from output options"
    This was provided by www.mac-forums.com. Apparently, this was a ???coincidence??? and a hardware problem, not a software problem(!).
    BTW I didn't resort to WD-40, I just plugged in a sound cable repeatedly.
    Thank you all for putting up with me, and I do apologize to apple for dis-ing their testing this time (but not last time when they zorched my x11 libraries!)
    -Bruce
    ===========Fix from http://www.mac-forums.com/forums/apple-notebooks/88527-no-output-devices-found-n o-sound.html
    Macriot has the solution:
    macriot - Apple Hardware | The Fix For No Sound From Your MacBook Pro or iPhone
    Contributed by "Mac":
    <quote>
    For MacBook Pro owners this is commonly characterised by:
    * the internal speakers still chime when your Mac is powered on
    * a 'no parking' like symbol appearing below the sound icon whenever you attempt to manipulate the volume on your Mac
    * the red light that continues to emanate from the audio output port
    * only "Digital audio out" as the only output source displayed in the Sound pane of the System Preferences.
    If you have these symptoms, we recommend a very gentle and minute tinkle of WD-40 into the audio output jack, followed by gently inserting and removing the audio input jack a few times. At least until the sound is returned to normal and red light ceases to glow from the audio output jack.
    Remember, we said "tinkle" not spraying into the jack like there's no tomorrow...
    Following the steps above will give you a good chance of restoring your internal audio.
    </quote>
    This worked for me; doubtless, there had been dust or smear or something else polluting the macintosh perfection. Everything else people are doing is incidental and only coincidentally will have effect. Sorry, but this is a mechanical issue, not a software one.

  • Grep Question: removing dates and brackets

    I am trying to remove
    [01/01/1996-12/31/1996]
    wherever it appears in text.... the dates would all be different and sometimes how they appear.
    Is there a way to remove brackets and whatever is within them?
    I did this once and cannot remember how!
    Thanks!

    Do you also have brackets surrounding things you want to keep? If not, searching for \[.+?\] ought to work, I think. Repalce with nothing

  • Spotify on iPhone continues playing after removing output device (f.e. headphone, airplay speaker)

    I like Spotify and the built-in playlists a lot! But since one of the last version, I annoys me from time to time. Hope you can fix this! Common situation: I stream music at home from Spotify App on iPhone to an airplay speaker. When leaving home and losing the connection to the airplay speaker, Spotify automatically stopped playing in former versions which was great and common to other music apps on the iPhone! Now, since one of the last updates, Spotify continues playing, f.e. on the iphone speaker, when the former speaker is no longer available, f.e. headphone or airplay speaker. Meaning, it continues playing in your pocket when leaving home. Other music apps stop playing when you remove the audio output. Which is the known and wanted behaviour on iOS. Another fancy thing:1. Stream music to an airplay speaker2. Plug in headphone, music continues on the headphone3. Remove headphone, music continues on the airplay speaker4. Remove airplay speaker or leave the network, music continues playing on the iPhone speaker Ugh. :/ The Apple Music App on iPhone for example stops playing when losing the output device (airplay, headphones, ...).It might be a feature in the Spotify App to keep music running but please offer a setting to keep iPhone standard to stop when removing speakers. Moreover, and this is really annoying, this new feature makes Spotify to continue playing even if the playlist has not been synchronised for offline playback. Means, it automatically eats your included cellular traffic when you leave your WiFi. :((( Could you please fix this? Or add a setting to not continue playing music on any output device radically? THANKS!

    This is really annoying me. Any solutions, Spotify?

Maybe you are looking for

  • Duplex printing with Reader XI?

    Adobe Reader XI (11.0.07) does not recognize duplex printing for my Brother HL-5370DW printer.  This occurs in OS X 10.6.8 and Mavericks (on different computers).  All other software, including Acrobat Reader 9 (and earlier versions of Reader) and Ac

  • Plug-in(s) for Id program

    I cannot successfully download and install the Id program? Which plug-in(s) do I need to download to achieve this? Thank you for your attention.

  • Synchronizing Material Master revision level across multiple plants

    Hello, If an organization uses material master revision level to maintain the details of material's validity across different plants then we see a material master with different revisions in that organization. Now I  would like to understand the impa

  • CE Trial Version Available SAP Shop

    Hi guys, I just download the CE 7.3 trial version from SAP shop, it runs on SUSE VM, the thing is that the link to download SLES_11_SP1_SAP_Testdrive-1.0.13.tar.bz2 file " Downloads - SUSE Linux Enterprise Server 11 SP1 SAP Testdrive eSoftware Media

  • Error when linking payment on account with Invoice

    Hi When i tried to link/reconcile the payment recd on account through income payment menu, its showing an error message " Confirmation Amount greater than Zero".  Pymt on Account showing as JE and open invoice amt are same only.  Anybody help me on t