Abort Job When Records Exceeds 100

Given a file with 1000 records, design a job which will abort if it exceeds the record count more than 100

Showing Answers 1 - 6 of 6 Answers

Rajendhar Reddy Kuthuru

  • Feb 29th, 2016
 

Source->Transformer->Target

In transformer enable option When "Abort After Rows" is set in a Transformer, the job aborts when the threshold is reached, however no row output is sent downstream.

Keep the peek stage to write the reason for failure in job log

  Was this answer useful?  Yes

Rajendhar Reddy kuthuru

  • Feb 29th, 2016
 

Use the transformer options Abort after rows by using the Following Logic.
Use a stage variable to count the number of rejected records. Create a link in the transformer with the Constraint that the Rejected Stage Variable Count > Job Parameter for the Abort.
For the same link use the option Abort on Rows = 1 hcasj

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions