164 lines
5.4 KiB
HTML
164 lines
5.4 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>Revoke Access Code Authority (RVKACCAUT)</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="RVKACCAUT.Top_Of_Page"></a>
|
||
|
<h2>Revoke Access Code Authority (RVKACCAUT)</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="#RVKACCAUT.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#RVKACCAUT.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#RVKACCAUT.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="RVKACCAUT"></a>
|
||
|
<p>The Revoke Access Code Authority (RVKACCAUT) command allows you to revoke the access code authority for an individual user or a group of users.
|
||
|
</p>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<p>You must have all object (*ALLOBJ) special authority to revoke access code authority for other users.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#RVKACCAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="RVKACCAUT.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="#RVKACCAUT.ACC"><b>ACC</b></a></td>
|
||
|
<td valign="top">Document access code</td>
|
||
|
<td valign="top">Single values: *ALL<br>Other values (up to 300 repetitions): 1-2047</td>
|
||
|
<td valign="top">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#RVKACCAUT.USER"><b>USER</b></a></td>
|
||
|
<td valign="top">User profile</td>
|
||
|
<td valign="top">Single values: *CURRENT, *ALL<br>Other values (up to 300 repetitions): <i>Name</i></td>
|
||
|
<td valign="top">Required, Positional 2</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#RVKACCAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="RVKACCAUT.ACC"></a>
|
||
|
<h3>Document access code (ACC)</h3>
|
||
|
<p>Specifies the access code for which authority is revoked.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>All access code authority for the user is revoked.
|
||
|
</dd>
|
||
|
<dt><b><i>1-2047</i></b></dt>
|
||
|
<dd>Specify the access code for which authority is revoked. A maximum of 300 access codes can be specified here.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#RVKACCAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="RVKACCAUT.USER"></a>
|
||
|
<h3>User profile (USER)</h3>
|
||
|
<p>Specifies the names of the user profile for which access code authority is revoked.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*CURRENT</b></dt>
|
||
|
<dd>Specifies that the access code authority of the user currently running this command is revoked. This is the only valid option you can specify unless you have all object (*ALLOBJ) or security administrator (*SECADM) special authority.
|
||
|
<p>
|
||
|
<b>Note: </b>You can specify *CURRENT on the USER parameter to remove authority from any access codes to which you have authority.
|
||
|
</p>
|
||
|
</dd>
|
||
|
<dt><b>*ALL</b></dt>
|
||
|
<dd>Access code authority is revoked from all users.
|
||
|
</dd>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the user profile for which access code authority is revoked.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#RVKACCAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="RVKACCAUT.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Revoking Authority of Current User</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
RVKACCAUT ACC(250) USER(*CURRENT)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command takes away the access code authority of access code 250 from the user currently running this command.
|
||
|
</p>
|
||
|
<p><b>Example 2: Revoking Authority of Specific User</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
RVKACCAUT ACC(300) USER(BILLY)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command takes away the access code authority of access code 300 from user BILLY. This command must be run by someone with *ALLOBJ or *SECADM special authority, or by user BILLY. A user who runs this command for himself can enter USER(*CURRENT) or his own user profile name; they are the same.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#RVKACCAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="RVKACCAUT.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF9009</b></dt>
|
||
|
<dd>System requires file &1 in &2 be journaled.
|
||
|
</dd>
|
||
|
<dt><b>CPF9014</b></dt>
|
||
|
<dd>Access code authority removed from &1 users, not revoked from &2 users.
|
||
|
</dd>
|
||
|
<dt><b>CPF9024</b></dt>
|
||
|
<dd>System cannot get correct record to finish operation.
|
||
|
</dd>
|
||
|
<dt><b>CPF9037</b></dt>
|
||
|
<dd>Not allowed to specify USER(*ALL).
|
||
|
</dd>
|
||
|
<dt><b>CPF9845</b></dt>
|
||
|
<dd>Error occurred while opening file &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF9846</b></dt>
|
||
|
<dd>Error while processing file &1 in library &2.
|
||
|
</dd>
|
||
|
<dt><b>CPF9847</b></dt>
|
||
|
<dd>Error occurred while closing file &1 in library &2.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#RVKACCAUT.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|