You can add this statement to the SAS Enterprise Guide options to guarantee that it is submitted when you connect to your SAS server. You can find the option under:
Tools->Options->SAS Programs: "Submit code when connecting to SAS server" Check the box and add the code that you want to run.
More information at: http://www.sascommunity.org/wiki/Tips:Project_Specific_Autoexecs_in_Enterprise_Guide
Chris Hemedinger
2010-01-19 16:51:06