244 lines
9.2 KiB
HTML
244 lines
9.2 KiB
HTML
|
|
||
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
|
<html>
|
||
|
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<title>Create PEX Data (CRTPEXDTA)</title>
|
||
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
</head>
|
||
|
<body bgcolor="white">
|
||
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<a name="CRTPEXDTA.Top_Of_Page"></a>
|
||
|
<h2>Create PEX Data (CRTPEXDTA)</h2>
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
|
||
|
<b>Threadsafe: </b>No
|
||
|
</td>
|
||
|
<td valign="top" align="right">
|
||
|
<a href="#CRTPEXDTA.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#CRTPEXDTA.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#CRTPEXDTA.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="CRTPEXDTA"></a>
|
||
|
<p>The Create Performance Data (CRTPEXDTA) command creates the Performance Explorer database files based on the data in a Performance Explorer management collection object (object type *MGTCOL).
|
||
|
</p>
|
||
|
<p>Additional information about the Performance Explorer tool can be found in the Performance Management information at http://www.ibm.com/servers/eserver/iseries/perfmgmt/resource.htm.
|
||
|
</p>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<ol>
|
||
|
<li>This command is shipped with public *EXCLUDE authority.
|
||
|
</li>
|
||
|
<li>The user must have *ADD and *EXECUTE authority to the specified TOLIB library, and *READ and *EXECUTE authority to the FROMLIB library.
|
||
|
</li>
|
||
|
<li>The user must have *READ authority to the management collection object.
|
||
|
</li>
|
||
|
<li>To use this command you must have *SERVICE special authority, or be authorized to the Service Trace function of i5/OS through iSeries Navigator's Application Administration support. The Change Function Usage Information (QSYCHFUI) API, with a function ID of QIBM_SERVICE_TRACE, can also be used to change the list of users that are allowed to perform trace operations.
|
||
|
</li>
|
||
|
<li>The following user profiles have private authorities to use the command:
|
||
|
<ul>
|
||
|
<li>QPGMR
|
||
|
</li>
|
||
|
<li>QSRV
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CRTPEXDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="CRTPEXDTA.PARAMETERS.TABLE">Parameters</a></h3>
|
||
|
<table border="1" cellpadding="4" cellspacing="0">
|
||
|
<!-- col1="10" col2="15" col3="30" col4="10" -->
|
||
|
<tr>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
|
||
|
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top" rowspan="3"><a href="#CRTPEXDTA.FROMMGTCOL"><b>FROMMGTCOL</b></a></td>
|
||
|
<td valign="top">From collection</td>
|
||
|
<td valign="top"><i>Qualified object name</i></td>
|
||
|
<td valign="top" rowspan="3">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top">Qualifier 1: From collection</td>
|
||
|
<td valign="top"><i>Name</i></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top">Qualifier 2: Library</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>QPEXDATA</u></b></td>
|
||
|
</tr><tr>
|
||
|
<td valign="top"><a href="#CRTPEXDTA.TOMBR"><b>TOMBR</b></a></td>
|
||
|
<td valign="top">To member</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*FROMMGTCOL</u></b></td>
|
||
|
<td valign="top">Optional, Positional 2</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CRTPEXDTA.TOLIB"><b>TOLIB</b></a></td>
|
||
|
<td valign="top">To library</td>
|
||
|
<td valign="top"><i>Name</i>, <b><u>*FROMMGTCOL</u></b></td>
|
||
|
<td valign="top">Optional, Positional 3</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CRTPEXDTA.NBRTHD"><b>NBRTHD</b></a></td>
|
||
|
<td valign="top">Number of threads</td>
|
||
|
<td valign="top">1-256, <b><u>*CALC</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CRTPEXDTA.RPLDTA"><b>RPLDTA</b></a></td>
|
||
|
<td valign="top">Replace data</td>
|
||
|
<td valign="top">*YES, <b><u>*NO</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CRTPEXDTA.TEXT"><b>TEXT</b></a></td>
|
||
|
<td valign="top">Text 'description'</td>
|
||
|
<td valign="top"><i>Character value</i>, <b><u>*BLANK</u></b></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CRTPEXDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="CRTPEXDTA.FROMMGTCOL"></a>
|
||
|
<h3>From collection (FROMMGTCOL)</h3>
|
||
|
<p>Specifies the name of the Performance Explorer management collection object. The data in this object will be stored in the Performance Explorer database files in the specified member.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>management_collection_object-name</i></b></dt>
|
||
|
<dd>Specify the name of the management collection object.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
<p>The possible library values are:
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>QPEXDATA</u></b></dt>
|
||
|
<dd>The QPEXDATA library is the recommended library for storing data collected by the Performance Explorer tool. The first time the Performance Explorer tool is used, this library is created for the user.
|
||
|
</dd>
|
||
|
<dt><b><i>data-library-name</i></b></dt>
|
||
|
<dd>Specify the name of the library where the management collection object exists.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CRTPEXDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CRTPEXDTA.TOMBR"></a>
|
||
|
<h3>To member (TOMBR)</h3>
|
||
|
<p>Specifies the member name used to store the data in the Performance Explorer database files.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*FROMMGTCOL</u></b></dt>
|
||
|
<dd>The name of the management collection object is used as the member name.
|
||
|
</dd>
|
||
|
<dt><b><i>member-name</i></b></dt>
|
||
|
<dd>Specify the name of the member for the database used to store the Performance Explorer data.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CRTPEXDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CRTPEXDTA.TOLIB"></a>
|
||
|
<h3>To library (TOLIB)</h3>
|
||
|
<p>Specifies the library used to store the data in the Performance Explorer database files.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*FROMMGTCOL</u></b></dt>
|
||
|
<dd>The library specified for the management collection object is used.
|
||
|
</dd>
|
||
|
<dt><b><i>library-name</i></b></dt>
|
||
|
<dd>Specify the name of the library for the database used to store the Performance Explorer data.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CRTPEXDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CRTPEXDTA.NBRTHD"></a>
|
||
|
<h3>Number of threads (NBRTHD)</h3>
|
||
|
<p>Specifies the number of concurrent threads that the CRTPEXDTA command uses to process the data. Specifying a number greater than 1 allows the CRTPEXDTA command to take advantage of available CPU cycles, especially on a multi-processor system. While this may speed up the command processing, it may also degrade the performance of other jobs on the system. You can minimize this impact by changing the priority of the job that runs the CRTPEXDTA command to a higher number. You should also verify the disk subsystem can handle the additional threads. Typically, the CRTPEXDTA command requires one disk arm for each active thread.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*CALC</u></b></dt>
|
||
|
<dd>The system will calculate a reasonable number of threads to do the CRTPEXDTA processing which will not use excessive CPU or disk resources. Usually this is one or two threads for each available processor.
|
||
|
</dd>
|
||
|
<dt><b><i>number-of-threads</i></b></dt>
|
||
|
<dd>Specify the number of threads for CRTPEXDTA to use to process the collected data.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CRTPEXDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CRTPEXDTA.RPLDTA"></a>
|
||
|
<h3>Replace data (RPLDTA)</h3>
|
||
|
<p>Specifies whether to replace the data in an existing set of file members with new performance data.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*NO</u></b></dt>
|
||
|
<dd>If a member already exists with the same name, an error message is sent to the user. This prevents the user from inadvertently writing over existing data.
|
||
|
</dd>
|
||
|
<dt><b>*YES</b></dt>
|
||
|
<dd>If a member already exists with the same name, the old data is lost and is replaced by the new data.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CRTPEXDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CRTPEXDTA.TEXT"></a>
|
||
|
<h3>Text 'description' (TEXT)</h3>
|
||
|
<p>Specifies the text that briefly describes the type of data collected.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*BLANK</u></b></dt>
|
||
|
<dd>Text is not specified.
|
||
|
</dd>
|
||
|
<dt><b><i>'description'</i></b></dt>
|
||
|
<dd>Specify no more than 50 characters of text, enclosed in apostrophes.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CRTPEXDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="CRTPEXDTA.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Creating PEX Data</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CRTPEXDTA FROMMGTCOL(QAPEXDTA/MYCOL) TOMBR(TEST)
|
||
|
TOLIB(QAPEXDTA) NBRTHD(2)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command creates Performance Explorer (PEX) data in member name TEST in library QAPEXDATA. The collected data exists in the management collection object MYCOL found in library QAPEXDTA. Two threads will be used to process the data.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CRTPEXDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="CRTPEXDTA.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p>None
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CRTPEXDTA.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|