How to use do_not_randomize in my local UVM envt

In reply to An Pham:

Hi An,
I tried your solution, but somehow it doesn’t work in my case. Will it override the do_not_sequence in the uvm_sequence_base?
I had set the do_not_randomize as you suggested in the build_phase of my test, above the line in which I set my default_sequence.
And in the body() of my sequence which was set as default _sequence I get() it. I displayed the value of do_not_randomize and it displayed 1. But the randomization is still happening as per my constraints. Any suggestions???

thanks
myashu