SAS How to use 9 2 b
Document Sample


Using the SAS programs that are on my webpage
http://courses.MissouriState.edu/JRosenkoetter/
Use these programs for Experiments 1, 2, 3, 4, and the final project.
The computer must have SAS installed in order to run the programs.
Go to Hill 311 or any other lab on campus except Hill 305C and 309.
1. Logon to a computer, open a web browser, such as Mozilla Firefox, and go
to my webpage http://courses.MissouriState.edu/JRosenkoetter/
2. In the PSY 302 section, click on the program you need.
3. After the program has downloaded to your computer, Save the file in some
location where you can find it, such as, in your USB flash drive, on the
Desktop, or in SkyDrive by clicking the File Save As your favorite
location Save.
DO NOT save it to a Temp file.
4. Close () the file, web browser, and everything else.
5. Go to where you saved the file, and open it by clicking on it.
6. Put your name on the top line. Do not erase the '; at the end of the line.
7. Put the data on the lines between the words cards or datalines and the ;
8. To save the file with the data in it, click File Save .
9. To make a SAS program file, click File Save As .
10. Then, in the Save as type window, select Plain Text (*.txt).
11. Click on Save .
(12. If you get a window that says, “The file . . . already exists.” You should
click on Replace existing file. Then OK.)
13. When you get a window that says, “Warning: Saving as a text file will
cause all . . . to be lost.” hit OK .
Page 1 of 2
14. Close () the file.
15. Go to where you saved the file, and open the plain text version.
16. Click on File Save As …
17. Then in the File name: window, put a name for the file that ends in “.sas”
or just put “.sas” at the end of the name that is already there, e.g., “Exp
1.sas”. If the file already ends in .txt, erase the .txt and put .sas.
18. Click on Save.
19. Close () the program.
20. Go to the window that shows where you saved the SAS program files.
21. Highlight the SAS program (it should have a red dot on it) by placing the
cursor on it—but do not left-click.
22. Right-click (click with the right button of the mouse) on the SAS program.
23. Then click on Submit with SAS 9.2
24. Wait for the computer to start SAS and then for it to complete the work.
25. When the Output window arrives, look at it and then Print the Output with
File Print OK .
26. When you are finished, click on File Exit and OK.
Page 2 of 2
Get documents about "