Multiple choice technology platforms and products

Which of the following is true to abort a job from within the Transformer stage?

  1. Call the DSLoggFatal function from a stage variable derivation

  2. Call the DSStopJob function from a stage or column derivation

  3. Use the SETENV function to set the environmental variable APT_PM_KILL_NOWAIT

  4. Create a dummy output link with a constraint that tests for the condition to abort on; set the 'Abort After rows' property to 1

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The proper way to abort a job from within a Transformer stage is to create a dummy output link with a constraint that tests for the abort condition, then set the 'Abort After rows' property to 1. This causes the job to abort after the first row flows through that link when the condition is met.