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

Hello,

I tried googling this question and either I was searching incorrectly or I didnt get the answer so am trying here for some luck.

 

Whenever I start a new SAS program there are a ceratin set of codes that I always include in my code. e.g. options formdlim='-'; run;

I like to use this so that my output results dont cut pages.

There are also certian libnames that I always use.

I figured that there must be a file within SAS that we can add these codes to, so that the next time I open SAS by default that already are included or atleast run the in background so that I dont have to type this all the time.

 

Suggestions on where I can find the file or suggestions on online resources I can use to help me?

 

Thank you!

 

1 ACCEPTED SOLUTION
3 REPLIES 3
sas_student1
Quartz | Level 8

@Tom Thanks!

I did realize I had to create an autoexec.sas file, I kept on searching for an already file to alter.

The link makes so much sense.

 

Thank you!

sas_student1
Quartz | Level 8
I did not realize, not I did realize

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 3 replies
  • 489 views
  • 0 likes
  • 2 in conversation