Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 the difference between a utility and api in a RUN SQL component

1 Answers   Accenture,


Why might you create a stored procedure with the with recompile option?

0 Answers  


What are “business rules” in ab initio business rules environment (bre)?

0 Answers  


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

0 Answers  


) Diff.between Output index and Output indexes?

4 Answers   TCL, TCS,


What is the best way of creating huge test feeds?

1 Answers  


After completion of graph what is the next process to perform? who will perform the later process?

1 Answers  


Output for sort and dedupsort with NULL key?

6 Answers  


What is the difference between dml expression and xfr expression?

0 Answers  


What is max core value ? what is the use of it?

2 Answers   JPMorgan Chase, Wipro,


Explain what is sort component in abinitio?

0 Answers  


What is the difference between a scan component and a rollup component?

0 Answers  


Categories