Maintaining Environments |
SAS/Warehouse Administrator runs in a SAS session. The attributes of the underlying SAS session should be appropriate for the tasks you want to perform in a particular Warehouse Environment.
Note: When you create a given Warehouse Environment, you should provide the means to start SAS with a configuration file and an autoexec file appropriate for the Environment.
It is recommended that you create an appropriate start method for any Environment that you create, so that anyone who uses your Environment will have the correct session attributes.
Creating a Shortcut on a PC Desktop |
Suppose that you have installed SAS/Warehouse Administrator on a Microsoft Windows NT host, and you have created a Warehouse Environment on that host. The start method for that Environment might be a desktop shortcut, which could be created as follows:
Click the right mouse button on the desktop and select New, and then Shortcut.
In the Create Shortcut window, click to select the appropriate sas.exe file.
In the next window, enter a name for the shortcut and click .
The shortcut is created on the desktop. The next task is to specify a SAS configuration file and a SAS autoexec file appropriate for the tasks you want to perform in SAS/Warehouse Administrator.
Click the shortcut icon with the right mouse button and select Properties.
In the Properties window for the shortcut, click the Shortcut tab.
The Shortcut tab displays. The Target field specifies the sas.exe file that you selected in Step 2. For example,
On the Shortcut tab, specify a SAS configuration file and a SAS autoexec file appropriate for the tasks you want to perform in SAS/Warehouse Administrator in the Target field. For example,
"D:\sas8\sas.exe" -config "d:\username\config\sasv8.cfg"
-autoexec "d:\username\config\autoexec.sas"
You could replace username with any convenient directory name.
Note: To handle spaces in pathnames, use double quotation marks to delimit all paths.
For details about SAS configuration files and SAS autoexec files appropriate for SAS/Warehouse Administrator, see SAS Startup Files and SAS/Warehouse Administrator.
To start SAS in a particular directory, specify that directory in the Start in field. For example,
This is important if the Warehouse Environment that you created uses relative pathnames. For details, see Opening an Environment with a Relative Pathname.
Copyright © 2012 by SAS Institute Inc., Cary, NC, USA. All rights reserved.