标题: 请问如何能够进行“程序外”的输入 [打印本页] 作者: shiyiming 时间: 2006-3-3 11:40 标题: 请问如何能够进行“程序外”的输入 请问macro可以让用户在运行SAS程序时,从某个interface进行输入,比如指定要打开的文件路径或给某个变量赋值?作者: shiyiming 时间: 2006-3-5 21:14 标题: to maurice 当然可以,比如用SAS/AF,C,Java等等。
关键是你到底想干什么,需要把需求描述的详细些。作者: shiyiming 时间: 2006-3-5 22:40 标题: to shiyiming 下面是我的一段程序:
libname PADS "E:\work\Phamarcokinetics Assay Data System";
PROC IMPORT OUT= work.ORIGINAL
DATAFILE= "E:\work\Phamarcokinetics Assay Data System\miso20060104.txt" /*locate the file of the raw data*/
%macro test;
%put Enter your first name:;
%input first;
%mend test;
data test;
%test
run;
还请指点!谢谢!作者: shiyiming 时间: 2006-3-6 10:54 标题: to maurice 你先看看 <!-- m --><a class="postlink" href="http://support.sas.com/techsup/unotes/SN/001/001887.html">http://support.sas.com/techsup/unotes/S ... 01887.html</a><!-- m -->