Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Copy Graph Package (CPYGPHPKG) command copies an existing graph package into a graph package specified by the user.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
FROMPKG | From package | Qualified object name | Required, Positional 1 |
Qualifier 1: From package | Name | ||
Qualifier 2: Library | Name, QPFRDATA, *CURLIB | ||
TOPKG | To package | Qualified object name | Optional, Positional 2 |
Qualifier 1: To package | Name, *FROMPKG | ||
Qualifier 2: Library | Name, *FROMLIB, *CURLIB | ||
REPLACE | Replace | *NO, *YES | Optional |
Top |
Specifies the graph package from which the copy is to be created.
This is a required parameter.
Top |
Specifies the location of the graph package into which the copy is to be made.
The possible library values are:
Top |
Specifies whether to replace the graph package in the To package prompt (TOPKG parameter), if the graph package already exists.
Top |
Example 1: Sending a Copy to the Default Library
CPYGPHPKG FROMPKG(MYPKG) TOPKG(YOURPKG)
This command makes a copy of MYPKG and sends it to YOURPKG in the QPFRDATA library.
Example 2: Sending a Copy to a Specified Library
CPYGPHPKG FROMPKG(MYLIB/PKG1) TOPKG(YOURLIB/PKG2)
This command makes a copy of PKG1 in the MYLIB library and sends it to PKG2 in the YOURLIB library.
Top |
Top |