Input file should be deleted only after the output file is successful.

Hi Experts,
Could you pleas solve the below issue.
                       In  a file to file scenario, the input file will be picked from a directory location and after processing output file will be placed in the output directory location specified in the receiver communication channel.
In the sender communication channel for the scenario mentioned above, if the processing mode is given as delete, the input file will be delete as soon as the file was successfully read by the adapter, but this will not ensure that the file processing is complete and the output file is being created.
If we have a scenario in such as way that the input file should be deleted from the input folder only if the complete process is successful and the output is generated. how can we achieve this functionality?.
And one more thing if we got the successful output the output file should be placed in one folder. and the if the output file is having errors it should be placed in other folder.

Hi,
In Receiver communication channel I have used the below command in Run Operating System
.And I have kept the processing mode of sender communication channel as test.
cmd.exe: /C "del /Leela/test.xml"
You are running the comman line program configured in the receiver File Adapter,but in command line you mentioned the Sender File Folder , So i guess it's not getting processed.
Try this:
Try to run the command line in the Sender File Adapter Side
"Place this in " --> Run OS Command After Message Processing.
Hope this would work and get in parrallel with u r requirement.
regards
Srini

Similar Messages

  • If I convert a PDF file to a Microsoft Word file can I delete pictures from the converted file

    If I convert  PDF file to a Microsoft Word file can I delete pictures from the converted file?

    Hi sutterrot,
    After a successful conversion from PDF to Word, you need to download the converted file locally on your computer.
    You can then choose 'Enable Editing' button and then delete images/text or make other changes.
    Regards,
    Anubha

  • Append a file with date and name in the output file

    I am running a script which produce an output in excel file, I would like the server name and the date in the output file,  Both the servername and date has declared at the beginning of the script as 
    $server = test1
    $date = Get-Date -uformat %Y-%m-%d
    I am able to append either server or date but not both. Could you please help me out on this.
    I would like the output file as '
    server_report_date.xls

    I got this working by 
    "C:\Aravind\Scripts\$server-"+"Report-" +"$Date"+".xls"
    Thanks!!

  • HT1751 when i have moved all of my data to an external hard drive should i delete all of the library files on my laptop/PC

    i have moved all of my data to an external hard drive should i then delete the copies on my laptop

    What are you actually trying to accomplish? Backing up the library, or moving it?
    If backing up don't delete anything.
    If moving did you move the library files as well? Ideally you would copy the entire iTunes folder out to the external drive then shift-start iTunes to connect to the relocated library. This method makes it easier to move the library to a new drive or computer later and keeps everything together for backing up. Rather than delete everything rename the iTunes or iTunes Media folder first (depending on which approach you took) and make sure the library still works before deleting.
    tt2

  • Files should be deleted after applying patches

    Hi,
    after applying support Packages  successfully, which files should be deleted from the OS level.
    i mean the files allocated on
    /usr/sap/trans/data
    /usr/sap/trans/cofiles
    /usr/sap/trans/EPS/in
    and so on
    Thanks
    Sherif

    Hi Sherrif,
    After you have done support package import in all systems of the landscape I guess you can delete these files. Before that it may not be such a good idea.The document here gives the recommendation for data files at least:
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCUPGOCSSPAM/BCUPGOCSSPAM.pdf
    Regards.
    Ruchit.

  • I want to open a domain.site2 file outside the default folder (User/Library/Application Support/iWeb) with iWeb11, but iWeb only opens the domain file in the default folder. If I delete the default domain file, iWeb wants to create a new site. Help please

    I want to open a domain.site2 file outside the default folder (User/Library/Application Support/iWeb) with iWeb11, but iWeb only opens the domain file in the default folder. If I delete the default domain file, iWeb wants to create a new site. Does anyone have the same problem or know how to fix it?

    In Lion the Finder folder is now invisible.  To make it permanetely visible enter the following in the Terminal applicaiton window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    For opening your domain file in Lion for the first time or to switch between multiple domain files  Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an applicaiton.
    Just launch the applicaiton, find and select the domain file you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    OT

  • Upon downloading a file I can open it only after the initial download. If I try to open the file later it won't open. What can I do to get the downloaded files to open?

    The download can be any type of file video, word, etc. After the initial download I can view it, but if I try to open the file later I can't.

    [[Firefox is already running but is not responding]] has steps that you can try. It sounds like you may have something that is hanging your browser on exit (probably an extension or a locked profile) and the steps on that page should help clear it up.

  • HT1926 Quicktime stuttering, MOV file plays fine on my iphone but play it in my PC the sound and video stutters. happened only after the last update. how to fix

    Quicktime stuttering, MOV file plays fine on my iphone but play it in my PC the sound and video stutters. happened only after the last update. how to fix?

    Hi Richmoller51,
    Welcome to Apple Support Communities.
    See this article for some troubleshooting steps that can help with video playback in iTunes or Quicktime:
    Troubleshooting iTunes for Windows Vista or Windows 7 video playback performance issues
    http://support.apple.com/kb/ts1718
    Best,
    Jeremy

  • PR should allow to change after the PO

    Hello
    Creating the Purchase order with ref to PR, Once the PO is created with ref to PR with full qty then system should not allow to change the PR.
    How to made this?
    Regards
    sapman man

    Hi,
    My Requirement is.....PO is created with ref to PR, then that perticular PR should allow to edit in ME52N .
    it should allow only after the PO deletion, then system should allow to change that perticular PR
    How do this?
    sapman man

  • How do i transfer a compilation photo file from iPhoto consisting of canon(img) and lumix(p..) in the order i compiled them to a usb stick as at the moment it is putting all the lumix files after the canon files?

    I have a macbook pro 15 inch retina 16 gb 1600mhz 2.7intel i7 osx 10.8.5
    I have just put together an iPhoto file of wedding photos consisting of a compilation of images from my canon(img files) and lumix(p..files) I want to know how to transfer them to a usb stick in the order i compiled them as at the moment it is putting all the lumix files after the canon files which is not how i want to present them to the newlyweds?

    Files are ordered by the file-viewer being used.  What viewer are you using, and what data field are you sorting by?
    In Finder, as in most applications, you can select the data field to sort by clicking a column header.  Clicking the selected header will reverse the sort.
    This is the Aperture forum, but what applies to Aperture is likely also true for iPhoto:  if you want to be able to sort your files in a specific order in a file-viewer, you should give them names that allow for sorting in that order when the name field is selected as the data field to sort by.  In Aperture, one creates new files by exporting, and one uses a File Naming Preset to name the files.  The File Naming Preset can start with an ordinal count or a sequence number.  Either of which will allow you to retain your order when viewing your files in a file viewer.

  • Do I have to delete films after the rental period manually?

    Do I have to delete films after the rental period manually or does iTunes cleans my HDD automatically? If I will have to erase any file manually please tell me where to find them, please.

    After the rental period has expired, iTunes will delete the movie as soon as you open up iTunes.

  • I converted aif files to mp3 files in I tunes so I could put them on a flash drive.  Now when I transfer an album to the flash drive I get both the aif files and the mp3 files in the flash drive.  How do I get the iTunes to only copy the smaller file?

    I converted aif files to mp3 files in iTunes so I could put them on a flash drive.  Now when I transfer an album to the flash drive I get both the aif files and the mp3 files on the flash drive.  How do I get the iTunes to only copy the smaller file?

    My suggestion to use the smart playlist was more along the lines of making one list with rules to show everything in your library as long as it was kind "mpeg" (= mp3).
    Smart playlists cannot be edited manually, only by changing the rules.  You can use them as the basis for another smart playlist though.
    There is added overhead to using smart playlists, so don't go overboard.

  • I have this following problem in Adobe Premiere Elements 11: Error of export: You don't have permissions to create or delete the output file.

    Hey guys,
    I have this following problem:
    When i export my movie to my desktop from premiere elements 11 it fails and says "Error of export: You are not permitted to create or delete the output file."
    This is the first time i had this problem.
    I have no ideas to solve this problem ... I don't found it on this page neither in the whole web -.-
    I look forward to get requests

    S
    QuickTime is a requirement for Premiere Elements (any version). Please download and install it so that we can continue this troubleshooting. Among other things, without QuickTime installed, you will not have QuickTime presets in Publish+Share and will not have available to you codecs supplied by that player.
    Please right click the Premiere Elements 11 desktop icon and apply Run As Administrator. Please review computer permissions..
    In the meanwhile, please reply to all the questions, including
    What is the description for your export choice and does it make a difference if your Export Save In location is the desktop or to Video Folder in Documents?
    What is a description of your computer resources?
    Please consider and supply details need to help us help you.
    We want you to succeed.
    Thank you.
    ATR

  • Firefox will not display my HTML file as its contents - only displays the HTML text (firefox 5.0).

    I can download a file as a Firefox file (zipped) and it displays successfully. Then I can save the file as a text file and see the HTML text.
    When I work on the HTML text file and then try to display the modified file in Firefox 5.0 and Windows XP, Firefox will only show the HTML text, not the display of the contents of the file.

    Make sure that the file has a .html file extension if you want Firefox to render the content.
    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 10.0 r32
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • MIRO should be allowed only for the accepted Qty (QC accepted qty)

    Hi Friends
    I have one more requirement ,
    MIRO should be allowed only for the accepted Qty (QC accepted qty) or Subcontract MIRO should be allowed only for the quantity accepted by QC
    with QM control key in material master(QM view) we can block for payment,
    but  my query is  MIRO should not be saved (message should come qty still lying in Quality inspection stock)
    Please let me know the settings,
    Thanks & Regards
    Gajendranath

    Hii,
    Yes it is possible to restrict Invoice passing in MIRO if the Stock is in Quality stock / Blocked stock. The concept is while doing MIRO, u can validate the criteria by clicking simulation tab. U can get the things in BADI (Business ad in function) with the BADI object name as "Invoice_update".
    The working is when the material is in quality stock & If ur doing MIRO for the same material, then system will pop up the message that "material with "X" qty is in quality stock" Invoice cannot be made. System does'nt allow u to pass the Invoice unless the stock is cleared from the quality. Even for the blocked stock we can simulate these error pop message.
    with regards,
    K.Lokesh.

Maybe you are looking for

  • Query vs report

    hai gurus    in what scenario we are using query like SQVI  and in waht sceranio we are using Reports(customized)?what is the main difference between them?

  • Windows Failover Cluster Manager Error

    I have a node that is not able join the Hyper-V cluster that it was previously running in the cluster without problems. The cluster service encountered an unexpected problem and will be shut down. The error code was '2'. C:\Windows\Cluster>clussvc.ex

  • Why does my AE gen 2 crash when I put my iPhone MAC address in?

    AE gen 2 with Time Capsule. I use MAC address for security (I think that is OK). I have a number of items that need WIFI and their specific MAC addresses are put into the box. All OK so far! Recently my wife and I have purchased iPhone which I also w

  • How to make a button show AND hide a field?

    In an interactive form (with Adobe Acrobat X Pro), how can I purpose one button to: 1.) Show a field when clicked the first time 2.) Hide a field when clicked a second time I seem to only be able to make a button do one or the other, but not both wit

  • Howto avoid over-resolution when printing & Graphics.scale?

    Hello, The application I've created uses I Graphics.scale to generate thinner lines which act as cells of a grid. The problem is that I've to print as thin lines as possible, but if I scale too much my lines aren't printed because the printer's DPI i