GREPLAY Procedure

Using the GREPLAY Procedure Windows

Opening the GREPLAY Procedure Windows

You can use the GREPLAY windows instead of code-based statements to replay and manage catalog entries. You perform tasks that use the GREPLAY procedure windows by entering values in the fields that are displayed in the windows and by issuing commands from the command line. To open the GREPLAY windows, submit the PROC GREPLAY statement without the NOFS option:
proc greplay;
SAS/GRAPH then opens the PROC GREPLAY window. The GREPLAY procedure has five windows:
  • PROC GREPLAY window
  • PRESENTATION window
  • DIRECTORY window
  • TEMPLATE DESIGN window
  • COLOR MAPPING window
GREPLAY Procedure Windows shows how these windows relate to each other. Each window can be scrolled backward or forward as needed to display additional fields and information.
GREPLAY Procedure Windows
GREPLAY Procedure Windows

GREPLAY Window Commands

When using GREPLAY windows, tasks are performed by entering values in the fields. Each window can be scrolled forward, or backward to display additional fields and information. You can navigate, and manipulate GREPLAY windows by entering commands on the command line. For a complete description of each window and its fields, open the help for the GREPLAY windows. You can open the help by pressing the F1 key or by selecting Helpthen selectUsing This Window. For information about navigating among these windows, see Commands for Using the GREPLAY Procedure Windows .

PROC GREPLAY Window

This window is displayed when you submit the PROC GREPLAY statement on a windowing device without the PRESENTATION or NOFS option. The PROC GREPLAY window can be used to replay graphics output, and to manage catalogs that contain graphics output.
PROC GREPLAY Window
PROC GREPLAY Window

PRESENTATION Window

This window replays graphics output without modifying or deleting entries, templates, or color maps. Once you have created and organized your catalog, you can use the PRESENTATION window in an application for replaying graphics output.

DIRECTORY Window

This window lists the catalog entry names, gives a brief description of each entry, and indicates the date each entry was created or last modified. Although all catalog entry types are displayed in the DIRECTORY window, you can manage only entries of the type CMAP and TEMPLATE from this window.
Directory Window
Directory Window

TEMPLATE DESIGN Window

This window enables you to design templates that are used to present graphics. Templates are designed by specifying the coordinates of its panels and assigning the order in which panels are filled. Once you have entered the coordinates of a panel , you can modify them by using the Scale, Xlate (translate), and Rotate utility fields. These utility fields recalculate the coordinate values automatically.
Template Design Window
Template Design Window

COLOR MAPPING Window

This window enables you to map colors in existing graphics output to new colors when you replay the graphics output. Any color in the graphics output that appears in the From column of the color map, is mapped to the corresponding color in the To column of the color map. Using a color map does not change the contents of the replayed graphic output. Using a color map does not produce new graphics output. You can replay your graphics output and assign a current color map.
Color Mapping Window
Color Mapping Window

Commands for Using the GREPLAY Procedure Windows

Commands for Using the GREPLAY Procedure Windows
Location
Task
Command
PROC GREPLAY statement
Open PROC GREPLAY window.
Submit the PROC GREPLAY statement without using the PRESENTATION or NOFS options.
Open PRESENTATION window.
Submit the PROC GREPLAY statement and include the PRESENTATION and IGOUT= options.
PROC GREPLAY window
Open PRESENTATION window.
Specify a catalog and issue the PRES command.
Open DIRECTORY window.
Specify a template catalog and issue the TC command.
OR
Specify a color map catalog and issue the CC command.
Open TEMPLATE DESIGN window.
Specify a template catalog and issue the following command: edit template-name.template
Open COLOR MAPPING window.
Specify a color map catalog and issue the following command: edit color-map-name.cmap
DIRECTORY window
Open TEMPLATE DESIGN window.
Place an S beside the name of an existing template.
OR
Issue the following command:
edit template-name.template
Open COLOR MAPPING window.
Place an S beside the name of an existing color map.
OR
Issue the following command:
edit color-map-name.cmap