Difference between Force_error & Force_abort?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the importance of eme in abinitio?

676


Explain the methods to improve performance of a graph?

674


What is MAX CORE of a component?

718


What is the difference between rollup and scan?

1254


How co>operating system integrates with legacy codes?

617






Mention some ways for improving performance of a graph?

613


Mention what dedup-component and replicate component does?

618


Tell us about the architecture of abinitio.

652


What is a local lookup?

692


What is abinitio?

687


Describe the grant/revoke ddl facility and how it is implemented?

700


Explain PDL with an example?

818


What the difference between “look-up” file and “look is up” in abinitio?

836


What is the return type of lookup_not_loaded() ? Does it return 0 or 1 to signify true or false or does it return index ...can someone please explain.

865


how to insert/update a csv file by comparing it with another csv file?

1671