a word processor, but most of the time it is best to stick with SAS's defaults.) There is one little catchyou should remember: In order to open a saved program, an editor window must be active when youselect "Open" from the file menu. If you have closed your editor window, you must first open a newone by selecting "Enhanced Editor" from the "View" menu, then proceed to the "File-->Open" dialog..If you have font problems (incorrect characters) when you open an output file in a word processor, trychanging the font to "SAS Monospace." This should work if you are on a computer with SAS installed.If SAS is not installed, you may not be able to get all of the characters correct, but any monospacefont, like Courier, will straighten out most of the formatting.Take a look at the program statements in the editor window. Notice that each line ends with a
. SAS uses semicolons to define the end of a statement. It doesn't matter how the text isarranged, whether there are extra spaces, indentions, extra lines, multiple statements on a line, orstatements split across lines. Such formatting can, and
be used to enhance readability
, but to SAS all that matters is where the semicolons are.
is a new environment for running SAS. Although the same programs work andproduce similar results, there are some differences in the appearance and behavior of the interface. If you purchase the "SAS Learning Edition," this is the interface that will be presented after it is installed.An example appears below. In Enterprise Guide, your work is organized into projects, which appear ina collapsible tree structure on the left. The three windows mentioned above do not openautomatically. In order to type in a program, you open a
window which replaces the editor.Output windows open as needed when programs run, but not necessarily automatically. Output, log,and code windows (also datasets) can be opened by double-clicking icons in the project tree. Thecontents do not accumulate in the log and output windows as they do in PC SAS. When you submit aprogram, you have the choice of overwriting previous output or starting a new node in the projecttree. This keeps your results more organized. Note, the "running man" icon that is used for "submit"in the old version is replaced by a sheet of paper with a down-arrow beside it.You can use the regular interface described under "PC SAS" with Learning Edition, but you have to findthe sas.exe file in the program files directory. Make a shortcut to this file and place it on your desktopto use for starting SAS.
When you need more information about making SAS do what you want, there are several sources youcan access. The first is the "Help" facility installed on your computer and found at the right end of themenu bar. Unfortunately, because SAS is a huge and powerful product, the help can be a challenge tonavigate. The appearance and content of your help menu may vary depending on the version of SASyou are working with. The examples here use version 9.1.3. Under "Help," select "SAS Help andDocumentation." Then you should see a window like this: