| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| FROMCOL | From collection | Name, *SELECT | Optional, Positional 1 |
| FROMLIB | From library | Name, QPFRDATA | Optional, Positional 2 |
| TOCOL | To collection | Name, *FROMCOL | Optional |
| TOLIB | To library | Name, *FROMLIB | Optional |
| COLTYPE | Collection type | Single values: *ALL Other values (up to 10 repetitions): Character value, *CSFILE, *CSMGTCOL, *DWFILE, *JWFILE, *PEXFILE, *PEXMGTCOL |
Optional |
| Top |
Specifies the performance collection to be copied.
Note: This value is valid only when the job that copies the performance collection is submitted interactively.
| Top |
Specifies the library where the performance collections are located.
| Top |
Specifies the name of the performance collection to which the performance data is copied.
| Top |
Specifies the library in which the new copy of the performance collection is kept.
| Top |
Specifies the type of collection to be copied.
Single values
Other values (up to 10 repetitions)
Valid values depend on the performance collections supported by the system. You can press F4 while prompting this command parameter to see a list of valid collection type values.
| Top |
Example 1: Showing List of Performance Collections
CPYPFRCOL
This command shows a display for selecting from all of the performance collections in the QPFRDATA library. From this list, the user can select performance collections to copy.
Example 2: Copying Data
CPYPFRCOL FROMCOL(COL1) TOLIB(NEWLIB)
This command copies performance collection COL1 in library QPFRDATA to library NEWLIB. The new copy in library NEWLIB keeps the name COL1.
| Top |
| Top |