GREPLAY Procedure

PROC GREPLAY Statement

Determines whether the procedure starts in a windowing or non-windowing environment. Defines whether the session is used for catalog management or output presentation.

Syntax

PROC GREPLAY <BYLINE>
<CC=color-map-catalog>
<CMAP=color-map-entry-type>
<FS>
<GOUT=<libref.>output-catalog>
<IGOUT=<libref.>input-catalog>
<IMAGEMAP=output-data-set>
<NOBYLINE>
<NOFS>
<PRESENTATION>
<TC=template-catalog>
<TEMPLATE=template-entry>;

Summary of Optional Arguments

BY-line options
specifies that the BY statement information for the SAS catalog entries should be displayed.
specifies that the BY statement information for the SAS catalog entries should be suppressed.
Catalog options
specifies the color map catalog where the color map entries are stored.
specifies the type of catalog entry to use with the GREPLAY procedure.
specifies the graphics output catalog.
specifies the input catalog that stores the graphics output that you want to use with the GREPLAY procedure.
specifies the template catalog to use with the GREPLAY procedure, and identifies the template catalog where the template entry is stored to replay your graphics.
identifies the template entry to use with the GREPLAY procedure.
Image map options
used with the REPLAY statement to create a temporary SAS data set that is used to generate an image map.
Window options
specifies that the GREPLAY procedure should use full-screen windows.
specifies that the GREPLAY procedure should use line mode.
specifies that the GREPLAY procedure should open the PRESENTATION window, and use the catalog specified by the IGOUT= option as the input catalog.

Optional Arguments

BYLINE
specifies that the BY statement information for the SAS catalog entries should be displayed. specifies that the BY statement information for the SAS catalog entries should be displayed.
Default:BY statement information is displayed
CC=color-map-catalog
specifies the color map catalog where the color map entries are stored. specifies the color map catalog where the color map entries are stored.
Note:To replay graphics output using a color map, you must specify a color map catalog with the CC= option and a color map entry with the CMAP= option.
CMAP=color–map-entry-type
specifies the type of catalog entry to use with the GREPLAY procedure. specifies the type of catalog entry to use with the GREPLAY procedure. A color map entry option must have a catalog entry type of CMAP.
Note:To replay graphics output using a color map entry, you must specify a color map catalog with the CC= option and a color map entry with the CMAP= option.
FS
specifies that the GREPLAY procedure should use full-screen windows. specifies that the GREPLAY procedure should use full-screen windows.
Default:If your device supports windows, the GREPLAY procedure uses windows. If your device does not support windows, the procedure begins execution in line mode, and the FS option has no effect.
GOUT=<libref.>output-catalog
specifies the graphics output catalog. specifies the graphics output catalog. New GRSEG entries or GRSEG entries from other catalogs can be copied to an output catalog. If you omit the libref, SAS/GRAPH looks for the catalog in the temporary WORK library, and creates the GSEG catalog if it does not exist.
Note:The output catalog can be the same catalog specified in the IGOUT= option.
IGOUT=<libref.>input-catalog
specifies the input catalog that stores the graphics output that you want to use with the GREPLAY procedure. specifies the input catalog that stores the graphics output that you want to use with the GREPLAY procedure. If you omit the libref, SAS/GRAPH looks for the catalog in the temporary WORK library.
Note:The input catalog can be the same catalog specified in the GOUT= option.
IMAGEMAP= output-data-set
used with the REPLAY statement to create a temporary SAS data set that is used to generate an image map in an SVG file when you replay output to the LISTING destination. (This option is not necessary when you are replaying output to the HTML destination.) The drill-down URLs in the image map must be provided by variables in the input data set. These variables are identified to the procedure with the HTML= and HTML_LEGEND= options.
NOBYLINE
specifies that the BY statement information for the SAS catalog entries should be suppressed. specifies that the BY statement information for the SAS catalog entries should be suppressed.
Default:BY statement information is displayed
NOFS
specifies that the GREPLAY procedure should use line mode. specifies that the GREPLAY procedure should use line mode.
Default:If your device does not support windows: NOFS
PRESENTATION
specifies that the GREPLAY procedure should open the PRESENTATION window, and use the catalog specified by the IGOUT= option as the input catalog. specifies that the GREPLAY procedure should open the PRESENTATION window, and use the catalog specified by the IGOUT= option as the input catalog. The PRESENTATION option is often used in applications to prevent the application users from deleting or reordering catalog entries. You can only replay graphics output from the PRESENTATION window.
Note:The PRESENTATION option overrides the NOFS option on full-screen devices.
TC=template-catalog
specifies the template catalog to use with the GREPLAY procedure, and identifies the template catalog where the template entry is stored to replay your graphics. specifies the template catalog to use with the GREPLAY procedure, and identifies the template catalog where the template entry is stored to replay your graphics.
Note:To replay graphics output using a template catalog, you must also assign the template entry with the TEMPLATE= option.
TEMPLATE=template-entry
identifies the template entry to use with the GREPLAY procedure. identifies the template entry to use with the GREPLAY procedure. The template entry must have a catalog entry type of TEMPLATE.
Note:To replay graphics output using a template entry, you must also assign a current template catalog with the TC= option. If the template entry is not in the template catalog, an error message is written to the SAS log.

Details

Invoking the GREPLAY Procedure

The mode of operation for the PROC GREPLAY statement depends on both the environment in which the statement is submitted and whether the NOFS option is included.
Ways of Invoking the GREPLAY Procedure
Environment
Statement
Result
windowing
PROC GREPLAY;
GREPLAY procedure windows
windowing
PROC GREPLAY NOFS;
line mode
nonwindowing
PROC GREPLAY;
line mode
You can toggle back and forth between windows and line mode within a session.