我想用sas的proc ga程序步写ga-pls,在自定义函数中用run_macro()运行自定义宏函数,这样在设想中可以同时在proc ga程序步中嵌入其他模型的程序步,当然pls也是。但是,按照网上查的资料写出来的测试程序未返回相关值,提示错误:ERROR: The variable n was referenced but not given a value.ERROR: Compilation error.
ERROR: Execution terminating because of previous errors.