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

How can we test the abintio manually and automation?

1 Answers   JP Group,


What is meta programming ? Can you generate xfr dynamically? How to use in abinitio graph?

1 Answers   IBM, TCL,


How to find the project(pub,priv,common,client) in between public, Private,common?Any identification?

0 Answers  


What is the significance of ‘mp run’ command ?

1 Answers   TCL,


What you can store, manage and reuse centrally in ab initio enterprise meta>environment (eme)?

0 Answers  


What is the syntax for m_dump in abinitio?

0 Answers  


What are the facts that can compromise data integrity?

0 Answers  


What do you understand by a cartesian join?

0 Answers  


What are the various types of layout supported by abinitio?

0 Answers  


Is it possible to create a parameter in the component?

1 Answers  


Explain what does dependency analysis mean in abinitio?

0 Answers  


Tell us about the architecture of abinitio.

0 Answers  


Categories