Chapter Contents

Previous

Next
The GREPLAY Procedure

CCOPY Statement


Copies a color map from another catalog to the color map catalog or creates a duplicate copy of a color map within the color map catalog.

Requirements: Assign a color map catalog before using the CCOPY statement.
See also: CC statement



Syntax

CCOPY <color-map-catalog.>color-map-entry<.CMAP>;


Required Arguments

<color-map-catalog.>color-map-entry <.CMAP>
identifies the color map entry to be copied.

color-map-catalog
is the SAS catalog that contains the color map to be copied.

color-map-entry
is the name of the entry color map.

CMAP
is the catalog entry type.

If a color map of the same name already exists in the color map catalog, the GREPLAY procedure creates a new name.

See also: Duplicate Entry Names


Details

To copy a color map from another catalog to the color map catalog, use the CC statement to specify color-map-catalog as the catalog from which the color map should be copied. For example, the following statements copy HP.CMAP from the catalog named ONE.CCAT to the catalog named TARGET.CLRMAP:

libname target 'SAS-data-library';
libname one 'SAS-data-library';

proc greplay nofs;
   cc target.clrmap;
   ccopy one.ccat.hp.cmap;
quit;

To create a duplicate copy of a color map, simply omit color-map-catalog from your CCOPY statement. For example, to create a duplicate copy of the color map named HP.CMAP in the color map catalog, use the following statement:

ccopy hp.cmap;


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.