Exampleįor this example, we are telling SAS to store the results of the frequency table for the variable, Athlete, followed by a cross-tabulation table for Athlete and Gender in the file. You can view the Word document in two ways: 1) you can click on the rtf file in the Results window, or 2) you can go to the file folder on your computer where you told SAS to store the file, right click on the file, hover your mouse over Open With and select Microsoft Word. When you are satisfied with your code, select the lines of syntax and click Run. If you include multiple PROC steps between the first and last lines, all of them will be included in the same RTF file so if you want separate RTF outputs for each PROC step, you will need to set up multiple ODS RTF/ODS RTF CLOSE statements. This line is very important without it, SAS will continue to write to the RTF file.Īny PROC step(s) you put between the first and last lines will have their output written to the RTF file. The last line of code - ODS RTF CLOSE - tells SAS to stop writing the output to the RTF file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |