首先获取编码格式:
%PUT %SYSFUNC(getOption(ENCODING));
libname findoout ODBC
datasrc=SurveyReport
user=shendu
password=********
preserve_tab_names=yes
connection=shared
insertbuff=1000
readbuff=2500;
LIBNAME S 'C:UsersAdministratorDesktopPAYRECORDdata';
**"EUC-CN"为当前编码格式;
DATA S.PayRecordInfo(encoding="EUC-CN");
SET findoout.PayRecordInfo;
RUN;
PROC PRINT DATA=S.PayRecordInfo(OBS=10);
RUN;