CL Command Reference - CRTPEXDTA
CL Command List > CRTPEXDTA Reference
Description:
The Create Performance Data (CRTPEXDTA) command creates the Performance Explorer database files based on the data in a Performance Explorer management collection object (object type *MGTCOL).
Restrictions:
1. This command is shipped with public *EXCLUDE authority.
2. The user must have *ADD and *EXECUTE authority to the specified TOLIB library, and *READ and *EXECUTE authority to the FROMLIB library.
3. The user must have *READ authority to the management collection object.
4. To use this command you must have *SERVICE special authority, or be authorized to the Service Trace function of i5/OS through iSeries Navigator¡¯s Application Administration support. The Change Function Usage Information (QSYCHFUI) API, with a function ID of QIBM_SERVICE_TRACE, can also be used to change the list of users that are allowed to perform trace operations.
5. The following user profiles have private authorities to use the command:
. QPGMR
. QSRV
Examples:
Example 1: Creating PEX Data
CRTPEXDTA FROMMGTCOL(QAPEXDTA/MYCOL) TOMBR(TEST)
TOLIB(QAPEXDTA) NBRTHD(2)
This command creates Performance Explorer (PEX) data in member name TEST in library QAPEXDATA. The collected data exists in the management collection object MYCOL found in library QAPEXDTA. Two threads will be used to process the data.