![]() | ![]() | ![]() |
Setting the output format
To set the output type, select
Tools ► Optionsfrom the menu bar. This opens the Options window. There are many options you can set in this window, covering a wide variety of categories. Click Results General under Results to open the Results General page of options. The available output types are listed under the heading Result Formats on this page. Select one or more output types by clicking the box next to the type. In this example, because both PDF and RTF are checked, any task that you run will produce results in both PDF and RTF format.
Results
When you run a task with alternate output formats designated, the results will appear in the workspace of SAS Enterprise Guide, just like when the output is in HTML format. You get an icon in the Project Explorer and Project Designer for each output type you specify. If you specify more than one output type, all results may not open automatically. To open a result in SAS Enterprise Guide, double-click the icon for the result. This is what the results of the List Data task look like in PDF format. Note that the style for PDF is quite different from the style for HTML.
Changing the result type of a task
If you change the result type in the Options window, then the results of all tasks are affected. If you want to change output formats for individual tasks, then right-click the task icon in the Project Explorer or Project Designer, and select Properties. This opens the Properties window for the task. Click Results in the selection pane on the left to open the Results page, and then check Override the preferences set in Tools -> Options. Now you can choose result formats and styles for the task’s results. In this example, this task will produce results in RTF format only.
Saving or sending results
If you want, you can save results to a file either on your local computer or on a SAS server. Right-click the icon for the results in the Project Explorer or Project Designer, and select Export. If you choose Export result-name, then the file will be saved just once. If you choose Export result-name As A Step In Project, then a step will be added to the project so that every time you run the project the result will be exported. You can also choose to attach the results to an e-mail message by right-clicking the results icon and selecting Send To ► E-Mail Recipient or E-Mail Recipient as a Step in Project
.
About the Authors
In 1992, Susan Slaughter and Lora Delwiche teamed up to write The Little SAS Book: A Primer, now in its third edition, which quickly became a popular item on SAS users' bookshelves. They have presented numerous papers at local, regional, and international SAS users group meetings. Their interactions with other SAS users have inspired them to write books that are both informative and enjoyable to use. Susan currently works as a consultant through her company, Avocet Solutions, while Lora works in research at the University of California, Davis.
Their books are available from the online bookstore.
These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.
These sample files and code examples are provided by SAS Institute Inc. "as is" without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. Recipients acknowledge and agree that SAS Institute shall not be liable for any damages whatsoever arising out of their use of this material. In addition, SAS Institute will provide no support for the materials contained herein.
| Type: | Sample |
| Topic: | Non SAS Authors ==> Lora Delwiche Non SAS Authors ==> Susan Slaughter |
| Date Modified: | 2007-01-13 03:03:24 |
| Date Created: | 2007-01-13 03:03:24 |
| Product Family | Product | Host | SAS Release | |
| Starting | Ending | |||
| SAS System | Base SAS | All | 9 TS M0 | 9.1 TS1M3 |
| SAS System | SAS Enterprise Guide | All | 9 TS M0 | 9.1 TS1M3 |




