[请益] 请问用SAS叫入dbf档

楼主: linlin922 (linlin)   2008-07-03 19:17:33
目前遇到的问题:
我在SAS内叫入DBF档,
但是叫到lib内有成功,用set转入work内却始终有问题,
可以请大家帮忙检查问题出在哪吗?或是有其他建议的语法?
dm "log;clear;output;clear;";
options ps=500 ls=160 nodate nonumber;
libname sas'D:\saslib_20080702';
PROC IMPORT OUT=sas.bir74
DATAFILE= "D:\dbase\74.dbf"
DBMS=dbf replace;GETNAMES=NO;RUN;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^不知问题是否出在这?
data bir74; set sas.bir74;
keep fa ma newpar newnum
id_n sex_n bhtwf74_ye month_n day_n bhtwf74_pa bhtwf74_nu newpar
id_f year_f month_f day_f edu_f
id_m year_m month_m day_m edu_m
nfa nnfa nma nnma npar nnum year_n gender l type nnpar nnnum;
拜托高手帮忙解答..小妹感激不尽..........

Links booklink

Contact Us: admin [ a t ] ucptt.com