In reply to Raja.

Thank you, Raja, for your comment and for catching this glitch. Indeed, the original code I was testing had if 0 then set SUSPICIOUS_CASES nobs=n; and somehow that if 0 then got lost. I just corrected it so it should work fine as well as your provided version. I also augmented code description to explain the if 0 then purpose.