Chapter Contents

Previous

Next
COPY

COPY



Copies a graph

Operating States: GKOP, WSOP, WSAC, SGOP
Return Codes: 0, 8, 307


Syntax
Description
Argument Definitions
See Also


Syntax

return-code-variable=GRAPH('COPY', name, new-name);


Description

The GRAPH('COPY', . . . ) function copies a graph to another catalog entry. The graph to be copied must be closed and be in the current catalog. You cannot copy from one catalog to another. The new graph will also be in the current catalog.


Argument Definitions

name character string enclosed in quotes or character variable name; name of the graph to be copied.
new-name character string enclosed in quotes or character variable name; name of the graph to be created.

See Also

GASK('CATALOG', . . . ) routine
GRAPH('DELETE', . . . ) function
GRAPH('INSERT', . . . ) function
GSET('CATALOG', . . . ) function


Chapter Contents

Previous

Next

Top of Page

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