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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.