How to create a macro variables globally as it should be accessible by ateam of 10-20 members?
Global macro variables exist within a SAS session. They cannot be shared across SAS sessions.
That said, if you have a team and you want every team member to have a group of standard global macro variables (&OurTeam, &OurBoss, &Project, etc.) there are lots of options, most of which would involve sharing code and/or data among the team members.
For example, if you have a shared autoexec, you could define the macro variables there. To get more meaningful help, I would suggest you describe a bit more about your environment (server SAS, PC SAS, Enterprise Guide, Studio, ....?) and also what approaches you might have considered/tried already.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.