COPY

Copies a graph
Operating state: GKOP, WSOP, WSAC, SGOP

Syntax

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

Required Arguments

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.

Return Codes

This function returns:

Details

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 is also in the current catalog.