CL Command Reference - ENDPFRTRC

CL Command List > ENDPFRTRC Reference

Description:

The End Performance Trace (ENDPFRTRC) command will stop the collection of performance trace data in the QPM_STRPFRTRC trace table and optionally write performance trace data to a data base file. The QPM_STRPFRTRC trace table will be deleted whether or not the data is written to a data base file.

This command is intended to be used to end a performance trace started via the Start Performance Trace (STRPFRTRC) command. However, it will end and try to process any active trace in the QPM_STRPFRTRC trace table.

Restrictions:

1. This command is shipped with public *EXCLUDE authority.

2. The following user profiles have private authorities to use the command:
. QSRV


Examples:

Example 1: Ending Performance Trace

ENDPFRTRC DMPTRC(*YES) MBR(MYDATA)

In this example, the current trace is ended, the data is written to member MYDATA of file QAPMDMPT in library QPFRDATA, and the trace table is deleted, releasing the storage used by the trace.