In reply to sharvil111:
Hi sharvil111,
Thanks for the input. But my actual variable name is different from what I have posted here. It is quite big with underscores and all that and is not a SV keyword. I am putting this code in a header file outside any initial block, tasks or functions and included in a package. Would that create the problem?
Rishi