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

217 lines
8.2 KiB
HTML
Raw Permalink 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">
<title>Create Filter (CRTFTR)</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="CRTFTR.Top_Of_Page"></a>
<h2>Create Filter (CRTFTR)</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="#CRTFTR.PARAMETERS.TABLE">Parameters</a><br>
<a href="#CRTFTR.COMMAND.EXAMPLES">Examples</a><br>
<a href="#CRTFTR.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="CRTFTR"></a>
<p>The Create Filter (CRTFTR) command creates a filter object of the specified type. Filters contain selection entries and action entries. A filter allows the user to categorize data into groups and specify special actions to be applied to each group. The typical user is a system programmer or operator responsible for system management.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTFTR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="CRTFTR.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" rowspan="3"><a href="#CRTFTR.FILTER"><b>FILTER</b></a></td>
<td valign="top">Filter</td>
<td valign="top"><i>Qualified object name</i></td>
<td valign="top" rowspan="3">Required, Positional 1</td>
</tr>
<tr>
<td valign="top">Qualifier 1: Filter</td>
<td valign="top"><i>Name</i></td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*CURLIB</u></b></td>
</tr><tr>
<td valign="top"><a href="#CRTFTR.TYPE"><b>TYPE</b></a></td>
<td valign="top">Type</td>
<td valign="top">*ALR, *PRB</td>
<td valign="top">Required, Positional 2</td>
</tr>
<tr>
<td valign="top"><a href="#CRTFTR.TEXT"><b>TEXT</b></a></td>
<td valign="top">Text 'description'</td>
<td valign="top"><i>Character value</i>, <b><u>*BLANK</u></b></td>
<td valign="top">Optional</td>
</tr>
<tr>
<td valign="top"><a href="#CRTFTR.AUT"><b>AUT</b></a></td>
<td valign="top">Authority</td>
<td valign="top"><i>Name</i>, <b><u>*LIBCRTAUT</u></b>, *CHANGE, *ALL, *USE, *EXCLUDE</td>
<td valign="top">Optional</td>
</tr>
</table>
<table width="100%">
<tr><td align="right"><a href="#CRTFTR.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="CRTFTR.FILTER"></a>
<h3>Filter (FILTER)</h3>
<p>Specifies the qualified name of the filter that is created.
</p>
<dl>
<dt><b></b></dt>
<dd>The library specified must be on *SYSLIB (primary system ASP). A library on an independent auxiliary storage pool (IASP) cannot be specified since CRTFTR does not support IASP. The possible library values are:
<dl>
<dt><b><u>*CURLIB</u></b></dt>
<dd>The current library is used to locate the filter. If no library is specified as the current library for the job, the QGPL library is used.
</dd>
<dt><b><i>library-name</i></b></dt>
<dd>Specify the name of the library where the filter is located.
</dd>
</dl>
</dd>
<dt><b><i>filter-name</i></b></dt>
<dd>Specify the name of the filter that is to be created.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTFTR.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTFTR.TYPE"></a>
<h3>Type (TYPE)</h3>
<p>Specifies the type of filter being created. The type of filter determines which applications can use the filter and the type of entries that can be placed in the filter.
</p>
<dl>
<dt><b>*ALR</b></dt>
<dd>The filter is an alert filter. The i5/OS Alert Manager can use the filter on alerts that it receives or generates.
</dd>
<dt><b>*PRB</b></dt>
<dd>The filter is a problem filter. The i5/OS Problem Manager uses the filter on problem entries that are created, changed, or deleted.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTFTR.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTFTR.TEXT"></a>
<h3>Text 'description' (TEXT)</h3>
<p>Specifies text that briefly describes the object.
</p>
<dl>
<dt><b><u>*BLANK</u></b></dt>
<dd>Text is not specified.
</dd>
<dt><b><i>character-value</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="#CRTFTR.Top_Of_Page">Top</a></td></tr>
</table>
<div> <a name="CRTFTR.AUT"></a>
<h3>Authority (AUT)</h3>
<p>Specifies the authority you are giving to users who do not have specific authority for the object, who are not on an authorization list, and whose group profile or supplemental group profiles do not have specific authority for the object.
</p>
<dl>
<dt><b><u>*LIBCRTAUT</u></b></dt>
<dd>The system determines the authority for the object by using the value specified for the <b>Create authority (CRTAUT)</b> parameter on the Create Library command (CRTLIB) for the library containing the object to be created. If the value specified for the CRTAUT parameter is changed, the new value will not affect any existing objects.
</dd>
</dl>
<dl>
<dt><b>*CHANGE</b></dt>
<dd>The user can perform all operations on the object except those limited to the owner or controlled by object existence (*OBJEXIST) and object management (*OBJMGT) authorities. The user can change and perform basic functions on the object. *CHANGE authority provides object operational (*OBJOPR) authority and all data authority. If the object is an authorization list, the user cannot add, change, or remove users.
</dd>
</dl>
<dl>
<dt><b>*ALL</b></dt>
<dd>The user can perform all operations except those limited to the owner or controlled by authorization list management (*AUTLMGT) authority. The user can control the object's existence, specify the security for the object, change the object, and perform basic functions on the object. The user also can change ownership of the object.
</dd>
</dl>
<dl>
<dt><b>*USE</b></dt>
<dd>The user can perform basic operations on the object, such as running a program or reading a file. The user cannot change the object. Use (*USE) authority provides object operational (*OBJOPR), read (*READ), and execute (*EXECUTE) authorities.
</dd>
</dl>
<dl>
<dt><b>*EXCLUDE</b></dt>
<dd>The user cannot access the object.
</dd>
</dl>
<dl>
<dt><b><i>name</i></b></dt>
<dd>Specify the name of an authorization list to be used for authority to the object. Users included in the authorization list are granted authority to the object as specified in the list. The authorization list must exist when the object is created.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTFTR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CRTFTR.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
CRTFTR FILTER(MYLIB/MYFILTER) TYPE(*ALR) AUT(*CHANGE)
TEXT('My filter')
</pre>
</p>
<p>This command creates an alert filter called MYFILTER in the library MYLIB. The type is *ALR and the public has *CHANGE authority to the filter, described as 'My filter'.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTFTR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="CRTFTR.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF2108</b></dt>
<dd>Object &amp;1 type *&amp;3 not added to library &amp;2.
</dd>
<dt><b>CPF2112</b></dt>
<dd>Object &amp;1 in &amp;2 type *&amp;3 already exists.
</dd>
<dt><b>CPF2113</b></dt>
<dd>Cannot allocate library &amp;1.
</dd>
<dt><b>CPF2151</b></dt>
<dd>Operation failed for &amp;2 in &amp;1 type *&amp;3.
</dd>
<dt><b>CPF2182</b></dt>
<dd>Not authorized to library &amp;1.
</dd>
<dt><b>CPF2283</b></dt>
<dd>Authorization list &amp;1 does not exist.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#CRTFTR.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>