Assignment title: Information


Download practice file SAS Workshop 1 files.zip from L@G. Extract the data into a folder named SASWorkshop1 on your USB drive. (We assume that this is F:\SASWorkshop1) Navigate to the SASWorkshop1 folder and verify that it contains the sample files. Run SAS Start > All Programs > Course Specific Software > SAS 9.3 (English) > SAS 9.3 (English) Explore the SAS Workspace. Work through some of the material SAS Introduction.doc, pp. 2-5. Click in the Editor window to activate it. Enter the following text: (assuming drive F:\) libname mylib 'F:\SASWorkshop1' ; run; Save the program using File > Save As naming it LIBRARY SETUP. Run your program using Run > Submit. This should activate your MYLIB library, which is associated with your SASWorkshop1 folder. Check the Log window to see that the library was successfully created. In future, you can run this program at the beginning of each SAS session. Activate the Editor window by clicking in it. Clear the Editor window using Edit > Clear All. Activate the Explorer window and check that you can access the MYLIB library by double-clicking it. What datasets are there? Double-click on them to see their contents in the Viewtable window. Close each one when you are finished. Now, we are going to run an existing program to create the data set MYLIB.INVENTRY. Run WordPad using Start > Programs > Accessories > WordPad. Open the document SAS Lecture Examples.txt and locate the program EX2.SAS. (You will have to search for All Files). Copy and paste EX2.SAS into the Editor window. Edit the infile statement to refer to the location of your copy of invent.fil. MAKE SURE THE QUOTE MARKS ARE ', NOT `. infile 'F:\SASWorkshop1\invent.fil'; Save EX2.SAS to your drive and then run this program. Now, browse the data set INVENTRY. Activate the Explorer window. Open the MYLIB library and double-click the data set. Examine the data using the Viewtable window. Activate the Editor window. Clear the Editor window using Edit > Clear All. Produce a summary of the PRDSAL2 dataset using program EX4B2.SAS. Now, copy and run EX2A.SAS. Save your output to your drive.