Saving Your Work

You can save the contents of any of the three SAS windows into a file by typing:
file 'filename'
on the command line, where filename is the name you want the file to have. Don't forget the single quotes surrounding the filename. If you are using pulldown menus choose "Save as -> Write to File" from the "File" pulldown menu.

You should figure out some naming scheme for the files you save. One method that has worked well in the past is to give each file a name indicating which homework assignment the file is for, as well as whether the file contains output or programming statements.

For example, for your first homework assignment, you would save your program as hw1.pgm, and your output file as hw1.out. For the second assignment, hw2.pgm and hw2.out. Using this system, you will always know what is in a file just by looking at its name.