Alternative to Autoexec.sas

Reply
Contributor
Posts: 25

Alternative to Autoexec.sas

Hello,

I am running base sas 9.3 in a cloud environment.  Being lazy, I don't want to define my libnames every time I start a session, or specifically, write a new program.

I can't use an Autoexec.sas file because it is a server solution, and this would affect everyone.

I don't have EG, so I can't have the nice feature of auto-execute custom code.

Is there a way to set my profile up to auto-run this?

Thanks!    

Super Contributor
Posts: 334

Re: Alternative to Autoexec.sas

Posted in reply to That____Redhead

What we did was point in the server autoexec file to personalized versions for each user on their network drive using:

%include "\\server domain\%sysget(username)\autoexec.sas" ;

So each user puts a copy of the autoexec they wanted to use on the root of their network drive.

EJ

Ask a Question
Discussion stats
  • 1 reply
  • 162 views
  • 0 likes
  • 2 in conversation