Stopping a Package Explicitly

  • Hi all

    I want to know is there any way to stop a package explicitly by giving a command.. as when i run it ,,,I have to stop it once the error is done..

    normally when the package has an error it does stop..

    well the thing is that.

    Total I have 15 rows.

    Error comes at 10th row...Now it is redirected to the event handlers tab...

    and a mail is sent...but it doesnt stop after tht

    again for 11th row it will send a mail...

    same again for 12th row...

    till 15th row..6 times it will send same mail..

    so i want to stop when event handler mail task runs for the 1st time

    I hope u got it..

    Is there any way..

    Thanks

    Thanks

    [font="Comic Sans MS"]
    ---------------------------------------------------

    Thanks [/font]

  • You could propagate the error (I believe there is a System::Propagate variable or similar) to the main package error event handler and set one of the package properties (forget what it's called) to fail on the first error.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply