To end the performance explorer session, use the End Performance
Explorer (ENDPEX) command.
The End Performance Explorer (ENDPEX) command performs
the following actions on the collected data:
- Places the collected data in files QAYPExxx in the library that you specify.
Use OPTION(*END) and DTAOPT(*LIB) to do this. The database member name for
all the QAYPExxx files uses the session name as the default unless you specify
a name for the DTAMBR parameter. You can specify RPLDTA(*NO) to erase data
that was collected using this session name or RPLDTA(*YES) to add the collected
data to the existing data. Unless you are a very sophisticated user, use RPLDTA(*NO).
- Places the collected data into a single IBM-defined file. Use OPTION(*END)
and DTAOPT(*MGTCOL) to do this. Typically, you would use *MGTCOL only under
the direction of an IBM® service representative. Specifying the *MGTCOL value
on the DTAOPT parameter saves the collection information into a management
collection object. The management collection object option should be used
only if the data is going to be shipped to IBM. The performance tools can analyze only
the database files.
- Discards the collected data. Use OPTION(*END) if you want to save the
data or DTAOPT(*DLT) to discard any collected data. You do this when you determine
the collected data cannot be used. For example, one of the suspected jobs
did not start as expected. If you choose the *DLT option, the collected performance
data for the session is never saved.
- Suspends the collection session but does not end it. Use OPTION(*SUSPEND)
to do this. You can later start the data collection again by issuing the STRPEX
command with OPTION(*RESUME) for the specific session ID.
Note: If you forget the active collection session name, use the ENDPEX SSNID(*SELECT)
command.