ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/prtprfint.htm

193 lines
10 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">
<title>Print Profile Internals (PRTPRFINT)</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="PRTPRFINT.Top_Of_Page"></a>
<h2>Print Profile Internals (PRTPRFINT)</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="#PRTPRFINT.PARAMETERS.TABLE">Parameters</a><br>
<a href="#PRTPRFINT.COMMAND.EXAMPLES">Examples</a><br>
<a href="#PRTPRFINT.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="PRTPRFINT"></a>
<p>The Print Profile Internals (PRTPRFINT) command allows you to print a report containing information on the number of entries contained in a user profile (*USRPRF) object. The number of entries in the user profile determines the size of the user profile.
</p>
<p>Four types of entries can be found in a user profile:
</p>
<dl>
<dt><b>Owned objects</b></dt>
<dd>For every object a user profile owns, an "owned objects" entry exists in that user's profile (*USRPRF).
</dd>
<dt><b>Private authorities</b></dt>
<dd>For every private authority a user is granted, a "private authority" entry exists in that user's profile (*USRPRF).
</dd>
<dt><b>Authorized objects</b></dt>
<dd>For every user that is granted a private authority to an object a profile owns, an "authorized object" entry exists in the object owner's profile (*USRPRF).
</dd>
<dt><b>Primary group authorities</b></dt>
<dd>For every object for which a user is the primary group, a "primary group" entry exists in that user's profile (*USRPRF).
</dd>
</dl>
<p>Each entry in the user profile causes the user profile (*USRPRF) object to grow. The combination of all of the entries determines the size of the user profile. A user profile (*USRPRF) can contain approximately 10 million entries for objects in the system auxiliary storage pool plus an additional 10 million entries for each independent auxiliary storage pool which is varied on that the profile owns objects on, has private authority to objects on, or is the primary group profile of objects on it. A user profile can not exceed 10 million entries for the objects on any single auxiliary storage pool.
</p>
<p>You can also think of the total number of entries as determining how "full" a user profile is. The report produced by this command shows how full the user profile is by giving a percentage (rather than giving the actual number of entries in the profile.) The report also gives a percentage for each of the four types of entries in the *USRPRF. Note: In the report, the total percentage full for a profile can be greater than 100% due to rounding.
</p>
<p>You can choose to run this report for all user profiles, a subset of profiles, a specific profile or all profiles that are at least a specified percentage full. For example, you can run the report for the CJW profile or you can run the report for all profiles that are at least 99.90% full.
</p>
<p>
<b>Note: </b>If your system has any independent auxiliary storage pools varied on, then the percentages produced by this report may not be what you expect. The percentage is computed for each profile based on the total number of entries used divided by the total number of entries available to that specific profile. The total number of entries available to each profile may not be the same depending on whether the profile has entries for any object on a varied on independent auxiliary storage pool. For example, if the system has two varied on independent auxiliary storage pools and profile TESTUSER1 only has entries for objects on one of them, then the total number of entries available for TESTUSER1 is 20 million. If profile TESTUSER2 has entries for objects on both of the independent auxiliary pools, then the total number of entries available for TESTUSER2 is 30 million. However, if both of the independent auxiliary storage pools are varied off, then the total number of entries available for profiles TESTUSER1 and TESTUSER2 is 10 million.
</p>
<p>Recommendations to avoid profiles becoming full:
</p>
<ul>
<li>Do not have one profile own everything on your system. For example, have each application be owned by its own profile.
</li>
<li>Do not use IBM-supplied profiles, such as QSECOFR and QPGMR, as owners of your application. As shipped from IBM, they already own many objects and can become full when they also own user (non-IBM) objects.
</li>
<li>If you are granting private authorities to many objects for several users, you should consider using an authorization list to secure the objects. Authorization lists will cause one private authority entry for the authorization list in the user's profile rather than one private authority entry for each object. In the object owner's profile, authorization lists will cause an authorized object entry for every user granted authority to the authorization list rather than an authorized object entry for every object multiplied by the number of users granted the private authority.
<p>Authorization lists are especially useful if you are granting private authorities to files. Files are complex objects. For complex objects, you get an entry for each piece of the object. For example, in a file owner's profile, you have an ownership entry for each piece of the file, including an entry or two for each member. (Physical files have two entries per member.) If you grant a private authority to ten users and the file has 50 members, the result will be 100 authorized object entries in the file owner's profile. With an authorization list, the ownership entries will remain the same, but the authorized object entries will be reduced to one for each user granted authority to the authorization list securing the file.
</p>
</li>
</ul>
<p>Do not confuse the percentage full of a user profile with the maximum storage (MAXSTG) that a user profile can own. They are two different concepts.
</p>
<p><b>Restriction:</b> You must have all object (*ALLOBJ) special authority to run this command.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTPRFINT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="PRTPRFINT.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"><a href="#PRTPRFINT.SELECT"><b>SELECT</b></a></td>
<td valign="top">Select by</td>
<td valign="top"><b><u>*USRPRF</u></b>, *PCTFULL</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top" rowspan="2"><a href="#PRTPRFINT.USRPRF"><b>USRPRF</b></a></td>
<td valign="top">User profile</td>
<td valign="top"><i>Qualifier list</i></td>
<td valign="top" rowspan="2">Optional</td>
</tr>
<tr>
<td valign="top">Qualifier 1: User profile</td>
<td valign="top"><i>Generic name, name</i>, <b><u>*ALL</u></b></td>
</tr><tr>
<td valign="top"><a href="#PRTPRFINT.PCTFULL"><b>PCTFULL</b></a></td>
<td valign="top">Percent full</td>
<td valign="top">0.01-100.0, <b><u>99.90</u></b></td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#PRTPRFINT.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="PRTPRFINT.SELECT"></a>
<h3>Select by (SELECT)</h3>
<p>Specifies what criteria is used to select the user profiles to include in the report.
</p>
<dl>
<dt><b><u>*USRPRF</u></b></dt>
<dd>User profiles are selected for the report based on the profile name specified for the USRPRF parameter.
</dd>
<dt><b>*PCTFULL</b></dt>
<dd>User profiles are selected for the report based on the value specified for the PCTFULL parameter.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTPRFINT.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="PRTPRFINT.USRPRF"></a>
<h3>User profile (USRPRF)</h3>
<p>If *USRPRF was specified for the <b>Select by (SELECT)</b> parameter, you must specify the user profiles to be included in the report.
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>All user profiles will be included in the report.
</dd>
<dt><b><i>user-name</i></b></dt>
<dd>The name of the user profile to be included in the report.
</dd>
<dt><b><i>generic-user-name</i></b></dt>
<dd>The generic name of the user profile to be included in the report. A generic name is a character string of one or more characters followed by an asterisk (*).
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTPRFINT.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="PRTPRFINT.PCTFULL"></a>
<h3>Percent full (PCTFULL)</h3>
<p>If *PCTFULL was specified for the <b>Select by (SELECT)</b> parameter, you must enter a value which will be used as the percentage full. User profiles that are at least as full as the percentage specified on this parameter will be included in the report. The value specified must be between 0.01 and 100.00.
</p>
<dl>
<dt><b>99.90</b></dt>
<dd>User profiles that are at least 99.9 percent filled with entries will be included in the report.
</dd>
<dt><b>percent-full</b></dt>
<dd>A value, ranging from 0.01 through 100.00, for the percent full selection value.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTPRFINT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="PRTPRFINT.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
PRTPRFINT SELECT(*PCTFULL) PCTFULL(99.00)
</pre>
</p>
<p>This command prints a report of user profile internal information for all of the user profiles that are at least 99 percent full.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTPRFINT.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="PRTPRFINT.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPFB304</b></dt>
<dd>User does not have required special authorities.
</dd>
<dt><b>CPFB307</b></dt>
<dd>Command &amp;1 in use in another job.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTPRFINT.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>