CL Command Reference - CVTPRFDTA
CL Command List > CVTPRFDTA Reference
Description:
The Convert Performance Data (CVTPFRDTA) command converts performance data from a previous release to the format needed for processing by the current release of Performance Tools for iSeries(TM).
The command first determines the release level at which the data was collected. Then the members of all necessary files are converted. The conversion may be done in the same library where the current data resides. To avoid the risk of destroying the old data if the command ends abnormally, convert the data into a different library (TOLIB), and later, delete the data from the old library (FROMLIB).
If the conversion is done in a different library, the old data remains in the current library (FROMLIB) and the new data resides in the new library (TOLIB). If a new library is specified for the newly converted data, all files are copied to the new library, including those files which do not need to be converted.
Examples:
Example 1: Converting Data Using a Batch Job
CVTPFRDTA FROMLIB(MIKE) TOLIB(TERESA)
This command converts the performance data in library MIKE and places it in library TERESA. The conversion is done by a batch job submitted using the job description associated with the user profile of the user running this command.
Example 2: Converting Performance Data Interactively
CVTPFRDTA FROMLIB(QPFRDATA) TOLIB(QPFRDATA) JOBD(*NONE)
This command converts the performance data in library QPFRDATA and places it in the same library after conversion is complete. This conversion occurs interactively while the user waits.