|
|
6#

楼主 |
发表于 2008-11-14 23:18:40
|
只看该作者
Re: 求助:关于call execute
you may enclose any # of valid SAS statements as a string within a CALL EXECUTE statement, and the enclosed statements get executed only [u:hjdfgr5c]after[/u:hjdfgr5c] the current DATA step (to which your CALL EXECUTE statement belong).
There're many examples, [url=http://www.google.com/search?hl=en&q=sas+call+execute:hjdfgr5c]google[/url:hjdfgr5c] is your friend.
IMHO, a SAS program appears similar to a web page, while macros are server-side scripts, DATA steps and Procedures are client-side scripts, and CALL EXECUTE just resembles response.write() in ASP, print in PHP, or out.println() in JSP. it's super flexible, but the source code w/ CALL EXECUTE is hard to understand. i would try my best to avoid it in my program. |
|