. How can you run a graph continuously without using
continuous components ?

Answer Posted / niroj kumar pattnaik

We can try one approach by calling the graph's own deployed
script name from its end script call.

For Example:
Suppose, we have a graph my_graph.mp and its deployed
script my_graph.ksh in $AI_RUN.

Now in the end script of our graph we can call the deployed
scripts as given below:

if [ $mpjret -eq 0 ]; then
$AI_RUN/my_graph.ksh
else
echo "Graph Failed"
fi

-----------------
Though this approach mimics the style of a continuous
graph, it can't replace the benefits of it. This approach
can be further enhanced to take care of roll-back and
failure handlings by using "trap" command with a user
defined unix script/function.

Thanks,
Niroj@Thbs

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When running a stored procedure definition script how would you guarantee the definition could be rolled back in the event of problems?

852


State the relation between EME, GDE and Co-operating system?

862


Explain PDL with an example?

1025


What are the various types of layout supported by abinitio?

762


What exactly do you know about the typical data analysis?

790


Describe the process steps you would perform when defragmenting a data table. This table contains mission critical data?

845


What is a data processing cycle and what is its significance?

858


How can you import XML repositories exported from different tools like ODI

3316


what is the output when -1 is put in select_expr of FBE?

1146


how to insert/update a csv file by comparing it with another csv file?

2074


We know rollup component in abinitio is used to summarize a group of data record then why do we use aggregation?

1026


What are the six data process products of ab initio (architecture of ab initio)?

875


what is the use of catlog or catlogfile?

2114


What do you understand by a cartesian join?

862


How to insert/update a csv file by comparing it with another csv file? for example, i have 2 input files : ColA ColB ColC 1 A AA 2 B AB 3 C CC and second one : ColA ColB ColC 2 B BB 4 D DC Job should compare these 2 files and update the records present in first input file. so the output file will look like this: ColA ColB ColC 1 A AA 2 B BB 3 C CC 4 D DC

1741