ibm-information-center/dist/eclipse/plugins/i5OS.ic.apis_5.4.0.1/QSYCVTA.htm

270 lines
7.1 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">
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
<title>Convert Authority Values to MI Value (QSYCVTA) API</title>
<!-- Begin Header Records ========================================== -->
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<!-- Sec SCRIPT A converted by B2H R4.1 (346) (CMS) by V2KEA304 -->
<!-- at RCHVMW2 on 17 Feb 1999 at 11:05:09 -->
<!-- Change History: -->
<!-- YYMMDD USERID Change description -->
<!--File Edited by Kersten Dec 2001 -->
<!--End Header Records -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<a name="Top_Of_Page"></a>
<!-- Java sync-link -->
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript">
</script>
<h2>Convert Authority Values to MI Value (QSYCVTA) API</h2>
<div class="box" style="width: 60%;">
<br>
&nbsp;&nbsp;Required Parameter Group:<br>
<!-- iddvc RMBR -->
<br>
<table width="100%">
<tr>
<td align="center" valign="top" width="10%">1</td>
<td align="left" valign="top" width="50%">Converted authority value</td>
<td align="left" valign="top" width="20%">Output</td>
<td align="left" valign="top" width="20%">Char(2)</td>
</tr>
<tr>
<td align="center" valign="top">2</td>
<td align="left" valign="top">Authority special value</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Char(*)</td>
</tr>
<tr>
<td align="center" valign="top">3</td>
<td align="left" valign="top">Number of authorities</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Binary(4)</td>
</tr>
<tr>
<td align="center" valign="top">4</td>
<td align="left" valign="top">Error code</td>
<td align="left" valign="top">I/O</td>
<td align="left" valign="top">Char(*)</td>
</tr>
</table>
<br>
&nbsp;&nbsp;Default Public Authority: *USE<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Threadsafe: No<br>
<!-- iddvc RMBR -->
<br>
</div>
<p>The Convert Authority Values to MI Value (QSYCVTA) API converts the special
values indicating authority to the corresponding machine interface (MI)
representation of that value.</p>
<br>
<h3>Required Parameter Group</h3>
<dl>
<dt><strong>Converted authority value</strong></dt>
<dd>OUTPUT; CHAR(2)
<p>The MI representation of the authority special value in hexadecimal
format.</p>
</dd>
<dt><strong>Authority special value</strong></dt>
<dd>INPUT; CHAR(*)
<p>The authority special values that are converted. The converted value is the
cumulative value of all authority special values specified. This parameter can
contain up to eleven 10-character fields. Each of the 10-character fields can
contain one of the following special values. The following identifies the
authority special values that are converted to the corresponding MI
representation of that value.</p>
<table cellpadding="5">
<!-- cols="15 85" -->
<tr>
<td align="left" valign="top"><em>*ADD</em></td>
<td align="left" valign="top">Add authority.</td>
</tr>
<tr>
<td align="left" valign="top"><em>*ALL</em></td>
<td align="left" valign="top">All authority.</td>
</tr>
<tr>
<td align="left" valign="top"><em>*AUTL</em></td>
<td align="left" valign="top">Authorization list authority. If this value is
specified, no other values can specified. This authority value is only valid
for *PUBLIC authority on an object secured by an authorization list.</td>
</tr>
<tr>
<td align="left" valign="top"><em>*AUTLMGT</em></td>
<td align="left" valign="top">Authorization list management authority.</td>
</tr>
<tr>
<td align="left" valign="top"><em>*CHANGE</em></td>
<td align="left" valign="top">Change authority.</td>
</tr>
<tr>
<td align="left" valign="top"><em>*DLT</em></td>
<td align="left" valign="top">Delete authority.</td>
</tr>
<tr>
<td align="left" valign="top"><em>*EXECUTE</em></td>
<td align="left" valign="top">Execute authority.</td>
</tr>
<tr>
<td align="left" valign="top"><em>*EXCLUDE</em></td>
<td align="left" valign="top">Exclude authority. If this value is specified, no
other values can be specified.</td>
</tr>
<tr>
<td align="left" valign="top"><em>*OBJALTER</em></td>
<td align="left" valign="top">Object alter authority.</td>
</tr>
<tr>
<td align="left" valign="top"><em>*OBJEXIST</em></td>
<td align="left" valign="top">Object existence authority.</td>
</tr>
<tr>
<td align="left" valign="top"><em>*OBJMGT</em></td>
<td align="left" valign="top">Object management authority.</td>
</tr>
<tr>
<td align="left" valign="top"><em>*OBJOPR</em></td>
<td align="left" valign="top">Object operational authority.</td>
</tr>
<tr>
<td align="left" valign="top"><em>*OBJREF</em></td>
<td align="left" valign="top">Object reference authority.</td>
</tr>
<tr>
<td align="left" valign="top"><em>*READ</em></td>
<td align="left" valign="top">Read authority.</td>
</tr>
<tr>
<td align="left" valign="top"><em>*UPD</em></td>
<td align="left" valign="top">Update authority.</td>
</tr>
<tr>
<td align="left" valign="top"><em>*USE</em></td>
<td align="left" valign="top">Use authority.</td>
</tr>
</table>
<br>
</dd>
<dt><strong>Number of authorities</strong></dt>
<dd>INPUT; BINARY(4)
<p>The number of authority special values specified in the authority special
value parameter. You can specify 1 through 11.</p>
</dd>
<dt><strong>Error code</strong></dt>
<dd>I/O; CHAR(*)
<p>The structure in which to return error information. For the format of the
structure, see <a href="../apiref/error.htm#hdrerrcod">Error Code Parameter</a>.</p>
</dd>
</dl>
<br>
<h3>Error Messages</h3>
<table cellpadding="5">
<!-- cols="15 85" -->
<tr>
<th align="left" valign="top">Message ID</th>
<th align="left" valign="top">Error Message Text</th>
</tr>
<tr>
<td width="15%" valign="top">CPF22FA E</td>
<td width="85%" valign="top">Authority value &amp;1 not valid.</td>
</tr>
<tr>
<td align="left" valign="top">CPF22FB E</td>
<td align="left" valign="top">Must specify *EXCLUDE or *AUTL as only authority
value.</td>
</tr>
<tr>
<td align="left" valign="top">CPF22F7 E</td>
<td align="left" valign="top">Number of authorities must be between 1 and
&amp;1.</td>
</tr>
<tr>
<td align="left" valign="top">CPF3C90 E</td>
<td align="left" valign="top">Literal value cannot be changed.</td>
</tr>
<tr>
<td align="left" valign="top">CPF3CF1 E</td>
<td align="left" valign="top">Error code parameter not valid.</td>
</tr>
<tr>
<td align="left" valign="top">CPF9872 E</td>
<td align="left" valign="top">Program or service program &amp;1 in library
&amp;2 ended. Reason code &amp;3.</td>
</tr>
</table>
<br>
<hr>
API introduced: V2R2
<hr>
<center>
<table cellpadding="2" cellspacing="2">
<tr align="center">
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
"sec.htm">Security APIs</a> | <a href="aplist.htm">APIs by category</a></td>
</tr>
</table>
</center>
</body>
</html>