ibm-information-center/dist/eclipse/plugins/i5OS.ic.apis_5.4.0.1/qypsrsca.htm

340 lines
8.6 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
<title>Retrieve System Collector Attributes (QYPSRSCA,
QypsRtvSysCollectorAttributes) API</title>
<!-- Begin Header Records ========================================== -->
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<!-- Change History: -->
<!-- YYMMDD USERID Change description -->
<!--File edited Oct 2001 -->
<!-- End Header Records -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<a name="Top_Of_Page"></a>
<!--Java sync-link-->
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript">
</script>
<h2>Retrieve System Collector Attributes (QYPSRSCA,
QypsRtvSysCollectorAttributes) API</h2>
<div class="box" style="width: 80%;">
<br>
&nbsp;&nbsp;Required Parameter Group:<br>
<!-- iddvc RMBR -->
<br>
<table width="100%">
<tr>
<td align="center" valign="top" width="10%">1</td>
<td align="left" valign="top" width="50%">Collector name</td>
<td align="left" valign="top" width="20%">Input</td>
<td align="left" valign="top" width="20%">Char(10)</td>
</tr>
<tr>
<td align="center" valign="top">2</td>
<td align="left" valign="top">Default collection interval</td>
<td align="left" valign="top">Output</td>
<td align="left" valign="top">Binary(4)</td>
</tr>
<tr>
<td align="center" valign="top">3</td>
<td align="left" valign="top">Library</td>
<td align="left" valign="top">Output</td>
<td align="left" valign="top">Char(10)</td>
</tr>
<tr>
<td align="center" valign="top">4</td>
<td align="left" valign="top">Retention period</td>
<td align="left" valign="top">Output</td>
<td align="left" valign="top">Binary(4)</td>
</tr>
<tr>
<td align="center" valign="top">5</td>
<td align="left" valign="top">Cycle time</td>
<td align="left" valign="top">Output</td>
<td align="left" valign="top">Binary(4)</td>
</tr>
<tr>
<td align="center" valign="top">6</td>
<td align="left" valign="top">Cycle interval</td>
<td align="left" valign="top">Output</td>
<td align="left" valign="top">Binary(4)</td>
</tr>
<tr>
<td align="center" valign="top">7</td>
<td align="left" valign="top">Companion user job</td>
<td align="left" valign="top">Output</td>
<td align="left" valign="top">Binary(4)</td>
</tr>
<tr>
<td align="center" valign="top">8</td>
<td align="left" valign="top">Default collector definition</td>
<td align="left" valign="top">Output</td>
<td align="left" valign="top">Char(10)</td>
</tr>
<tr>
<td align="center" valign="top">9</td>
<td align="left" valign="top">Current collector definition</td>
<td align="left" valign="top">Output</td>
<td align="left" valign="top">Char(10)</td>
</tr>
<tr>
<td align="center" valign="top">10</td>
<td align="left" valign="top">Error code</td>
<td align="left" valign="top">I/O</td>
<td align="left" valign="top">Char(*)</td>
</tr>
</table>
<br>
&nbsp;&nbsp;Default Public Authority: *EXCLUDE<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Service program: QYPSCOLL<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Threadsafe: No<br>
<!-- iddvc RMBR -->
<br>
</div>
<p>The Retrieve System Collector Attributes (QYPSRSCA,
QypsRtvSysCollectorAttributes) API retrieves system or global collection
attributes. Attributes consist of the default collector state, the default
collection interval in seconds, the library used to store the collection data,
the retention period for the data, the time the initial cycle is to occur, the
interval between cycles, the companion user job flag, the default collection
definition, and the currently running collection definition.</p>
<br>
<h3>Authorities and Locks</h3>
<dl>
<dt><em>API Public Authority</em></dt>
<dd>*EXCLUDE</dd>
</dl>
<br>
<h3>Required Parameter Group</h3>
<dl>
<dt><strong>Collector name</strong></dt>
<dd>INPUT; CHAR(10)
<p>The name of the collector whose default values are to be retrieved. The
special value is:</p>
<table>
<!-- cols="10 90" -->
<tr>
<td align="left" valign="top"><em>*PFR</em></td>
<td align="left" valign="top">Performance collector</td>
</tr>
</table>
<br>
</dd>
<dt><strong>Default collection interval</strong></dt>
<dd>OUTPUT; BINARY(4)
<p>The default interval used when collecting data for a category in seconds.
The interval is 15, 30, 60, 300, 900, 1800, or 3600 seconds. The following
special value may be returned:</p>
<table cellpadding="5">
<!-- cols="5 95" -->
<tr>
<td align="left" valign="top"><em>0</em></td>
<td align="left" valign="top">Do not collect on interval</td>
</tr>
</table>
<br>
</dd>
<dt><strong>Library</strong></dt>
<dd>OUTPUT; CHAR(10)
<p>The name of the library used to store the collection data.</p>
</dd>
<dt><strong>Retention period</strong></dt>
<dd>OUTPUT; BINARY(4)
<p> The retention period indicates how long collection data is to exist.
Collection data older than the retention period is deleted. The retention
period is specified in hours. The maximum value that will be returned is 720
hours, or 30 days. The following special value may be returned:</p>
<table cellpadding="5">
<!-- cols="5 95" -->
<tr>
<td align="left" valign="top"><em>0</em></td>
<td align="left" valign="top">Permanent</td>
</tr>
</table>
<br>
</dd>
<dt><strong>Cycle time</strong></dt>
<dd>OUTPUT; BINARY(4)
<p>The time at which the first cycle is to occur. The cycle time is specified
in minutes past midnight. The maximum allowed value is 1439 minutes, which is
one minute less than 24 hours.</p>
</dd>
<dt><strong>Cycle interval</strong></dt>
<dd>OUTPUT; BINARY(4)
<p>The lapse time between cycles. The cycle time is specified in hours, and can
range from a minimum value of one hour to a maximum value of 24 hours.</p>
</dd>
<dt><strong>Companion user job flag</strong></dt>
<dd>OUTPUT; BINARY(4)
<p>Whether a job is started to run in concert with the collector. One of the
following values will be returned:</p>
<table cellpadding="5">
<!-- cols="5 95" -->
<tr>
<td align="left" valign="top"><em>0</em></td>
<td align="left" valign="top">No companion user job is started.</td>
</tr>
<tr>
<td align="left" valign="top"><em>1</em></td>
<td align="left" valign="top">A companion user job is started. (For the *PFR
collector, this is the database transfer job CVTPFRDTA.)</td>
</tr>
</table>
<br>
</dd>
<dt><strong>Default collector definition</strong></dt>
<dd>OUTPUT; CHAR(10)
<p>The name of the collector definition to run. The possible special values
are:</p>
<p><em>*CURRENT</em><br>
<em>*CUSTOM</em><br>
<em>*ENHCPCPLN</em><br>
<em>*MINIMUM</em><br>
<em>*STANDARD</em><br>
<em>*STANDARDP</em></p>
</dd>
<dt><strong>Current collector definition</strong></dt>
<dd>OUTPUT; CHAR(10)
<p>The name of the currently running collector definition. The possible special
values are:</p>
<p><em>*CUSTOM</em><br>
<em>*ENHCPCPLN</em><br>
<em>*MINIMUM</em><br>
<em>*NONE</em><br>
<em>*STANDARD</em><br>
<em>*STANDARDP</em></p>
</dd>
<dt><strong>Error code</strong></dt>
<dd>I/O; CHAR(*)
<p>The structure in which to return error information. For the format of the
structure, see <a href="../apiref/error.htm#hdrerrcod">Error Code Parameter</a>.</p>
</dd>
</dl>
<br>
<h3>Error Messages</h3>
<table width="100%" cellpadding="5">
<!-- cols="15 85" -->
<tr>
<th align="left" valign="top">Message ID</th>
<th align="left" valign="top">Error Message Text</th>
</tr>
<tr>
<td align="left" valign="top" width="15%">CPF3C36 E</td>
<td align="left" valign="top" width="85%">Number of parameters, &amp;1, entered
for this API was not valid.</td>
</tr>
<tr>
<td align="left" valign="top">CPF3C3C E</td>
<td align="left" valign="top">Value for parameter &amp;1 is not valid.</td>
</tr>
<tr>
<td align="left" valign="top">CPF3C1E E</td>
<td align="left" valign="top">Required parameter &amp;1 omitted.</td>
</tr>
<tr>
<td align="left" valign="top">CPF3CF2 E</td>
<td align="left" valign="top">Errors occurred during running of &amp;1
API.</td>
</tr>
</table>
<br>
<hr>
API introduced: V4R4
<hr>
<center>
<table cellpadding="2" cellspacing="2">
<tr align="center">
<td valign="middle" align="center"><a href="qypscsca.htm">Top</a> | <a href=
"perfmgmt.htm">Performance Management APIs</a> | <a href="aplist.htm">APIs by
category</a></td>
</tr>
</table>
</center>
</body>
</html>