When should be program block dynamic or static ? members of static program block , members of automatic program blocks?

In reply to sriram.seshagiri:

Perhaps you need to show the exact code that gives you unexpected results. My code on EDAPlayground shows the same results with and without the automatic keyword.