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 do you know about abinitio?
what are kinds of layouts does ab initio supports ?
Describe the process steps you would perform when defragmenting a data table. Does this table contain mission-critical data?
After completion of graph what is the next process to perform? who will perform the later process?
What is .abinitiorc and What it contain?
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
Can you explain data flow graph with an example?
What are Cartesian joins?
Hi friends if u don't mind i want one question What abt READ MULTIFILE COMPONENT? PLZ GIVE BRIEFLY?
Mention what is the role of co-operating system in abinitio?
What are the different types of parallelism in ab initio?
Mention what is a partition and what are the different types of partition components in abinitio?