Procedure features: |
PROC
DOCUMENT statement option:
|
DIR statement |
LIST statement options:
|
DETAILS |
|
LEVELS |
|
where-expression | |
REPLAY
statement |
|
ODS destinations: |
|
Procedure output: |
PROC DOCUMENT |
PROC UNIVARIATE |
|
Data set: |
DistrData
|
ODS document: |
Univ
|
This example shows you how to do these tasks:
-
open an ODS
document
-
replay a table and send the output to the LISTING
and PDF destinations
-
list specific entries in an ODS document by using
WHERE expressions
-
change file locations
-
list the details of a specified
entry
-
replay an ODS document to a PDF file
 |
options nodate nonumber; |
 |
proc document name=univ; |
 |
ods pdf file= 'your_file.pdf'; |
 |
list ^ (where=(_type_ = 'Graph' or _type_ = 'Table') ) /levels=all;
replay univariate#1\Normal_x#1\Normal#1; |
 |
dir univariate#2\exponential_x\fitteddistributions\exponential#1;
list fitquantiles/details;
replay fitquantiles;
run; |
 |
quit;
ods pdf close; |
List of the Graphs and Tables Found in WORK.Univ, Viewed in Acrobat Reader
Replayed Normal Distribution Histogram
![[Replayed Normal Distribution Histogram]](images/proc-docex2histo.gif)
Details of the FitQuantiles#1 Table
![[Details of the FitQuantiles#1 Table]](images/proc-docex1d.gif)
Replayed FitQuantiles#1 Table
![[Replayed FitQuantiles#1 Table]](images/proc-docex2.gif)
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.