| Adding the Example Environment |
Restore the !SASROOT/misc/warehouse/unxdemo.tar file to the location where the example Environment will reside. In these instructions, this location will be referred to as /usr/dw . If you do not know the location of !SASROOT , please contact your SAS representative.
Change to the main directory for the sample Environment: cd /usr/dw
Uncompress the sample Environment: tar -xvf !SASROOT/misc/warehouse/unxdemo.tar
After the files have been restored, the following directory structure will be created:
./dwdemo/ ./dwdemo/_dwmd ./dwdemo/_master ./dwdemo/fmts ./dwdemo/jobinfo ./dwdemo/master_jobinfo ./dwdemo/null ./dwdemo/sdata ./dwdemo/src ./dwdemo/wdata
This demo contains formats that are referenced by placing the following libname statement in your autoexec file:
libname library 'dwdemo\fmts';
To add the sample Environment, change the current working directory to the directory where the sample is installed. On the SAS command line, type
x cd /usr/dw
Where /usr/dw is the main directory in which the example Environment is installed. This statement can also be put in your autoexec file.
Type dw on the command line to invoke SAS/Warehouse Administrator software.
After the Desktop window initializes, select the Add Item menu option and then the Data Warehouse Environment menu option from the File pull-down menu.
In the Data Warehouse Environment Properties window, type the following in the Path field:
dwdemo/_master
The sample warehouse is now added to the desktop. Double-click the Environment icon to begin exploring it.
Note: If you receive the following message
ERROR: Library _MASTER does not exist
then the current working directory
is not set correctly. ![[cautionend]](../../../../common/65445/HTML/default/images/cautend.gif)
For instructions about how to set the current working directory, see Step 2. You will need to exit SAS/Warehouse Administrator software and re-invoke it to have the current working directory modifications take effect.
Copyright © 2012 by SAS Institute Inc., Cary, NC, USA. All rights reserved.