作者pgychen (pp)
站內Statistics
標題[問題] SAS 可以讓跑出來的結果存入變數嗎?
時間Wed Jun 1 10:07:47 2011
請問 SAS 跑出來的結果, 可以放入變數裡面嗎?
比方 我要知道資料庫筆數, 然後放入變數裡面
PROC CONTENTS DATA=A;
RUN;
這樣會跑出 Observation 有多少, 可否將這數字放入變數 X
然後我可以做下一步的流程
if X>1000 then ...
if X<1001 then ...
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.112.1.187
1F:推 imaltar:可以 用macro variable 06/01 10:57
2F:推 chien533:call symput 06/03 14:15