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
|
|
CCOPY
<color-map-catalog.>color-map-entry<.CMAP>;
|
-
<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.
-
-
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;
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.