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

124 lines
5.2 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 User Objects (PRTUSROBJ)</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="PRTUSROBJ.Top_Of_Page"></a>
<h2>Print User Objects (PRTUSROBJ)</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="#PRTUSROBJ.PARAMETERS.TABLE">Parameters</a><br>
<a href="#PRTUSROBJ.COMMAND.EXAMPLES">Examples</a><br>
<a href="#PRTUSROBJ.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="PRTUSROBJ"></a>
<p>The Print User Objects (PRTUSROBJ) command allows you to print a report of the objects in a library that are not created by IBM. Objects are included in the report if the "Created by user" attribute is not *IBM or QLPINSTALL. Use this command to check for user created objects that are in libraries intended for use only by IBM. For example, you may want to run this program for library QSYS to determine if it contains any non-IBM (user) objects.
</p>
<p>
<b>Note: </b>Some objects created by IBM will still appear in this report. For example, objects created by a PTF exit program will be included in this report . Objects are excluded from the report only when their "Created by user" attribute is either "*IBM" or "QLPINSTALL."
</p>
<p>This command will print two reports for a library. The first report (Full Report) will contain all of the objects that have not been created by IBM. The second report (Changed Report) will contain the object that <b>now</b> appear in the specified library and were not in the library when the PRTUSROBJ command was previously run for the library. If the PRTUSROBJ command was not previously run for the library, there will be no 'Changed Report'. If the command has been previously run for the library but no additional objects have been added to the library that were not created by IBM, then the 'Changed Report' will be printed but there will be no objects listed.
</p>
<p>The file QSECPUOOLD in library QUSRSYS contains information from the last time the PRTUSROBJ command was run for a library. There is a member within the file, with the same name as the library specified, for each library previously specified on the command. System file QADSPOBJ in library QSYS with format name of QLIDOBJD is the model file for the QSECPUOOLD file.
</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="#PRTUSROBJ.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="PRTUSROBJ.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="#PRTUSROBJ.LIB"><b>LIB</b></a></td>
<td valign="top">Library</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#PRTUSROBJ.CHGRPTONLY"><b>CHGRPTONLY</b></a></td>
<td valign="top">Changed report only</td>
<td valign="top"><b><u>*NO</u></b>, *YES</td>
<td valign="top">Optional, Positional 2</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#PRTUSROBJ.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="PRTUSROBJ.LIB"></a>
<h3>Library (LIB)</h3>
<p>This is a required parameter.
</p>
<p>The name of the library to search for objects that were not created by IBM.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTUSROBJ.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="PRTUSROBJ.CHGRPTONLY"></a>
<h3>Changed report only (CHGRPTONLY)</h3>
<p>Specifies whether just the changed report should be printed.
</p>
<dl>
<dt><b><u>*NO</u></b></dt>
<dd>The full and changed reports will be printed.
</dd>
<dt><b>*YES</b></dt>
<dd>Only the changed report will be printed.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTUSROBJ.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="PRTUSROBJ.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
PRTUSROBJ LIB(QSYS) CHGONLY(*NO)
</pre>
</p>
<p>This command searches library QSYS for any objects that were not created by IBM and prints both full and changed reports.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTUSROBJ.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="PRTUSROBJ.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>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#PRTUSROBJ.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>