Results 1 to 2 of 2

Thread: Fail the batch when error on reader.

  1. #1
    Join Date
    Apr 2009
    Posts
    15

    Default Fail the batch when error on reader.

    Hi,

    I need to fail the job when error occur while reading the record. I used retryLimit as 0 and skipLimit as 10... So its trying to read the record for 10 time... I dont want to read again if error on reader, i should fail the job... I want to skip only error on writer...

    Can some one suggest me how to do it...

    Many thanks,
    Vijai
    Vijai

  2. #2
    Join Date
    Jun 2005
    Posts
    4,241

    Default

    Throw a non-skippable exception from the reader?

Posting Permissions

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