141 lines
4.1 KiB
HTML
141 lines
4.1 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>Work with Objects by Owner (WRKOBJOWN)</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="WRKOBJOWN.Top_Of_Page"></a>
|
|
<h2>Work with Objects by Owner (WRKOBJOWN)</h2>
|
|
<table width="100%">
|
|
<tr>
|
|
<td valign="top" align="left"><b>Where allowed to run: </b>Interactive environments (*INTERACT *IPGM *IREXX *EXEC)<br>
|
|
<b>Threadsafe: </b>No
|
|
</td>
|
|
<td valign="top" align="right">
|
|
<a href="#WRKOBJOWN.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#WRKOBJOWN.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#WRKOBJOWN.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="WRKOBJOWN"></a>
|
|
<p>The Work with Objects by Owner (WRKOBJOWN) command is used to manage objects for any user profile. This command displays objects owned by a user profile and performs the following:
|
|
</p>
|
|
<ul>
|
|
<li>Edit object authority
|
|
</li>
|
|
<li>Delete the object
|
|
</li>
|
|
<li>Display object authority
|
|
</li>
|
|
<li>Rename the object
|
|
</li>
|
|
<li>Display the object's description
|
|
</li>
|
|
<li>Change the ownership of the object
|
|
</li>
|
|
</ul>
|
|
<p><b>Restrictions:</b> You must have read (*READ) authority to the specified user profile.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKOBJOWN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="WRKOBJOWN.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="#WRKOBJOWN.USRPRF"><b>USRPRF</b></a></td>
|
|
<td valign="top">User profile</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*CURRENT</u></b></td>
|
|
<td valign="top">Optional, Positional 1</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKOBJOWN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="WRKOBJOWN.USRPRF"></a>
|
|
<h3>User profile (USRPRF)</h3>
|
|
<p>Specifies the user profile whose owned objects are to be shown.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*CURRENT</u></b></dt>
|
|
<dd>Objects owned by the user profile that is running the WRKOBJOWN command are shown.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the user profile whose owned objects are to be shown.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKOBJOWN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="WRKOBJOWN.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Working With Objects Owned by the Current User Profile</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
WRKOBJOWN USRPRF(*CURRENT)
|
|
</pre>
|
|
</p>
|
|
<p>This command displays the Work with Objects by Owner panel, showing a list of the objects owned by the user running this command.
|
|
</p>
|
|
<p><b>Example 2: Working With Objects Owned by a User Profile</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
WRKOBJOWN USRPRF(BARTH)
|
|
</pre>
|
|
</p>
|
|
<p>This command displays the Work with Objects by Owner panel, showing a list of the objects owned by user profile BARTH.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKOBJOWN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="WRKOBJOWN.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>CPFA0AB</b></dt>
|
|
<dd>Operation failed for object. Object is &1.
|
|
</dd>
|
|
<dt><b>CPFA1BF</b></dt>
|
|
<dd>Object &1 is not accessible.
|
|
</dd>
|
|
<dt><b>CPFA1C0</b></dt>
|
|
<dd>Object &1 is not accessible.
|
|
</dd>
|
|
<dt><b>CPF2204</b></dt>
|
|
<dd>User profile &1 not found.
|
|
</dd>
|
|
<dt><b>CPF2213</b></dt>
|
|
<dd>Not able to allocate user profile &1.
|
|
</dd>
|
|
<dt><b>CPF2217</b></dt>
|
|
<dd>Not authorized to user profile &1.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#WRKOBJOWN.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|