Hi all, is there a way to compile a macro directly from GitHub gist?
SAS macros are code pieces provided as text. Copy/paste into a code window, and run that. That compiles the macro for the current SAS session.
SAS macros are code pieces provided as text. Copy/paste into a code window, and run that. That compiles the macro for the current SAS session.
I am using the following but it doesn't work
%include "https://gist.github.com/.../....";
Here is the warning:
WARNING: Physical file does not exist, C:\Windows\system32\https:\\gist.github.com\...\...
%include only works from the local filesystem, it can't resolve URLs.
So you need to download the file to your SAS machine and include from there.
Thank you, I will advise those plan to use the macro to download and run %include.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.