To copy a color map
from one catalog to another catalog, use the CC statement to identify
the target catalog. The following statements copy HP.CMAP from the
catalog named ONE.CCAT to the catalog named TARGET.CLRMAP:
LIBNAME target "SAS library";
LIBNAME one "SAS library";
proc greplay nofs;
cc target.clrmap;
ccopy one.ccat.hp.cmap;
quit;
To create a duplicate
color map, omit the name of the color map catalog from your CCOPY
statement. The following statement creates a duplicate of hp.cmap
named hp2.cmap:
ccopy hp.cmap;