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

354 lines
13 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>Print User Profile (PRTUSRPRF)</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="PRTUSRPRF.Top_Of_Page"></a>
<h2>Print User Profile (PRTUSRPRF)</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="#PRTUSRPRF.PARAMETERS.TABLE">Parameters</a><br>
<a href="#PRTUSRPRF.COMMAND.EXAMPLES">Examples</a><br>
<a href="#PRTUSRPRF.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="PRTUSRPRF"></a>
<p>The Print User Profile (PRTUSRPRF) command allows you to print a report containing information for the user profiles on the system. Four different reports can be printed. One contains authority type information, one contains environment type information, one contains password type information, and one contains password level type information.
</p>
<p>The authority information report will contain the following information:
</p>
<ul>
<li>The type of report.
</li>
<li>The criteria used to select user profiles in the report.
</li>
<li>The special authorities being selected on (if 'Select by' is *SPCAUT).
</li>
<li>The user classes being selected on (if 'Select by' is *USRCLS).
</li>
<li>An entry for each user profile that was selected. Each entry contains the following information:
<ul>
<li>The name of the user profile.
</li>
<li>The names of the user's group profiles.
<p>If the user profile does not have any group profiles, this field will contain '*NONE'. If the user has group profiles, an additional entry will follow the user profile entry for each of the user's groups. The entry will contain the group profile name and the special authorities that the group profile has.
</p>
</li>
<li>An indicator for the special authorities that the user profile has ('X' or ' ').
</li>
<li>The user class for the user profile.
</li>
<li>Whether the user profile or its group profile own objects created by this user profile.
</li>
<li>What authority is given to the user's group profile for newly created objects (if the owner value is *USRPRF).
</li>
<li>The limited capability value for the user profile.
</li>
</ul>
</li>
</ul>
<p>The environment information report will contain the following information:
</p>
<ul>
<li>The type of report.
</li>
<li>The criteria used to select user profiles in the report.
</li>
<li>The special authorities being selected on (if 'Select by' is *SPCAUT).
</li>
<li>The user classes being selected on (if 'Select by' is *USRCLS).
</li>
<li>An entry for each user profile that was selected. Each entry contains the following information:
<ul>
<li>The name of the user profile.
</li>
<li>The name of the user's current library.
</li>
<li>The name of the user's initial menu, and the library it is in.
</li>
<li>The name of the user's initial program, and the library it is in.
</li>
<li>The name of the user's job description, and the library it is in.
</li>
<li>The name of the user's message queue, and the library it is in.
</li>
<li>The name of the user's attention program, and the library it is in.
</li>
</ul>
</li>
</ul>
<p>The password information report will contain the following information:
</p>
<ul>
<li>The type of report.
</li>
<li>The criteria used to select user profiles in the report.
</li>
<li>The special authorities being selected on (if 'Select by' is *SPCAUT).
</li>
<li>The user classes being selected on (if 'Select by' is *USRCLS).
</li>
<li>The value of the QPWDEXPITV system value (for reference if the user's password expiration interval is *SYSVAL).
</li>
<li>An entry for each user profile that was selected. Each entry contains the following information:
<ul>
<li>The name of the user profile.
</li>
<li>The status of the user profile.
</li>
<li>The number of sign-on attempts that were not valid.
</li>
<li>The 'no password' indicator ('X' if the user doesn't have a password, ' ' if it does).
</li>
<li>Whether the password is managed locally.
</li>
<li>The user's previous sign-on date.
</li>
<li>The date the user's password was last changed.
</li>
<li>The user's password expiration interval.
</li>
<li>Whether the user's password is set to expired.
</li>
</ul>
</li>
</ul>
<p>The password level information report will contain the following information that can be used to determine if the system is ready to change password levels.
</p>
<ul>
<li>The type of report.
</li>
<li>The criteria used to select user profiles in the report.
</li>
<li>The special authorities being selected on (if 'Select by' is *SPCAUT).
</li>
<li>The user classes being selected on (if 'Select by' is *USRCLS).
</li>
<li>An entry for each user profile that was selected. Each entry contains the following information:
<ul>
<li>The name of the user profile.
</li>
<li>The 'password present for level 0 or 1' indicator ('*YES' if the user has a password, '*NO' if the user does not have a password, or '*UNKNOWN' if the password information was not available).
</li>
<li>The 'password present for level 2 or 3' indicator ('*YES', '*NO', or '*UNKNOWN').
</li>
<li>The 'password present for NetServer' indicator for Windows 95 and 98 NetServer passwords ('*YES', '*NO', or '*UNKNOWN').
</li>
</ul>
</li>
</ul>
<p>
<b>Note: </b>The Display Security Attributes (DSPSECA) command can be used to display the current and pending password level for the system. The password level can be changed by changing the QPWDLVL system value.
</p>
<p><b>Restriction:</b> You must have all object (*ALLOBJ) or audit (*AUDIT) special authority to run this command.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTUSRPRF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="PRTUSRPRF.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="#PRTUSRPRF.TYPE"><b>TYPE</b></a></td>
<td valign="top">Type of information</td>
<td valign="top"><b><u>*ALL</u></b>, *AUTINFO, *ENVINFO, *PWDINFO, *PWDLVL</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#PRTUSRPRF.SELECT"><b>SELECT</b></a></td>
<td valign="top">Select by</td>
<td valign="top"><b><u>*SPCAUT</u></b>, *USRCLS, *MISMATCH</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#PRTUSRPRF.SPCAUT"><b>SPCAUT</b></a></td>
<td valign="top">Special authorities</td>
<td valign="top">Single values: <b><u>*ALL</u></b><br>Other values (up to 9 repetitions): *ALLOBJ, *AUDIT, *JOBCTL, *IOSYSCFG, *SAVSYS, *SECADM, *SERVICE, *SPLCTL, *NONE</td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#PRTUSRPRF.USRCLS"><b>USRCLS</b></a></td>
<td valign="top">User class</td>
<td valign="top">Single values: <b><u>*ALL</u></b><br>Other values (up to 5 repetitions): *USER, *SYSOPR, *PGMR, *SECADM, *SECOFR</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#PRTUSRPRF.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="PRTUSRPRF.TYPE"></a>
<h3>Type of information (TYPE)</h3>
<p>The type of information that can be printed for the selected user profiles.
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>All of the reports are printed for the selected user profiles.
</dd>
<dt><b>*AUTINFO</b></dt>
<dd>A report containing the authority type information for the selected user profiles is printed.
</dd>
<dt><b>*ENVINFO</b></dt>
<dd>A report containing the environment type information for the selected user profiles is printed.
</dd>
<dt><b>*PWDINFO</b></dt>
<dd>A report containing the password type information for the selected user profiles is printed.
</dd>
<dt><b>*PWDLVL</b></dt>
<dd>A report containing the password level type information for the selected user profiles is printed. This report can be used to determine which user profiles have passwords that are used at the different password levels.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTUSRPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="PRTUSRPRF.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>*SPCAUT</u></b></dt>
<dd>User profiles will be selected for the report based on special authorities.
</dd>
<dt><b>*USRCLS</b></dt>
<dd>User profiles will be selected for the report based on user class.
</dd>
<dt><b>*MISMATCH</b></dt>
<dd>User profiles will be selected for the report based on their special authorities not being the default values assigned to their user class.
<p>
<b>Note: </b>The defaulted special authorities for user classes changed in V3R7. Therefore, when running this report for profiles created prior to V3R7, you may notice a larger than expected number of profiles that do not match the default values.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTUSRPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="PRTUSRPRF.SPCAUT"></a>
<h3>Special authorities (SPCAUT)</h3>
<p>If *SPCAUT was specified for the <b>Select by (SELECT)</b> parameter, it specifies which special authorities should be used to select users. User profiles with any of the special authorities specified for this parameter will be included in the report. A maximum of 9 special authorities can be specified.
</p>
<p>You can enter multiple values for this parameter.
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>All user profiles will be included in the report.
<p>Or select one or more of the following values (9 maximum):
</p>
</dd>
<dt><b>*ALLOBJ</b></dt>
<dd>User profiles with *ALLOBJ special authority will be included in the report.
</dd>
<dt><b>*AUDIT</b></dt>
<dd>User profiles with *AUDIT special authority will be included in the report.
</dd>
<dt><b>*IOSYSCFG</b></dt>
<dd>User profiles with *IOSYSCFG special authority will be included in the report.
</dd>
<dt><b>*JOBCTL</b></dt>
<dd>User profiles with *JOBCTL special authority will be included in the report.
</dd>
<dt><b>*SAVSYS</b></dt>
<dd>User profiles with *SAVSYS special authority will be included in the report.
</dd>
<dt><b>*SECADM</b></dt>
<dd>User profiles with *SECADM special authority will be included in the report.
</dd>
<dt><b>*SERVICE</b></dt>
<dd>User profiles with *SERVICE special authority will be included in the report.
</dd>
<dt><b>*SPLCTL</b></dt>
<dd>User profiles with *SPLCTL special authority will be included in the report.
</dd>
<dt><b>*NONE</b></dt>
<dd>User profiles with no special authorities will be included in the report.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTUSRPRF.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="PRTUSRPRF.USRCLS"></a>
<h3>User class (USRCLS)</h3>
<p>If *USRCLS was specified for the <b>Select by (SELECT)</b> parameter, it specifies that user classes should be used to select users. User profiles with a user class that is specified for this parameter will be included in the report. A maximum of 5 user classes can be specified.
</p>
<p>You can enter multiple values for this parameter.
</p>
<dl>
<dt><b><u>*ALL</u></b></dt>
<dd>All user profiles will be included in the report.
<p>Or select one or more of the following values (5 maximum):
</p>
</dd>
<dt><b>*USER</b></dt>
<dd>User profiles with *USER user class will be included in the report.
</dd>
<dt><b>*SYSOPR</b></dt>
<dd>User profiles with *SYSOPR user class will be included in the report.
</dd>
<dt><b>*PGMR</b></dt>
<dd>User profiles with *PGMR user class will be included in the report.
</dd>
<dt><b>*SECADM</b></dt>
<dd>User profiles with *SECADM user class will be included in the report.
</dd>
<dt><b>*SECOFR</b></dt>
<dd>User profiles with *SECOFR user class will be included in the report.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTUSRPRF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="PRTUSRPRF.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
PRTUSRPRF TYPE(*ALL) SELECT(*SPCAUT) SPCAUT(*ALLOBJ *SECADM)
</pre>
</p>
<p>This command prints all four reports for user profiles that have either *ALLOBJ or *SECADM special authority.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTUSRPRF.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="PRTUSRPRF.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="#PRTUSRPRF.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>