October 2009
Beginner
636 pages
13h 35m
English
The previous two examples showed how to send output from a single procedure to an HTML file. However, ODS also enables you to send a number of results from a series of procedures to the same HTML file. This allows you to build a combined report from a number of procedures and data sets and place it all on a single Web page. In this example, the output from three procedures is combined into a single HTML file. Two PROC MEANS steps and a PROC PRINT step are all placed between two ODS HTML statements.
title 'Quarterly Report'; ODS HTML BODY='QReport.html'; title2 'Revenue by Customer'; proc means data=Billings nonobs mean sum; class CustomerName; var BillableAmt; run; title2 'Revenue by Division'; proc ...
Read now
Unlock full access