Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

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

0 Answers  


What is flow buffering ? How it reduces the chances of having deadlock ? How to use in abinitio graph?

0 Answers   IBM, TCL,


explain the environment varaibles with example?

0 Answers  


What is the purpose of having stored procedures in a database?

0 Answers  


Suppose you find the term validation mentioned with a set of data, what does that simply represent?

0 Answers  


How transaction file different from that of a sort file?

0 Answers  


What is the difference between look-up file and look-up, with a relevant example?

0 Answers  


Describe which system or process elements you would review when trouble-shooting general server slows ?

1 Answers  


Can you explain the co>operating system’s processing model?

0 Answers  


Mention what information does a .dbc file extension provides to connect to the database?

0 Answers  


When we should use 'jobid' for commit table (Output table component?? How to use in abinitio graph?

0 Answers   IBM, TCL,


How to add default rules in transformer?

0 Answers  


Categories