226 lines
7.4 KiB
HTML
226 lines
7.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>Change Function Usage (CHGFCNUSG)</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="CHGFCNUSG.Top_Of_Page"></a>
|
||
|
<h2>Change Function Usage (CHGFCNUSG)</h2>
|
||
|
<table width="100%">
|
||
|
<tr>
|
||
|
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
|
||
|
<b>Threadsafe: </b>Yes
|
||
|
</td>
|
||
|
<td valign="top" align="right">
|
||
|
<a href="#CHGFCNUSG.PARAMETERS.TABLE">Parameters</a><br>
|
||
|
<a href="#CHGFCNUSG.COMMAND.EXAMPLES">Examples</a><br>
|
||
|
<a href="#CHGFCNUSG.ERROR.MESSAGES">Error messages</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<div> <a name="CHGFCNUSG"></a>
|
||
|
<p>The Change Function Usage (CHGFCNUSG) command changes the allowed usage information of a registered function. Functions can be registered by using the Register Function (QSYRGFN) API.
|
||
|
</p>
|
||
|
<p>Some functions provide other means to authorize users to the function. For example, a user that is not allowed to use the Service Trace (QIBM_SERVICE_TRACE) function will still be allowed to use the Trace Internal (TRCINT) command if they have service (*SERVICE) special authority.
|
||
|
</p>
|
||
|
<p><b>Restrictions:</b> You must have security administrator (*SECADM) special authority to use this command.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGFCNUSG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
|
||
|
<div>
|
||
|
<h3><a name="CHGFCNUSG.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="#CHGFCNUSG.FCNID"><b>FCNID</b></a></td>
|
||
|
<td valign="top">Function ID</td>
|
||
|
<td valign="top"><i>Simple name</i></td>
|
||
|
<td valign="top">Required, Positional 1</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CHGFCNUSG.USER"><b>USER</b></a></td>
|
||
|
<td valign="top">User</td>
|
||
|
<td valign="top"><i>Simple name</i></td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CHGFCNUSG.USAGE"><b>USAGE</b></a></td>
|
||
|
<td valign="top">Usage</td>
|
||
|
<td valign="top">*ALLOWED, *DENIED, *NONE</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CHGFCNUSG.DEFAULT"><b>DEFAULT</b></a></td>
|
||
|
<td valign="top">Default authority</td>
|
||
|
<td valign="top"><b><u>*SAME</u></b>, *ALLOWED, *DENIED</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td valign="top"><a href="#CHGFCNUSG.ALLOBJAUT"><b>ALLOBJAUT</b></a></td>
|
||
|
<td valign="top">*ALLOBJ special authority</td>
|
||
|
<td valign="top"><b><u>*SAME</u></b>, *USED, *NOTUSED</td>
|
||
|
<td valign="top">Optional</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGFCNUSG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div> <a name="CHGFCNUSG.FCNID"></a>
|
||
|
<h3>Function ID (FCNID)</h3>
|
||
|
<p>Specifies the function identifier for which the usage information is to be changed.
|
||
|
</p>
|
||
|
<p>This is a required parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the function ID for which the usage information is to be changed.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGFCNUSG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGFCNUSG.USER"></a>
|
||
|
<h3>User (USER)</h3>
|
||
|
<p>Specifies the name of the user profile whose function usage information is to be changed.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><i>name</i></b></dt>
|
||
|
<dd>Specify the name of the user profile whose function usage information is to be changed.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGFCNUSG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGFCNUSG.USAGE"></a>
|
||
|
<h3>Usage (USAGE)</h3>
|
||
|
<p>Specifies the allowed usage of the user profile specified for the <b>User (USER)</b> parameter.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>*ALLOWED</b></dt>
|
||
|
<dd>The user profile is allowed to use the function.
|
||
|
</dd>
|
||
|
<dt><b>*DENIED</b></dt>
|
||
|
<dd>The user profile is not allowed to use the function unless the function provides some other way to authorize users.
|
||
|
</dd>
|
||
|
<dt><b>*NONE</b></dt>
|
||
|
<dd>The user profile will not be explicitly allowed or denied usage of the function.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGFCNUSG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGFCNUSG.DEFAULT"></a>
|
||
|
<h3>Default authority (DEFAULT)</h3>
|
||
|
<p>Specifies the default usage for the function. The default usage is used if the user or one of its groups does not have a specific usage setting.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*SAME</u></b></dt>
|
||
|
<dd>The value does not change.
|
||
|
</dd>
|
||
|
<dt><b>*ALLOWED</b></dt>
|
||
|
<dd>User profiles without a usage setting for the function are allowed to use the function.
|
||
|
</dd>
|
||
|
<dt><b>*DENIED</b></dt>
|
||
|
<dd>User profiles without a usage setting for the function are not allowed to use the function unless the function provides some other way to authorize users.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGFCNUSG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<div> <a name="CHGFCNUSG.ALLOBJAUT"></a>
|
||
|
<h3>*ALLOBJ special authority (ALLOBJAUT)</h3>
|
||
|
<p>Specifies whether all object (*ALLOBJ) special authority may be used to give a user access to the function.
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b><u>*SAME</u></b></dt>
|
||
|
<dd>The value does not change.
|
||
|
</dd>
|
||
|
<dt><b>*USED</b></dt>
|
||
|
<dd>A user with *ALLOBJ special authority is always allowed to use the function.
|
||
|
</dd>
|
||
|
<dt><b>*NOTUSED</b></dt>
|
||
|
<dd>For a user with *ALLOBJ special authority to use the function, the usage information specified for the function must indicate that the user is allowed to use the function for one of the following reasons:
|
||
|
<ul>
|
||
|
<li>the user is allowed usage,
|
||
|
</li>
|
||
|
<li>one of its groups is allowed usage, or
|
||
|
</li>
|
||
|
<li>the default setting is to allow usage.
|
||
|
</li>
|
||
|
</ul>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGFCNUSG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="CHGFCNUSG.COMMAND.EXAMPLES">Examples</a> </h3>
|
||
|
<p>
|
||
|
<pre>
|
||
|
CHGFCNUSG FCNID(QIBM_SERVICE_TRACE) DEFAULT(*DENIED)
|
||
|
USER(QSRVBAS) USAGE(*ALLOWED)
|
||
|
</pre>
|
||
|
</p>
|
||
|
<p>This command denies access to the QIBM_SERVICE_TRACE function for the default user. It also allows the QSRVBAS user profile to use the function.
|
||
|
</p>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGFCNUSG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
<hr size="2" width="100%">
|
||
|
<div><h3><a name="CHGFCNUSG.ERROR.MESSAGES">Error messages</a> </h3>
|
||
|
<p><b><u>*ESCAPE Messages</u></b>
|
||
|
</p>
|
||
|
<dl>
|
||
|
<dt><b>CPF2204</b></dt>
|
||
|
<dd>User profile &1 not found.
|
||
|
</dd>
|
||
|
<dt><b>CPF2225</b></dt>
|
||
|
<dd>Not able to allocate internal system object.
|
||
|
</dd>
|
||
|
<dt><b>CPF222E</b></dt>
|
||
|
<dd>&1 special authority is required.
|
||
|
</dd>
|
||
|
<dt><b>CPF228A</b></dt>
|
||
|
<dd>Function &1 not registered.
|
||
|
</dd>
|
||
|
<dt><b>CPF229B</b></dt>
|
||
|
<dd>Operation not allowed for function &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF229D</b></dt>
|
||
|
<dd>Operation not allowed on user profile &1.
|
||
|
</dd>
|
||
|
<dt><b>CPF3CD9</b></dt>
|
||
|
<dd>Requested function cannot be performed at this time.
|
||
|
</dd>
|
||
|
<dt><b>CPF3CDA</b></dt>
|
||
|
<dd>Registration facility repository not available for use.
|
||
|
</dd>
|
||
|
</dl>
|
||
|
</div>
|
||
|
<table width="100%">
|
||
|
<tr><td align="right"><a href="#CHGFCNUSG.Top_Of_Page">Top</a></td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|