How to split a single file and then route it to different systems

Hi All,
I have a requirement like...my incoming file(single file) needs to be split into 3 files based on a field "company code".and then route it into different systems.
my incoming file is like this .....
Header,name,.....,.....,........,.....,.....
Detail,.....,.....,.....,.....,......,companycode(100),....,.....,......
Detail,.....,.....,.....,.....,......,companycode(101),....,.....,......
Detail,.....,.....,.....,.....,......,companycode(100),....,.....,......
Detail,.....,.....,.....,.....,......,companycode(102),....,.....,......
Detail,.....,.....,.....,.....,......,companycode(101),....,.....,......
Detail,.....,.....,.....,.....,......,companycode(102),....,.....,......
EOF.
I need to split this file and my ouput file should be like this
For 1st system
Header,name,.....,.....,........,.....,.....
Detail,.....,.....,.....,.....,......,companycode(100),....,.....,......
Detail,.....,.....,.....,.....,......,companycode(100),....,.....,......
EOF.
For 2nd system
Header,name,.....,.....,........,.....,.....
Detail,.....,.....,.....,.....,......,companycode(101),....,.....,......
Detail,.....,.....,.....,.....,......,companycode(101),....,.....,......
EOF.
For 3rd system
Header,name,.....,.....,........,.....,.....
Detail,.....,.....,.....,.....,......,companycode(102),....,.....,......
Detail,.....,.....,.....,.....,......,companycode(102),....,.....,......
EOF.
and then send it three systems based on company code.
Can anyone tell me how this can be achieved?
Thanks,
Hemanth.

Hi Nallam,
I tried the same thing but in the input file as there are different company codes,It is not splitting the file into three parts and sending only concerned data to repective system instead the whole file is going to the all the systems.
I came to know that the file has to splitted in the mapping only, we are able to do it by using mapping but the problem is in Routing,as in receiver determination we makes use of source structure for giving the condition. Can you please help me on this.
Thanks,
Hemanth.

Similar Messages

  • How to open a pdf file and then attach it with images

    I am new to Indesign Server.
    I'm currently working on a pdf.
    I have a white blank pdf template.
    that I want to attach/glue it with images.
    How to open a pdf file and then attach it with images.
    Please, help me.
    Thanks.

    First step would be to make yourself familiar with InDesign desktop version.
    Whatever you intend to achieve, do it there manually. (see regular app docs or forums)
    Then try to automate your steps with scripting (see scripting docs or forum)
    If you can do it with a script in the desktop version, that script will likely also run in ID Server. (see server forum).
    If you can specify missing features not achievable thru scripting or manual use, reconsider to write a plugin (this forum).
    A seasoned C++ programmer will need a few months to learn the basics, wade thru tons of documentation etc. Alternatively consider to hire a consultant to do the development work for you.
    Dirk

  • HT4527 I am trying to move my library and playlists to a new computer by burning to CD's. However, I followed the directions by going to File and then Library - then they said to go to burn CD(s) - I DO NOT have that option for some reason. How do I do th

    I am trying to move my library and playlists to a new computer by burning to CD's. However, I followed the directions by going to File and then Library - then they said to go to burn CD(s) - I DO NOT have that option for some reason. How do I do this? I have done the library sharing thing but I am getting rid of my primary computer and am afraid I will lose the library.

    To move an iPhoto Library to a new machine:
    Link the two Macs together: there are several ways to do this: Wireless Network,Firewire Target Disk Mode, Ethernet, or even just copy the Library to an external HD and then on to the new machine...
    But however you do choose to link the two machines...
    Simply copy the iPhoto Library from the Pictures Folder on the old Machine to the Pictures Folder on the new Machine.
    Then hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Choose Library'
    and select the Library that you moved.  That's it.
    This moves photos, events, albums, books, keywords, slideshows and everything else.
    Your first option didn't work because you imported one Library to another. Every version and thumbnail is imported like a distinct photo, you lose all your Albums, Keywords etc., the link between Original and Previews is destroyed, the non-destructive editing feature is ruined and so on. In summary: it's mess.
    Your second option didn't work because you simply referenced her library on the old machine.
    Regards
    TD

  • Powershell script - how to read a registry hive and store the value in text file and then again read the text file to write the values back in registry

    Hi All,
    powershell script Method required to read a value from registry and then taking the backup of that values in some text file.
    For example the hive is
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path
    and under path i need to take back up  of values in some text file and then put some value in the registry after back is taken in text file.
    Also how to read the text file values so that we can again write to registry hive  back from the back up text file.
    Your help is much appreciated.
    Umeed4u

    I think you need to read this first:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/a0def745-4831-4de0-a040-63b63e7be7ae/posting-guidelines?forum=ITCG
    Don't retire TechNet! -
    (Don't give up yet - 12,830+ strong and growing)

  • When playing my i-tunes library through my hi-fi via Airport Express, how can I get i-tunes to play a single album and then stop, without continuing on through my entire library. It's a problem that doesn't occur when I'm listening through my i-pod.

    When playing my i-tunes library through my hi-fi via Airport Express, how can I get i-Tunes to play a single album and then stop, without continuing on through my entire library? It's a problem that doesn't occur when listening on my i-pod.

    Hey everyone in Apple world!
    I figured out how to fix the flashing yellow screen problem that I've been having on my MBP!  Yessssss!!!
    I found this super handy website with the golden answer: http://support.apple.com/kb/HT1379
    I followed the instructions on this page and here's what I did:
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    I went through the 6 steps above twice, just to make sure I got rid of whatever stuff was holding up my bootup process.  Since I did that, my MBP boots up just like normal.  No flashing yellow screen anymore!!   
    (Note that I arrived at this solution when I first saw this page: http://support.apple.com/kb/TS2570?viewlocale=en_US)
    Let me know if this works for you!
    Elaine

  • How do I scan a photo to a file and then send the file as an attachment via email.

    How do I scan a photo to a file and then send the file as an attachment  via email.

    All of this depends largely on what printer /software you have, which Email client you use and to some extent which OS you are running.
    Most HP printers have HP Solution Center which is used to set up scanning,choosing where to save,etc. Once a file/photo is scanned and saved to the folder, open the folder.Select the file and at the top of the window should be the option to 'Email'.
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • In the past when I have imported my dslr video/audio files and then my zoom audio files Final Cut Pro has organized them in pairs in my library. For some reason my video/audio and my audio are being organized seperately. How do I fix this? Thanks!

    In the past when I have imported my dslr video/audio files and then my zoom audio files Final Cut Pro has organized them in pairs in my library. For some reason my video/audio and my audio are being organized seperately. How do I fix this? Thanks!

    Thank you Russ! Seems as though the timestamp on my audio files was completely incorrect so it placed the files far away from the corresponding video. I've modified the timestamp information and this has helped. The hour/minute information is incorrect but at least now I'm in the ballpark. Thank you!

  • I have a 1.5 hour video of a concert from which I need to extract several 'tracks' as individual files, and then join them together in a new video. How do I do this using imovie?

    I have a 1.5 hour video of a concert from which I need to extract several 'tracks' as individual files, and then join them together in a new video. How do I do this using imovie?

    Adobe has made this process much simpler in recent years.
    No need to re-install any version earlier than the current version (CS6). All installers (upgrade or full) contain the full program code. The difference between full and upgrade is in the serial number.
    All you need do is download (link below) and install CS6, enter the CS6 upgrade serial number then enter the CS5 serial number (even if that too is an upgrade).
    Download CS6 products

  • How do I convert my music to an mp3 file and then email it?

    Hi!
    Can someone tell me how to convert my music I loaded on itunes to an mp3 file, and then how to email this file,
    so someone can open it and hear it, e tc?
    thanks!
    Maggie
    [email protected]

    Set the iTunes Import preference to MP3, select the track, and then choose the Convert menu command. Then attach it to the email using whatever method or command your email application uses.
    Note that it will be illegal to send this track to someone else unless they already have purchased a copy or it's a track that you composed and performed yourself.

  • HT4539 I just down loaded itones to my computer, then bought a bunch of music.  How do I add the songs to my mp3 player.  When I go to "file" and then devices the button that says sync isn't availlible to push, so I cant put the music on my mp3???  Help

    I just down loaded itones to my computer, then bought a bunch of music.  How do I add the songs to my mp3 player.  When I go to "file" and then devices the button that says sync isn't availlible to push, so I cant put the music on my mp3???  Help

    itunes will only sync with an ios device.
    On the other hand, if you have a usb cord for your mp3 player, and you know what FOLDER your itunes music is located in (and for me its located at C:\Users\YOUR NAME HERE\Music\iTunes\iTunes Media  )
    you can just select that folder and copy it to your mp3 player.
    typically when you first plug in something like an mp3 player you get a windows alert asking if you want to view the contents of the device- say yes. copy your itunes folder to the music folder on your mp3 player.

  • I just down loaded itones to my computer, then bought a bunch of music.  How do I add the songs to my mp3 player.  When I go to "file" and then devices the button that says sync isn't availlible to push, so I cant put the music on my mp3???  Help

    I just down loaded itones to my computer, then bought a bunch of music.  How do I add the songs to my mp3 player.  When I go to "file" and then devices the button that says sync isn't availlible to push, so I cant put the music on my mp3???  Help

    Which mp3 player?  iTunes will only sync with Apple devices.

  • How can I save my keynote presentation as one single file and not a folder

    I use the latest kerynote version and I would like to upload the presentation as a single file to a collaboration solution.
    How can I save my presentation as one single file and not as a folder?

    Keynote "files" are not single files, they are packages which contain all the individual files that the presentation requires.
    Some online storage systems such as Google Drive show Keynote as a folder.
    We use Dropbox to distribute all our file types and Keynote does not have an issue using that.

  • How can I enable FTP on the DMP and How can I FTP to it and then remove the files that were deployed to the DMP flash?

    How can I enable FTP on the DMP and How can I FTP to it and then remove the files that were deployed to the DMP flash? My platform of DMS is 5.2.2

    Hi Temur, ok. I do the above procedure and it worked fine
    Now, I have other question?
    How can I reproduce any file (for example: a video, an url page, an image), that is in the flash of DMP?
    Índice de ftp://172.17.15.22/tmp/ftproot/tmp/ftproot/tmp/ftproot/usb_1/
    Subir al directorio superior.
    Nombre Tamaño Última modificación
    Sample Videos.lnk
    1 KB
    17/06/2011
    06:25:00 a.m.
    deployment
    29/06/2010
    04:14:00 a.m.
    lost+found
    25/02/2010
    12:00:00 a.m.
    video futbol en la playa.mp4
    1390 KB
    29/06/2010
    01:08:00 a.m.
    videofutbol.mp4
    1390 KB
    29/06/2010
    01:38:00 a.m.
    I like, that el DMP when loss conectivity with DMM, It display at the LCD screen, the video named videofutbol.mp4, this video As I show in the picture above, already in the flash of DMP.
    I appreciate your early response.
    Thanks

  • Taking the kth-column of multiple files and then joining them together in a single file

    Hi
    I would like some help with array manipulation
    I have multiple (1000) files with 5 columns each and 20,000 rows. The first row of each file has a header that labels the columns.
    I would like to be able to read these files, pull out colum 3 from each file and then build these into a new 2D array. It would be nice if they also had their corresponding header labels. So then I would end up with the new 2D array containing 1,000 columns (corresponding to column 3 of each of my 1000 files) with 20,000 rows plus a first row with the header labels.
    I would also like the option to in future select column 2 for example, or column 5; plus I would also like the functionality to allow me to perhasp pull out more than one colum, e.g. colum 2 and 3, before we build the new array.
    I hope I made some sense and that someone can help. Thanks you

    RVR,
    This is a great exercise to get familiar with LabVIEW's array functions.  A great place to start is actually the LabVIEW help on arrays, located here:
    http://zone.ni.com/reference/en-XX/help/371361B-01/lvconcepts/grouping_data_with/
    Depending on your data format, you can probably use the Read From Spreadsheet File VI to bring your data into a 2-d array.  You could then use the index array VI to pull your column out.  You could do this in a For loop and use Autoindexing to build your 1,000 column resulting array.  I would leave everything as a String format until I'm done. 
    This doesn't sound like a very difficult task.  Good luck!
    --Paul Mandeltort
    Automotive and Industrial Communications Product Marketing

  • With Mozilla Firefox, I cannot go to "File" and then "Send Link" so as to pull up an email ready to send via Outlook Express, as I can with Internet Explorer - how do I change the settings to permit this?

    If I am using Explorer, I can go to "File" and then "Send Link" -
    an email will automaticallt pop up, with the website url pasted in;
    I merely put in the recipents email address, hit Send, and away it goes
    With Firefox, the email does not pop up; I have to manually pull up an email ("create mail"), then copy and paste the website url
    displayed by Firefox
    I want to override this default to Explorer

    Hi,
    Please try this: '''Tools''' (or '''Alt''' + '''T''') > '''Options''' > '''Applications'''. Look for or start typing '''mailto''' in the search box and for the '''Action''' change it to the desired mail client (the application that opens up in Explorer) if the value is different.
    '''Options''' > '''Applications''': https://support.mozilla.com/en-US/kb/Options%20window%20-%20Applications%20panel
    Managing Actions: https://support.mozilla.com/en-US/kb/Managing%20file%20types

Maybe you are looking for

  • Multiple aspect ratio in FCP

    Hi I have a bunch of footage in different aspect ratios. 4x3 and 16x9. Most 4x3 footage is on DV format and the other 16x9 in hi-def or/and lower resolutions. I want to have a final quicktime movie after done with my editing in 16x9 (960x540) resolut

  • I would like to download iMessage for my mac book pro.

    I would like to download iMessage for my mac book pro OS X, 10.8.1. When I try to install imessage it says that I need 10.7. What do I have to do to get imessage installed?

  • Turning on monitor wakes mac from sleep

    I've hooked up my G4 Gigabit Ethernet to my HDTV, and I'm happily using it to play music and watch slideshows. Very happy to breath some life back in the girl. One issue though: If I turn on my monitor to watch TV it wakes the G4 from sleep (the stat

  • P-card functionaling in purchasing and in SAP 6.0

    I have the following issue : My client wants to process P-card transactions in purchasing . In other words when creating a PO in R/3 to link it to the P-card as payment method i.e. the same functionality in SRM  for P-card . I was told that this func

  • Cisco ASA and Internal Hosted Website

    I have a Cisco ASA 8.4. I have an internal website for an application that they use both internal and externally (app.domain.com/app  is 10.0.0.3) The company that hosts their External Website and DNS created a record that points to http://app.domain