SAS中文论坛

标题: 如何将xpt读入sas [打印本页]

作者: shiyiming    时间: 2006-7-16 21:40
标题: 如何将xpt读入sas
理论上应该是可以直接读入,因为sas可以识别,但为什么读入之后是乱码?
作者: shiyiming    时间: 2006-7-18 22:23
标题: RE:
1. ensure that format of the input file is xpt created from SAS.
2. ensure that binary was used if the xpt file was FTP from another host.
3. sample code for reading XPT file to sas:
[code:0dc2f]
libname indt xport 'specified xpt file path and name';
proc copy in=indt out=work;
run;
[/code:0dc2f]




欢迎光临 SAS中文论坛 (https://mysas.net/forum/) Powered by Discuz! X3.2