On the command line of the program editor window type include sample.sas. Type zoom at the command line to expand the program editor window. Move to the first line and type i to insert a new line. Move to the line that says data one. C hange this to read data mydir.one.
Type submit to run the program.
If you program runs correctly, you will be taken to the output window. Type top to get to the beginning of this window. Use the Pg Dn key on the numeric keypad to move down through the output. If you are satisfied with the output, use the home key to return to the command line and type save ' newout.lst' to save the output file in your UNIX account. Type pgm to return to the program editor.