Show TOC

Executing a Trace of a Parallel Work ProcessLocate this document in the navigation structure

Procedure

Use this procedure to switch an analysis on and off in another work process on this or another server in the local system.

  1. To have the measurement results displayed automatically when you finish the trace, select the Eval. Immediately checkbox in the In Parallel Session frame.

  2. Choose Switch On/Off.

    A dialog box appears containing all work processes on the current server. You can now activate the runtime analysis in one or up to ten work processes. You can activate the runtime analysis in all type of work processes, for example, a dialog, a batch, or an update.

    It makes sense to activate the measurement for a program that has been running for a long time (for example, a batch job) that is already active on a work process.

    You can also reserve a work process temporarily using the report RSTRC000. Programs that you start are then run in the locked work process so that by activating the measurement you can evaluate the programs in a targeted way.

    This procedure for measuring an interactive program only makes sense if you also want to create a dev_wp* trace at the same time using RSTRC000.

  3. To start the measurement, place the cursor on a work process and choose Activating a Measurement, or simply double-click the work process.

    The work process display shows in which work processes the runtime analysis has been initialized and is waiting for a program to be measured. The display also shows which traces are active.

    A new trace file is started if a new program context (internal mode) comes into a work process. The runtime analysis is deactivated and the file is closed if the mode leaves the work process again.

  4. To create a short description for the measurement, choose Short Description.

    A dialog box appears in which you can enter a description. This name appears in the performance data file overview.

  5. For every external process, you can view details by choosing Choose Details.

  6. If the measurement has not ended automatically, you can terminate the measurement yourself. Place the cursor on a mode for which a measurement is running and choose Deactivate Measurement or simply double-click the process.

    If the Runtime Analysis reports that it cannot deactivate a measurement, either try the deactivation again, or choose the Cancel button on the message window. Cancel forces the Runtime Analysis to stop the measurement. You can still display the measurement after canceling it.

    If you have reserved a work process using RSTRC000, ensure that you release it again with the report.