Difference between Force_error & Force_abort?
Answers were Sorted based on User's Feedback
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 |
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 |
What is difference between API
2 Answers CitiGroup, IBM, TCL,
Name the different type of processing based on the steps that you know about?
Have you worked with packages?
How you can run a component for certain conditions ?
Can anyone give me an example of realtime start script in the graph?
What is $mpjret?
What is the difference between a DB config and a CFG file?
How can you force the optimizer to use a particular index?
What do you mean by the term data warehousing? Is it different from data mining?
What is EME?What is GDE?What is Co-operating system?What is the link between all these?Please explain elaborately.
What is the importance of eme in abinitio?
Is there any function in ab Initio which act like SCAN component