What is $mpjret? Where it is used in ab-initio?

Answers were Sorted based on User's Feedback



What is $mpjret? Where it is used in ab-initio?..

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

What is $mpjret? Where it is used in ab-initio?..

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

What is $mpjret? Where it is used in ab-initio?..

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

What is $mpjret? Where it is used in ab-initio?..

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

Post New Answer

More Ab Initio Interview Questions

What is air-project parameter ?

0 Answers  


What is the difference between partitioning with key and round robin?

7 Answers   TCS, Wipro,


i need help from u. i want to learn abinitio. please provide pdfs or material or books.

56 Answers   iGate, TCS,


. What is dynamic lookup ?

1 Answers   CTS,


Hi friends if u don't mind i want one question What abt READ MULTIFILE COMPONENT? PLZ GIVE BRIEFLY?

2 Answers  






What is conditional DML and Structured DML?

2 Answers   Accenture,


What are the Types of parallelism in detail?

0 Answers  


What is rollup component?

0 Answers  


how to create a new mfs file? where will we specify the number of partition eg 4 way ,8 way?

4 Answers   IBM,


Explain the difference between the truncate and delete commands?

0 Answers  


How to process records in batches like 1-20 records in first execution and 21-40 records in second run.. so on

0 Answers  


hi, am put into Ab initio now. I need some material for to learn it!! i have to give a test also.. can anyone help me provide material please....

1 Answers  


Categories