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?
wt is meant by repartioning in howmany ways it can be done.
what is deeup in unique only?
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)?
what is macro?At what situation we have to face?
Mention some ways for improving performance of a graph?
How can you increase the number of ports of your output flow? What is the limit? Can i have 20 out ports?
Mention what the difference between “look-up” file and “look is up” in abinitio?
How abinitio eme is segregated?
what is difference between fuse and join? Explain in detail? In which scenario we will use them?
Explain what does dependency analysis mean in abinitio?
State the first_defined function with an example?