150 lines
4.9 KiB
HTML
150 lines
4.9 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>Add Access Code (ADDACC)</title>
|
||
|
</head>
|
||
|
<body bgcolor="white">
|
||
|
<a name="ADDACC.Top_Of_Page"></a>
|
||
|
<h2>Add Access Code (ADDACC)</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="#ADDACC.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#ADDACC.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#ADDACC.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="ADDACC"></a>
|
||
|
<p>The Add Access Code (ADDACC) command allows you to define a new access code to the system for later use when securing a document or folder, or on commands dealing with object authority or access authority. The Add Access Code (ADDACC) command identifies both the access code added and the descriptive text that is associated with the access code.
|
||
|
</p>
|
||
|
<p><b>Restrictions:</b>
|
||
|
</p>
|
||
|
<p>To use this command, you must have all object (*ALLOBJ) authority.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDACC.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="ADDACC.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="#ADDACC.ACC"><b>ACC</b></a></td>
|
||
|
<td valign="top">Document access code</td>
|
||
|
<td valign="top">1-2047, *AVAIL</td>
|
||
|
<td valign="top">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#ADDACC.TEXT"><b>TEXT</b></a></td>
|
||
|
<td valign="top">Text 'description'</td>
|
||
|
<td valign="top"><i>Character value</i></td>
|
||
|
<td valign="top">Required, Positional 2</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDACC.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="ADDACC.ACC"></a>
|
||
|
<h3>Document access code (ACC)</h3>
|
||
|
<p>Specifies the access code that is added to the system. The access code must not be currently defined on the system.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*AVAIL</b></dt>
|
||
|
<dd>The system chooses the next free access code and adds that access code to the system; you must specify the text. The access code selected is returned to you in a completion message.
|
||
|
</dd>
|
||
|
<dt><b><i>1-2047</i></b></dt>
|
||
|
<dd>Specify an access code to be added to the system.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDACC.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="ADDACC.TEXT"></a>
|
||
|
<h3>Text 'description' (TEXT)</h3>
|
||
|
<p>Specifies the text that briefly describes the object.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>character</i></b></dt>
|
||
|
<dd>Specify no more than 50 characters of text, enclosed in apostrophes.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDACC.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="ADDACC.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p><b>Example 1: Adding an Access Code</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
ADDACC ACC(700) TEXT('programmers')
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command adds access code 700 to the system. This access code is authorized to all programmers (after the GRTACCAUT command is run). It is used when filing documents to which all programmers may have access.
|
||
|
</p>
|
||
|
<p><b>Example 2: Adding Next Available Access Code</b>
|
||
|
</p>
|
||
|
<p>
|
||
|
<pre>
|
||
|
ADDACC ACC(*AVAIL) TEXT('department managers')
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command adds the next available access code to the system. This access code is authorized to all department managers (after the GRTACCAUT command is run). It is used when placing in the document library objects to which all department managers may have access. The system returns a message containing the access code that was being used.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#ADDACC.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="ADDACC.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF897B</b></dt>
|
||
|
<dd>Mail Log Conversion failed.
|
||
|
</dd>
|
||
|
<dt><b>CPF9001</b></dt>
|
||
|
<dd>Add access code request failed.
|
||
|
</dd>
|
||
|
<dt><b>CPF9009</b></dt>
|
||
|
<dd>System requires file &1 in &2 be journaled.
|
||
|
</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="#ADDACC.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|