What is $mpjret? Where it is used in ab-initio?
Answers were Sorted based on User's Feedback
Answer / ananya
$mpjret is the graph execution status return value.
It can be used in end script of a graph.
Ideally the value of $mpjret should be 0(zero).
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / anne
$mpjret is a variable declared in the end script which
returns the value of the execution of the graph.
Its very simalr to the $? in unix
the above command returns the value 0 ot 1
0-success
1-failure
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / pkr
we can use $mpjret in end script like this:
if 0-eq($mpjret)
then
echo"success"
else
mailx-s"(graphname)failed" mailid.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / avijit
$mpjret only works if you want to use it in the graph end script .
But if we want the return status in case we are running the graph from the back end it will not work.
If you are writing Unix shell script then use:
air sanbox run graph.mp
if [ $? –eq 0 ]; then
echo "Graph Failed"
| Is This Answer Correct ? | 1 Yes | 0 No |
what does layout means in terms of Ab Initio?
What is the language used in Ab Initio ?
I am having 10 records in i/p file,and i want to load only one record at a time to the output file.Then how can i do it?
How can I run the 2 gui merge files?
how will i can implement Insert a new record (if not present in Input file),Update the record (if present in input) a csv file in Abinitio
Mention what are the different types of parallelism used in abinitio?
What are the steps to create a repository in ab initio?
How do you add default rules in the transformer?
how does deadlock occur?
How to Improve Performance of graphs in Ab initio?
How do you add default rules in transformer?
Layout - L1*, L1 - What is the difference ? How to use in abinitio graph?