Difference between Force_error & Force_abort?
Answers were Sorted based on User's Feedback
Answer / keerthika
force_error can be written by the developer to exit by throwing an user specified error.
Eg : if (age<18) force_error("Age not suitable for Voting")
in above case the graph fails with Exit 3 along with error message in error log file saying - Age not suitable for Voting
Whereas , force_abort just fails the graph without any message even this with return code exit 3 for failure
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / raju mortale
force_error() function it will not abort graph execution it will send error msg to error port if condition is true.
ex- if(in.gender=="Female") force_error("Gender is Female.!")
but in case of
force_abort() function it will abort graph execution with error msg, if condition is true.
ex- if(in.gender=="Female") force_abort("Gender is Female.!")
| Is This Answer Correct ? | 1 Yes | 1 No |
What is the difference between a utility and api in a RUN SQL component
Why might you create a stored procedure with the with recompile option?
What are “business rules” in ab initio business rules environment (bre)?
How can you force the optimizer to use a particular index?
) Diff.between Output index and Output indexes?
What is the best way of creating huge test feeds?
After completion of graph what is the next process to perform? who will perform the later process?
Output for sort and dedupsort with NULL key?
What is the difference between dml expression and xfr expression?
What is max core value ? what is the use of it?
2 Answers JPMorgan Chase, Wipro,
Explain what is sort component in abinitio?
What is the difference between a scan component and a rollup component?