GREPLAY Procedure

Catalog Entries

The GREPLAY procedure can perform actions on three types of catalog entries:
GRSEG entries
store output from SAS/GRAPH procedures. The GREPLAY procedure uses two types of graphics catalogs: the input-catalog and the output-catalog. The input-catalog is the catalog that contains the graphics output that you want to replay. The output-catalog is the catalog in which graphics output that is produced by the template facility is stored. Both of these catalogs are GSEG catalogs. The same GSEG catalog can be used as the input-catalog and the output-catalog.
TEMPLATE entries
store templates created with the GREPLAY procedure. The catalog in which template entries are stored is referred to as the template catalog. SAS provides sample templates in SASHELP.TEMPLT. TEMPLATE entries can also be stored in GSEG catalogs.
You can use templates directly from SASHELP.TEMPLT to replay your graphics output, or you can copy these templates to a different catalog and edit the copied entries. Graphics output replayed using a template creates a new GRSEG entry.
CMAP entries
store color maps created with the GREPLAY procedure. The catalog in which color map entries are stored is referred to as the color map catalog. CMAP entries can be stored in GSEG catalogs. They can also be stored in other catalogs. You can copy, edit, or use these color maps to replay your graphics output. Graphics output replayed using a color map does not create a GRSEG entry.
You can store all of the previous entry types in a single SAS catalog, or you can store them in separate catalogs and use a different catalog for each type of entry. A single SAS catalog can contain graphics output, color maps, and templates.
Because the GREPLAY procedure operates on catalog entries, you must assign at least one catalog before you perform any tasks. The GREPLAY procedure has several ways to assign catalogs shown in Assigning Catalogs.
Assigning Catalogs
Catalog
How to Assign
input
IGOUT= option in the PROC GREPLAY statement
IGOUT statement
IGOUT field in the PROC GREPLAY window
output
GOUT= option in the PROC GREPLAY statement
GOUT statement
GOUT field in the PROC GREPLAY window
template
TC= option in the PROC GREPLAY statement
TC statement
TC field in the PROC GREPLAY window
color map
CC= option in the PROC GREPLAY statement
CC statement
CC field in the PROC GREPLAY window
Note: Image entries can exist in catalogs, but are not recognized by the GREPLAY procedure.