The following SAS program is submitted:

data ONE TWO SASUSER.TWO;

set SASUSER.ONE;

run;

Assuming that SASUSER.ONE exists, how many temporary and permanent SAS data sets are created?

A. 2 temporary and 1 permanent SAS data sets are created

B. 3 temporary and 2 permanent SAS data sets are created

C. 2 temporary and 2 permanent SAS data sets are created

D. there is an error and no new data sets are created

Check AnswerHide Answer**Answer: A**
注解：DATA statement中可以同时建立多个data set，以WORK为*libref*或者省略*libref*的为临时data set，保存在WORK library下。指定其它*libref*的，比如题目中的SASUSER，则在该library下建立永久data set。更多关于DATA statement建立多个data set，可以参考SAS Base (35)。

*Related*

The answer should be D， I think. :-))

Do you know why the answer is D?