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.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!
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.