You are on page 1of 2

SAS logo Print

Setup Instructions for SAS Enterprise Guide


Follow these instructions to create a project for this course that will prompt y
ou to create your data each time you open SAS Enterprise Guide.
Open a new project and run code to define the orion library and create your prac
tice data.
In SAS Enterprise Guide, you submit a program that creates practice data in the
temporary work library and assigns the orion library that you use in this course
to the work library where your data is stored. This scenario works in all SAS E
nterprise Guide configurations. 1.Start SAS Enterprise Guide and create a new pr
oject for this course.
2.Select File then New then Program (or click the New and select Program). An e
mpty Program window opens and a Program item is added to the Project Tree.
3.Click here to open a popup window with the code that creates your practice dat
a. Select all of the code (Ctrl+A) and then copy it (Ctrl+C).
4.Click in the Program window in Enterprise Guide and paste the code (Ctrl+V).
5.Click Run to submit the code. After the code runs, the Results window displays
two tables. The second table lists the data sets that the program created.
6.Click the Log tab and view the Log Summary to verify that there are no warning
s or errors.
View the list of notes (there will be many notes because SAS writes a note for
each data set that the program creates). Select the note Libref ORION was succes
sfully assigned as follows: to highlight it in the log. Just below that note in
the log is the path to the folder where your practice files are stored. In some
practices you might be asked to copy this filepath to create an external file. F
or now, just take note that this is where you can find the path to your files.

Set options and save the project to use in this course.


1.In the Project Tree, right-click Process Flow and select Rename. Type Autoexec
. When you name a process flow Autoexec, SAS Enterprise Guide prompts you to run
the process flow when you open the project. This makes it easy to recreate your
data when you start practicing in the course.
2.Select File then New then Process Flow (or click New and select Process Flow
). An empty process flow is added to the Project Tree window. You can use this p
rocess flow for your work.
3.Select Tools then Options then Results General. SAS Enterprise Guide submits s
ome code along with the code you submit. To make it easier to see the log messag
es associated with the code you submit, you can set an option to hide the genera
ted wrapper code. Clear the Show generated wrapper code in SAS log option.

4.By default, SAS Enterprise Guide creates results in SAS Report format. To more
closely match the output shown in this course, select HTML and clear SAS Report
in the Result Formats area. Click OK to close the Options window.
5.Select File then Save Project As (or click Save Project ). Save your project t
o a location on your local computer. We suggest you use the course code ECPRG193
to name this project.

You have set up your practice data. Each time you start SAS Enterprise Guide and
open the project for this course, you will be prompted to run the Autoexec proc
ess flow. You must select Yes to run the code that creates the data in the orion
library so that you have access to your practice data in the programs you write
. Each practice page reminds you to define the orion library and has a link to t
his setup page.

Close

You might also like