How to stop or kill the running sequences

In reply to avpchandra:

Hi,

I am calling the sequences from testcase itself not from the another sequence.
I don’t think we use fork join in testcase level, we use it sequence.

However, your code works even without kill bit like
fork
begin
seq1.start(seqr1);
end
begin
seq2.start(seqr2);
// seq1.kill_seq = 1;
end
join_any

But, i want to know if any possible way to end the sequence without any dependency.
Something like $finish in verilog/system verilog.

Thanks.