I am trying to append a dataset with different variables to base dataset with FORCE option. However everytime the loop iterates, it adds observations but is not adding the variable from the new dataset. Any suggestions?

有帮助吗?

解决方案

PROC APPEND, even with FORCE options does not add VARIABLES, just RECORDS (observations). FORCE enables append if source table does not contain some of variables in target table, but does not add variables from source table if they do not exist in target.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top