Copy Performance Data (CPYPFRDTA)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Copy Performance Data (CPYPFRDTA) command creates a copy of a performance data member.

Top

Parameters

Keyword Description Choices Notes
FROMMBR From member Name, *SELECT Optional, Positional 1
FROMLIB From library Name, QPFRDATA Optional, Positional 2
TOMBR To member Name, *FROMMBR Optional
TOLIB To library Name, *FROMLIB Optional
JOBD Job description Single values: *NONE
Other values: Qualified object name
Optional
Qualifier 1: Job description Name, QPFRJOBD
Qualifier 2: Library Name, *LIBL, *CURLIB
Top

From member (FROMMBR)

Specifies the performance data member to be copied.

*SELECT
Lists all members available in the specified library so the user can select performance data members to copy.

Note: This value is valid only when the job that copies the performance data is submitted interactively.

member-name
Specify the performance data member to be copied.
Top

From library (FROMLIB)

Specifies the library where the performance data members are located.

QPFRDATA
The IBM-supplied performance data library, QPFRDATA, is where the performance data members are located.
library-name
Specify the name of the library where the performance data members are located.
Top

To member (TOMBR)

Specifies the name of the performance data member to which the performance data is copied.

*FROMMBR
The new performance data member has the same name as the one located in the From member prompt (FROMMBR parameter).
member-name
Specify the name of the performance data member to which the performance data member is copied.
Top

To library (TOLIB)

Specifies the library in which the new copy of the performance data member is kept.

*FROMLIB
The new performance data member is kept in the same library as the member from which it is copied.
library-name
Specify the name of the library in which the new performance data member is kept.
Top

Job description (JOBD)

Specifies the job description used to submit the batch job that copies the performance data.

QPFRJOBD
The IBM-supplied performance tools job description is used.
*LIBL
All libraries in the job's library list are searched until the first match is found.
*CURLIB
The current library for the job is used to locate the job description. If no library is specified as the current library for the job, QGPL is used.
library-name
Specify the name of the library where the job description is located.
job-description-name
Specify the name of an alternate job description.
*NONE
A batch job is not submitted; instead, processing continues interactively while the user waits. The user's work station cannot be used during this time. This is something to consider for especially long jobs.
Top

Examples

Example 1: Showing List of Performance Data Members

CPYPFRDTA

This command shows a display for selecting from all of the performance data members in the QPFRDATA library. From this list, the user can select performance data members to copy.

Example 2: Copying Data

CPYPFRDTA   FROMMBR(MEMBER1)  TOLIB(NEWLIB)

This command copies performance member MEMBER1 in library QPFRDATA to library NEWLIB. The new copy in library NEWLIB keeps the name MEMBER1.

Top

Error messages

*ESCAPE Messages

PFR6302
Cannot copy performance data member &2.
Top