Hello -
How to create a macro in SAS Enterprise guide 8.2, which I should be able to use in all my projects. please find the details below:
For Example, I am creating a Date macro which will resolve &CURRDATE, &M_BEG_DT, &M_END_DT, &Y_BEG_DT, &Y_END_DT etc.., Will be using in my regular codes. So can Anyone let me know how can we save the macro code on server? so that I can call the macro in starting of my program to resolve all it's related values like mentioned above....
Any help to solve this is really appreciated.
Thanks in Advance
Thalla
You can store the macros in an autocall library. See replies from @Kurt_Bremser and @Tom in the thread https://communities.sas.com/t5/SAS-Stored-Processes/How-to-store-SAS-Macros-in-a-permanent-Library/t... for details.
You can store the macros in an autocall library. See replies from @Kurt_Bremser and @Tom in the thread https://communities.sas.com/t5/SAS-Stored-Processes/How-to-store-SAS-Macros-in-a-permanent-Library/t... for details.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.