SAS data step view and data wrap in a macro for loop

后端 未结 3 1433
挽巷
挽巷 2021-01-28 00:30

For a university research project I am retrieving data from WRDS via SAS and am relatively new to SAS. I am trying to retrieve data in a specific interval provided by WRDS which

3条回答
  •  北恋
    北恋 (楼主)
    2021-01-28 01:17

    This line is just wrong.

    %local stock = "COP";   
    

    You are trying the define local macro variables named = and "COP". You probably meant to do this.

    %local stock ;
    %let stock = "COP";   
    

提交回复
热议问题