Difference between Force_error & Force_abort?

Answers were Sorted based on User's Feedback



Difference between Force_error & Force_abort?..

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

Difference between Force_error & Force_abort?..

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

Post New Answer

More Ab Initio Interview Questions

What is difference between API

2 Answers   CitiGroup, IBM, TCL,


Name the different type of processing based on the steps that you know about?

0 Answers  


Have you worked with packages?

0 Answers  


How you can run a component for certain conditions ?

1 Answers  


Can anyone give me an example of realtime start script in the graph?

0 Answers  






What is $mpjret?

0 Answers  


What is the difference between a DB config and a CFG file?

9 Answers   Wipro,


How can you force the optimizer to use a particular index?

0 Answers  


What do you mean by the term data warehousing? Is it different from data mining?

0 Answers  


What is EME?What is GDE?What is Co-operating system?What is the link between all these?Please explain elaborately.

1 Answers  


What is the importance of eme in abinitio?

0 Answers  


Is there any function in ab Initio which act like SCAN component

3 Answers  


Categories