Previous Page | Next Page

The DOCUMENT Procedure

Example 2: Opening and Listing ODS Documents


Procedure features:

PROC DOCUMENT statement option:

NAME=

DIR statement

LIST statement options:

DETAILS

LEVELS

where-expression

REPLAY statement

ODS destinations:

DOCUMENT

LISTING

PDF

Procedure output:

PROC DOCUMENT

PROC UNIVARIATE

Data set: DistrData
ODS document: Univ


Program Description

This example shows you how to do these tasks:


Program

 Note about code
options nodate nonumber;
 Note about code
proc document name=univ; 
 Note about code
ods pdf file= 'your_file.pdf';                                                                          
 Note about code
   list ^ (where=(_type_ = 'Graph' or _type_ = 'Table') ) /levels=all;   
   replay univariate#1\Normal_x#1\Normal#1;
 Note about code
   dir univariate#2\exponential_x\fitteddistributions\exponential#1; 
   list fitquantiles/details;   
   replay fitquantiles;         
run;
 Note about code
quit;
ods pdf close;

Output

List of the Graphs and Tables Found in WORK.Univ, Viewed in Acrobat Reader

 Note about figure

[List of the Graphs and Tables Found in WORK.Univ, Viewed in Acrobat Reader]

Replayed Normal Distribution Histogram

[Replayed Normal Distribution Histogram]

Details of the FitQuantiles#1 Table

[Details of the FitQuantiles#1 Table]

Replayed FitQuantiles#1 Table

[Replayed FitQuantiles#1 Table]

Previous Page | Next Page | Top of Page