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 $mpjret?

0 Answers  


wt is meant by repartioning in howmany ways it can be done.

2 Answers  


what is deeup in unique only?

5 Answers   IBM,


Describe how you would ensure that database object definitions (tables, indices, constraints, triggers, users, logins, connection options, and server options etc)are consistent and repeatable between multiple database instances (i.e.: A test and production copy of a database)?

0 Answers  


what is macro?At what situation we have to face?

1 Answers  






Mention some ways for improving performance of a graph?

0 Answers  


How can you increase the number of ports of your output flow? What is the limit? Can i have 20 out ports?

2 Answers   IBM,


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

0 Answers  


How abinitio eme is segregated?

0 Answers  


what is difference between fuse and join? Explain in detail? In which scenario we will use them?

1 Answers   IBM,


Explain what does dependency analysis mean in abinitio?

0 Answers  


State the first_defined function with an example?

1 Answers  


Categories