The left six columns of the screen are a line-number field that functions as an indication of where you are typing at any given moment, and also serves as a place to type "line commands" that facilitate your editing session. Some line number commands are "i" (insert a line), "d" (delete the line), and "r" (replicate, or copy, the line). You may also delete a group of lines by typing "dd" on the first line, and another "dd" on the last line of the block of lines you wish to delete. "c" is another line command that allows you to copy a line to anyplace in your program. The use of "c" requires the use of "a" or "b" on the line "after" or "before" which you want the copied line to appear. There is also "cc" . . . "cc" for copying blocks of lines to another place designated by "a" or "b". For complete instructions on using line commands, see the References listed at the end of this document.
To the right of the line-number field, and taking up most of the Editor window, is the data area where you type and modify your programs. When you have some SAS statements you wish to run (they need not be an entire program, just enough statements for SAS to do some work), type a RUN; statement after the last statement in each group you SUBmit (only one RUN; statement normally is needed each time you SUBmit). You actually SUBmit the program by typing SUBmit on the command line of the Program Editor or by hitting F10 (or whatever key is set up in the KEYS window to substitute for the SUBmit command).
You will see your program and any warnings, notes or error messages appear in the Log window, and your output, if any, will appear in the Output Window. If your program resulted in errors or warnings, or if you wish to continue building or writing your program, you will need to return to the Editor either to revise your program or to add more commands, and then once again SUBmit your revised or new program.