Hi Team,
I am installing SAS EG newly and want to save few MACROS in autocall library so that my users should able to call them in their daily programming. Not sure how to fins autocal library or setup a new permanent library as autocal library. Please help me with the best process. We are installing it in Linux environment.
thanks,
Thalla
This is not an Enterprise Guide issue per se, as everything has to be done on the SAS server side.
Create a directory on the SAS server where all your users have read/execute permission.
Store your macros there; each macro in its own .sas file, and the name of the file must correspond to the macro name (lowercase). Make sure that all those files also have read permission for your users granted.
Then, add that location in the SASAUTOS= system option. Do that in the SASApp/autoexec_usermods.sas, so your whole application server context will pick it up.
This is not an Enterprise Guide issue per se, as everything has to be done on the SAS server side.
Create a directory on the SAS server where all your users have read/execute permission.
Store your macros there; each macro in its own .sas file, and the name of the file must correspond to the macro name (lowercase). Make sure that all those files also have read permission for your users granted.
Then, add that location in the SASAUTOS= system option. Do that in the SASApp/autoexec_usermods.sas, so your whole application server context will pick it up.
Calling out to @ChrisHemedinger and @CaseySmith
Maybe there is a way to add your macros to EG's suggestion list, but I suspect this would need to be done on every client separately.
Unfortunately, the editor in EG is not aware of AUTOCALL macros and won't list them in suggestions as you type. Only those macros that are defined in the same code file will show up as suggestions. Not much help here, I'm afraid.
Hey @THALLA_REDDY ,
have you read through: https://go.documentation.sas.com/?cdcId=pgmsascdc&cdcVersion=9.4_3.5&docsetId=mcrolref&docsetTarget=... ? It explains all the steps and explains a lot. What I would stress is to store the raw code of the macro as you can re-create the original code from the compiled macro and track the raw code in vcs like git.
Kind Regards
David
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.