SAS数据导入的三种方法举例

SAS数据导入的三种方法举例:
rsubmit;
data rdmtmp.cust_phone_internet_201701;
 set zql.cust_phone_internet;
run;
endrsubmit;

rsubmit;
proc sql;
create table rdmtmp.cust_phone_internet_201701
as
select * from zql.cust_phone_internet;
quit;
endrsubmit;

rsubmit;
data rdmtmp.cust_phone_internet_201701;
set rdmtmp.all_201701_02_update(keep=cust_no internet_num where=(internet_num>=1))
rdmtmp.b_ey_yt_all_201611_02(keep=cust_no internet_num where=(internet_num>=1))
rdmtmp.b_ey_yt_all_201612_02(keep=cust_no internet_num where=(internet_num>=1));
run;
endrsubmit;

你可能感兴趣的:(SAS编程)