Hi,
I have a windows directory in which I have created a few macros as .txt files. I want to store the names of these text files in to a sas macro. The intent is that I want to declare (%include) all macros within that directory using this sas macro instead of asking user to enter all the macros one by one. Please note that each text file contains some lines of sas codes (and no data)
Thanks!
Mayank
What you want to use is sasautos:
http://documentation.sas.com/?docsetId=mcrolref&docsetTarget=p12b2qq72dkxpsn1e19y57emerr6.htm&docset...
There is no benefit to you coding this yourself.
What you want to use is sasautos:
http://documentation.sas.com/?docsetId=mcrolref&docsetTarget=p12b2qq72dkxpsn1e19y57emerr6.htm&docset...
There is no benefit to you coding this yourself.
Thats not a quick fix, thats a very long fix, which may not work all the time and isn't portable.
options sasautos=(&toolkit.);
Is a quick fix.
Thank you, again. It worked! Much simpler method.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.