作者ayung0508 (阿勇就是我)
看板Statistics
标题[问题] 请教一段SAS,不知道正不正确??
时间Sat Jan 19 11:23:55 2008
各位大大~不好意思
可否劳烦帮小弟看一下此行SAS
dm"output;clear;log;clear;";
*filename ele 'd:\ccz\mydata\20070118\electronic.txt' ;
data ele;
infile 'd:\ccz\mydata\20070118\electronic.txt' ;
informat date yymmdd10.;
format date yymmdd10.;
input scusip date ret me @@;
year = year(date) ;
proc print ;
但是由於我的资料笔数五万多笔
所以总是按一次run跑不出来[看起来像是当掉"持续在running"]
得按第二次run才跑出来
虽然结果有出来~LOG看起来也没啥大问题
NOTE: The infile 'd:\ccz\mydata\20070118\electronic.txt' is:
File Name=d:\ccz\mydata\20070118\electronic.txt,
RECFM=V,LRECL=256
NOTE: 55763 records were read from the infile 'd:\ccz\mydata\20070118
\electronic.txt'.
The minimum record length was 23.
The maximum record length was 30.
NOTE: SAS went to a new line when INPUT statement reached past the end of a
line.
NOTE: The data set WORK.ELE has 55763 observations and 5 variables.
NOTE: DATA statement used (Total process time):
real time 0.12 seconds
cpu time 0.12 seconds
534 proc print ;
可以请教这是啥问题吗?
不知道会不会影响到我後面的执行程式
又或者我可否用libname先行输出资料档馆,之後再读取比较不会影响程式执行
谢谢解惑!!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 218.174.193.197
※ 编辑: ayung0508 来自: 218.174.193.197 (01/19 11:43)