|
Be sure to complete this practice. You'll use the saved file in a later
practice. |
-
If the Program Editor and Log windows are not visible, redisplay them.
-
Copy the program below and paste it into the Program Editor window (or issue the command
copy sashelp.oltutor..source ).
data sasuser.mysalesdata;
set sashelp.prdsale;
if product="SOFA";
run;
This program creates a new table, Mysalesdata (which is
stored in the Sasuser library) by reading the
Prdsale table stored in the Sashelp library.
The new table contains only rows where the value of the column
Product is SOFA.
- Select File
Save As. Save the program as mysales.sas
in your My SAS Files directory (or in your default file storage location). In the CMS operating environment, specify mysales sas in quotation marks as the filename and filetype.
-
Select Run
Submit. Notes about your program and its processing are written
to the Log window.
Return here and select Next.
|
|