BookmarkSubscribeRSS Feed
aci_kc
Fluorite | Level 6
In EG 4.1 an EGAuto.sas file is created the first time you start EG and you can add any code you want executed at startup on the server. How does 4.2 handle this process? It appears to be different than 4.1 and I seem to remember hearing a presentation at the conf that said it could be done. I have done a number of searches and can not find anything that tells me. thanks
3 REPLIES 3
aci_kc
Fluorite | Level 6
Response from Tec Support:

To replace the egauto.sas functionality, EG v4.2 has a new section under:
Tools-> Options-> SAS Programs; Under "Additional SAS code", select: "Submit SAS code when server is
connected". Select the "Edit..." button to open the editor and insert your specific SAS source to run.
Felix
Calcite | Level 5
When this is done it modifies the file EGOptions.xml. If you want to change this file prior to opening EG or if you need to do this for multiple users, you can just add the code directly to the xml file in the section below:
/* Insert custom code after server connection here */

ChrisHemedinger
Community Manager
You can learn more from this tip:

http://www.sascommunity.org/wiki/Tips:User_Specific_Autoexecs_in_Enterprise_Guide

Chris
SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 1564 views
  • 0 likes
  • 3 in conversation