Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
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:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
DMPTRC | Dump the trace | *NO, *YES | Optional, Positional 1 |
MBR | Member | Name | Optional |
LIB | Library | Name, QPFRDATA | Optional |
TEXT | Text 'description' | Character value, *BLANK | Optional |
Top |
Specifies whether the trace data is to be dumped to the performance database file QAPMDMPT. If the data is not dumped, it will be lost when the trace table is deleted.
Top |
Specifies the member within the QAPMDMPT database file where the trace table data is to be dumped. A value must be specified for this parameter if *YES is specified for the Dump the trace (DMPTRC) parameter.
Top |
Specifies the library where the database file for trace data is located. If the file is not found in the specified library, the system automatically creates it in that library.
Top |
Specifies the text that briefly describes the database member.
Top |
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.
Top |
Top |