Stop a Sequencer
Posted: Thu Nov 23, 2006 8:21 am
Hi Everyone,
I am designing a Sequencer in which my requirement is like this that i will be checking for a particular file using a shell script. If the file is present then i will run a set of jobs but if that is not present then i have to stop the sequencer there itself. Currently i am doing the same with the help of Terminator Activity. But the problem is that if i use this activity then the sequencer is getting aborted and i need to compile it again in order to run it. I tried to write a routine also so that i can use the DSStopJob function. But when i am trying to do the same i am getting a message like the array DSStopJob never dimensioned.
Can anyone please guide which is the best way to achieve the required functionality.
Thanks in Advance,
I am designing a Sequencer in which my requirement is like this that i will be checking for a particular file using a shell script. If the file is present then i will run a set of jobs but if that is not present then i have to stop the sequencer there itself. Currently i am doing the same with the help of Terminator Activity. But the problem is that if i use this activity then the sequencer is getting aborted and i need to compile it again in order to run it. I tried to write a routine also so that i can use the DSStopJob function. But when i am trying to do the same i am getting a message like the array DSStopJob never dimensioned.
Can anyone please guide which is the best way to achieve the required functionality.
Thanks in Advance,