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.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.