Is it possible to have specific code statements already typed in when a SAS session starts? I always begin my programs with the same LIBNAME statements and pass through statements. I'd like to avoid having to enter these with each new SAS session.
Thank you for your help!
Richard
That is what the AUTOEXEC.SAS file is for. Add a reference in the config file
-autoexec "path and file name"
that file will execute every time SAS starts.
That is what the AUTOEXEC.SAS file is for. Add a reference in the config file
-autoexec "path and file name"
that file will execute every time SAS starts.
Have a look at autoexec.sas, this is run when SAS starts up.
Thank you, ballardw and RW9!
In a EIP (BI/DI) setup you a usermods-autoexec for each server-process and appserver.
Same goal as old classic autoexec usage. It is different form a metadata registration as it also offers filename macro locations an much more (user dependicies) not possible in metadata.
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.