Thanks, Tom! it is very helpful. I realized that %str() here is not necessary. Is it particularly sensitive when SAS takes it as a dataset name? I mean if I pass a macro variable with %str() for non-dataset name, do I still have this trouble? in this case, %str() only acted negatively for newly created dataset: work.prim_&prim_, but existing dataset Mock.&prim has not such a trouble. Best Don
... View more