阅读背景:

SAS宏变量表示Proc SQL语句中的内容。

来源:互联网 

I have a query I want to run through SAS in Proc SQL where I am getting data from one of our company databases. At the top of the query, for ease of use mostly, I want to be able to put a list of input variables. I am interested in getting data only in certain dates and certain states. The dates I care about are contiguous so I just make a SAS macro variable for the start date and end date and use a between statement. That's easy enough. But, for the states, I can't do such a thing. So, my thought was to do something likeI have a query I want to run through SAS in Pro




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: