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 $mpjret?
what is the syntax of m_dump command?
Have you worked with packages?
Can anyone give me an example of realtime start script in the graph?
When we should use 'jobid' for commit table (Output table component?? How to use in abinitio graph?
Can you run air sandbox run using pset ?
Define ramp limit in ab initio?
what is macro?At what situation we have to face?
Can sorting and storing be done through single software or you need different for these approaches?
Explain the methods to improve the performance of a graph?
What are the differences between different versions of co-op?
what is deeup in unique only?