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 |
Mention what is abinitio?
What is the Reformat Layout?(i/p ->Reformat->o/p)
What is ab initio enterprise meta>environment (eme)?
Describe what the SQL Server tempdb and tlog files are used for?
how to create a new mfs file? where will we specify the number of partition eg 4 way ,8 way?
What do you mean by a transaction file and how it is different from that of a sort file?
Describe the Evaluation of Parameters order.
Which component breaks the pipe line parallelism in graph?
After completion of graph what is the next process to perform? who will perform the later process?
from a graph how to select only second record always in scan?
How to execute the graph from start to end stages? Tell me and how to run graph in non-Abinitio system?
What a local lookup is?