Creating ODS Output Data Sets from the PRINT and REPORT Procedures

For most procedures, you can generate at least one ODS output data set. A procedure where you cannot create an ODS output data set is PROC PRINT. Until SAS 9.2, you could not create an ODS output data set with PROC REPORT.

The reason PROC PRINT doesn't support ODS OUTPUT is that you are already printing a SAS data set, and so the output data set would match the input data set.

The PROC REPORT statement OUT= option enables you to create an output data set. You can also use the ODS OUTPUT statement to create an output data set with PROC REPORT. This ODS output data set is the same as the data set produced with the OUT= option in the PROC REPORT statement.

If you execute an ODS ...

Get Output Delivery System: The Basics and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.