ibm-information-center/dist/eclipse/plugins/i5OS.ic.cl_5.4.0.1/wrksecrdar.htm

188 lines
6.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>Work with Security OnDemand (WRKSECRDAR)</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="WRKSECRDAR.Top_Of_Page"></a>
<h2>Work with Security OnDemand (WRKSECRDAR)</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="#WRKSECRDAR.PARAMETERS.TABLE">Parameters</a><br>
<a href="#WRKSECRDAR.COMMAND.EXAMPLES">Examples</a><br>
<a href="#WRKSECRDAR.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="WRKSECRDAR"></a>
<p>The Work with Security OnDemand (WRKSECRDAR) Command allows you to specify the security for the OnDemand product. Security can be established at the product, report, or key level.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKSECRDAR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="WRKSECRDAR.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="#WRKSECRDAR.TYPE"><b>TYPE</b></a></td>
<td valign="top">Security function</td>
<td valign="top">*USER, *RPTGRP, *REPORT, *KEY</td>
<td valign="top">Required, Positional 1</td>
</tr>
<tr>
<td valign="top"><a href="#WRKSECRDAR.REPORT"><b>REPORT</b></a></td>
<td valign="top">Report name</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#WRKSECRDAR.VERSION"><b>VERSION</b></a></td>
<td valign="top">Version</td>
<td valign="top">1-99, <b><u>01</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#WRKSECRDAR.RPTGRP"><b>RPTGRP</b></a></td>
<td valign="top">Report group</td>
<td valign="top"><i>Name</i></td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#WRKSECRDAR.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="WRKSECRDAR.TYPE"></a>
<h3>Type (TYPE)</h3>
<p>Specifies the type of security to process.
</p>
<p>This is a required parameter.
</p>
<dl>
<dt><b>*USER</b></dt>
<dd>This option allows you to work with the authorities for your OnDemand users.
</dd>
<dt><b>*REPORT</b></dt>
<dd>This option allows you to work with the authorities for a report. From this display you may add or remove users who are authorized to an OnDemand report or you may change the level of authority that a user has for a report.
<p>
<b>Note: </b>This value can only be specified if the Content Manager OnDemand Spooled File Archive is installed.
</p>
</dd>
<dt><b>*RPTGRP</b></dt>
<dd>This option allows you to work with the authorities for report groups. From this display you may add or remove users who are authorized to a report group or you may change the level of authority that a user has for a report group.
<p>
<b>Note: </b>This value can only be specified if the Content Manager OnDemand Spooled File Archive is installed.
</p>
</dd>
<dt><b>*KEY</b></dt>
<dd>This option allows you to define for each key in a report, the range of key values each user can view, print, or FAX (if available).
<p>
<b>Note: </b>This value can only be specified if the Content Manager OnDemand Spooled File Archive is installed.
</p>
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKSECRDAR.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="WRKSECRDAR.REPORT"></a>
<h3>Report name (REPORT)</h3>
<p>Specifies the name of the report for which you want to define or change the security.
</p>
<p>
<b>Note: </b>If you press the F4 key for this parameter while prompting the command, a list of all the valid entries is presented to you.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKSECRDAR.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="WRKSECRDAR.VERSION"></a>
<h3>Version (VERSION)</h3>
<p>Specifies for which version of the report you want to define or change the key security.
</p>
<dl>
<dt><b><u>01</u></b></dt>
<dd>The first version of the report definition is used.
</dd>
<dt><b><i>01-99</i></b></dt>
<dd>Specify the version number of the report to use.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKSECRDAR.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="WRKSECRDAR.RPTGRP"></a>
<h3>Report group (RPTGRP)</h3>
<p>Specifies the name of the report group that you want to secure.
</p>
<p>
<b>Note: </b>If you press the F4 key for this parameter while prompting the command, a list of all the valid entries is presented to you.
</p>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of the report group for which you want to authorize users.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKSECRDAR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKSECRDAR.COMMAND.EXAMPLES">Examples</a> </h3>
<p><b>Example 1: Simple Example</b>
</p>
<p>
<pre>
WRKSECRDAR TYPE(*REPORT)
</pre>
</p>
<p>This command example initiates the OnDemand security functions for all OnDemand reports (*REPORT). Other security types that can be specified include report group security (*RPTGRP), report key security (*KEY), and OnDemand users (*USER).
</p>
<p><b>Example 2: More Complex Example</b>
</p>
<p>
<pre>
WRKSECRDAR TYPE(*REPORT) REPORT(CHECKSTMTS)
</pre>
</p>
<p>This command is similar to Example 1 but provides a specific value for the report name to be secured.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKSECRDAR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKSECRDAR.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF9899</b></dt>
<dd>Error occurred during processing of command.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKSECRDAR.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>