各位大大~不好意思
可否勞煩幫小弟看一下此行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)