BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
THALLA_REDDY
Obsidian | Level 7

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

1 ACCEPTED SOLUTION
1 REPLY 1

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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 lock in 2025 pricing—just $495!

Register now

Creating Custom Steps in SAS Studio

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1310 views
  • 1 like
  • 2 in conversation