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.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.