Can anyone give me an exaple of realtime start script in the graph?

Questions by rupal   answers by rupal

Showing Answers 1 - 2 of 2 Answers

K Nagi Reddy

  • May 4th, 2006
 

If you want to run the graph iff the output file exists then you canwrite a script in start script to do the same.

psuedo script:

if out.dat not exists

exit

endif

  Was this answer useful?  Yes

Here is a simple example to use a start script in a graph:

In start script lets give as:

export $DT=`date '+%m%d%y'`

Now this variable DT will have today's date before the graph is run.

Now somewhere in the graph transform we can use this variable as;

out.process_dt::$DT;

which provides the value from the shell.

Hope this helps...

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions