Previous Page | Next Page

The DOCUMENT Procedure

REPLAY Statement


Displays one or more entries to the specified open ODS destination(s).
Default: If you omit the LEVELS= option, then all levels of the file are displayed to all open destinations.
Featured in: Opening and Listing ODS Documents and Managing Entries

REPLAY path<(where-expression)> <, path-2<(where-expression-2)>>
<, ...path-n<(where-expression-n)>> </ option(s)>;


Options

ACTIVEFOOTN

specifies that footnotes that are active in a SAS session will override the footnotes that are stored in an ODS document.

Alias: ACFOOTN
ACTIVETITLE

specifies that titles that are active in a SAS session will override the titles that are stored in an ODS document.

Alias: ACTITLE
DEST= (ODS-destination(s))

specifies one or more ODS destinations to display the output objects. For example, the following REPLAY statement replays two levels of the entry Data to the HTML and RTF destinations:

replay \Report\GLM#1\Data /levels=2 dest=(html rtf);
run; 
Requirement: When you specify the DEST= option, surround the ODS destinations with parentheses and separate each destination with a blank space. For example, DEST=(HTML RTF LISTING)
Tip: When you specify only one destination, you do not need to use parentheses. For example, DEST=HTML
See also: For information about ODS destinations, see Understanding ODS Destinations.
LEVELS= ALL | value

specifies the level of the path that you want to replay.

ALL

specifies that all levels of the path are displayed to all open destinations.

value

specifies the numeric value of the path level. For example, the following REPLAY statement replays two levels of the entry Data to the HTML and RTF destinations:

replay \Report\GLM#1\Data /levels=2 dest=(html rtf); 
run;
Default: ALL
Restriction: The LEVELS= option is valid only when you specify a directory.
path

specifies the location of an entry. An entry can be one or more file locations, links, or output objects.

Requirement: Separate multiple paths with commas.
Tip: You can use the symbol '^' to represent the current path and the symbol '^^' to represent the parent path.
where-expression

selects, for replaying, entries in an ODS document that meet a particular condition.

See: Using WHERE Expressions with the DOCUMENT Procedure

Replaying Graphics

When replaying graphics created by a device driver from the following list, you must also specify a device driver from the list with the DEVICE= option in the GOPTIONS statement:

See the GOPTIONS statement in SAS/GRAPH: Reference for more information.

Previous Page | Next Page | Top of Page