Results 1 to 2 of 2

Thread: DefaultFlatFileInputSource and removal of processed files

  1. #1

    Default DefaultFlatFileInputSource and removal of processed files

    We use the DefaultFlatFileInputSource together with RestartableItemProviderTasklet.

    How should we take care of removal of the processed file after a successfull process?

    Geir

  2. #2
    Join Date
    Dec 2006
    Posts
    1,061

    Default

    You *could* create a second step that deletes the file. However, I'm always wary of doing any file moving or manipulation within batch jobs. This is because once the output has been successful, the job is logically done, and any jobs (or other processes) depending upon it can begin. If you have a second step, or even a dependent job that is a shell script, the entire job stream could be held up by what is essentially housekeeping.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •