SAS中文论坛

标题: SAS从ZIP文件中读取数据 [打印本页]

作者: shiyiming    时间: 2006-3-31 15:36
标题: SAS从ZIP文件中读取数据
[code:dd279]/* The syntax parameters for wzunzip are:             */
/*                                                    */
/*     specify the location of the downloaded add-on  */
/*     -o = overwrite existing file                   */
/*     -c = display contents of file to screen        */
/*     name of zip file                               */                        
/*     name of file inside of zip to be read          */

filename pipes pipe '"c:\program files\winzip\wzunzip.exe" -o -c c:\sas\data.zip data1.txt';

data test;
  infile pipes firstobs=9 truncover;
  input x y $;
  put x= y=;
run;[/code:dd279]
作者: shiyiming    时间: 2006-4-6 10:52
标题: 求助
如果原始的TXT文件内每行记录的长度很长,比如:5000列。




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