Tip of the Day

From sasCommunity
Jump to: navigation, search

sasCommunity Tip of the Day

Enterprise Guide 4.2 allows you to specify SAS code to be submitted when your Workspace Server session is created on your SAS Server. Thus you can have user specific autoexecs. You simply have to define what SAS code to run. Just select:

  • Tools
  • Options
  • SAS Programs
  • Select the checkbox for Submit SAS code when server is connected
  • Click the Edit button and enter the code to be run whenever you open a project.

The sequence is

  • SAS autoexec processing (several levels possible in a SAS 9.2 deployment)
  • EG built-in definitions for macros/options (for example, options validvarname=any)
  • Tools->Options->SAS Programs: SAS code to submit when you connect
  • Tools->Options->(SAS Programs or Tasks): code to submit before running task/program (that is, there are also options to provide code to run before and/or after submitted code).

This is specific to the user/computer that Enterprise Guide is running on and is a replacement for the undocumented EGauto.sas file that many users knew about in prior versions of Enterprise Guide.

Submitted By Don Henderson

Feel free to comment on this tip.


Prior tip - Next tip -- Random Tip

Submit a Tip


 

Tips Index by Status

Currently in Use | Yet to be Scheduled | Still Under Review | Tip Awaiting Refinement

Search Tips:


The Tip of the Day Project

A new technical Tip of the Day related to SAS software will be shown on this page and the sasCommunity.org main page every day. Before getting started, you can Browse and Search the current list of tips contributed by users.

Anyone can participate. We hope you do! Here's how:

  1. Submit a Tip by posting a SAS tip that you think others might find useful
  2. Review a Tip prior to publishing
This effort is similar to, and was motivated by, the WikiPedia Tip of the Day Project. Please tell us what you think