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 |
Explain the difference between the truncate and delete commands?
How you can create cross joined output using join component ?
What is the core of co> operating system?
What is the difference between formal and export parameter? Export at what secenario we are going to use?
Layout - L1*, L1 - What is the difference
What are the differences between informatica and abinitio?
State the working process of decimal_strip function?
What are the different types of parallelism used in abinitio?
What happens when we provide null key to sort, merge and pbks in Abinitio ?
Dear all, Please send me the ab initio pdfs and faqs i need... my mail id is rrajesh.intel@gmail.com
what is macro?At what situation we have to face?
How we can remove temp files of a failed job if .rec is not available ? How to use in abinitio graph?