1 | Collector name | Input | Char(10) |
2 | Default collector definition | Input | Char(10) |
3 | Error code | I/O | Char(*) |
The Start Collector (QYPSSTRC, QypsStartCollector) API starts a collector. When the collector job is not running, the job is submitted to the QSYSNOMAX job queue and a start request passes to it. If no default collection definition is provided, the default provided by the system value is used. When the collector job is running and a new default collection definition is provided, the collector changes to use that definition. If the collector job is running and no new default collector definition is provided, no action is taken.
The name of the collector to start. The special value is:
*PFR | Performance collector job QYPSPFRCOL |
The name of the collector definition to run. The possible special values are:
*CURRENT
*CUSTOM
*ENHCPCPLN
*MINIMUM
*SAME
*STANDARD
*STANDARDP
The structure in which to return error information. For the format of the structure, see Error Code Parameter.
Message ID | Error Message Text |
---|---|
CPF222E E | &1 special authority is required. |
CPF3C1E E | Required parameter &1 omitted. |
CPF3C3C E | Value for parameter &1 is not valid. |
CPF3C36 E | Number of parameters, &1, entered for this API was not valid. |
CPF3CF2 E | Errors occurred during running of &1 API. |
CPFB94A E | Collector communications error. Reason code &1. |
Top | Performance Management APIs | APIs by category |