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 |
List out the file extensions used in abinitio?
Hi friends, I have 100 records in my input file, if i run first,the first 10 records are stored into the output and if i run second time next 10 records stored into the output file like that please let me know the answer Thanks, krishna
How you can test a dbc file ?
What are the components new in 2.14 compared to 1.8 and State the usage of the components?
Hi friends i have 3 input files 1 is country file(cid,cname) 2 is State file(cid,sname) 3 is populate file(pid,sid,Adress) I want (cname & total poplation) how i can get the output please help me Thank you
How to implement the funtionality in the custom component to use in the graph?
) How can you count the total no .of records in the specified partition in the Multifile?
What is m_dump?
What is the diff between abinitiorc and .abinitiorc files ?
Have you worked with packages?
What is Is_defined(), Is_null(), Is_Blank()?
How will you use EME for view or publish metadata reports using EME?