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

191 lines
6.6 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 Filters (WRKFTR)</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="WRKFTR.Top_Of_Page"></a>
<h2>Work with Filters (WRKFTR)</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="#WRKFTR.PARAMETERS.TABLE">Parameters</a><br>
<a href="#WRKFTR.COMMAND.EXAMPLES">Examples</a><br>
<a href="#WRKFTR.ERROR.MESSAGES">Error messages</a></td>
</tr>
</table>
<div> <a name="WRKFTR"></a>
<p>The Work with Filters (WRKFTR) command allows you to work with and print a list of filters, to change and delete specified filters, to work with selection and action entries contained in specified filters, and to create new filters.
</p>
<p><b>Restrictions:</b>
</p>
<ul>
<li>Only the libraries to which you have *READ authority are searched.
</li>
<li>Only the filters to which you have authority are shown.
</li>
<li>To perform operations on the filters, you must have *USE authority to the command used by the operation, and the appropriate authority to the filters on which the operation is to be performed.
</li>
</ul>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKFTR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div>
<h3><a name="WRKFTR.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="#WRKFTR.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>Generic name, name</i>, *ALL</td>
</tr><tr>
<td valign="top">Qualifier 2: Library</td>
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB, *USRLIBL, *ALL, *ALLUSR</td>
</tr></table>
<table width="100%">
<tr><td align="right"><a href="#WRKFTR.Top_Of_Page">Top</a></td></tr>
</table>
</div>
<div> <a name="WRKFTR.FILTER"></a>
<h3>Filter (FILTER)</h3>
<p>Specifies the qualified name of the filter that is shown.
</p>
<p>The possible library values are:
</p>
<dl>
<dt><b><u>*LIBL</u></b></dt>
<dd>All libraries in the library list for the current thread are searched. All objects in these libraries with the specified object name are shown.
</dd>
</dl>
<dl>
<dt><b>*CURLIB</b></dt>
<dd>The current library is searched. If no library is specified as the current library for the job, the QGPL library is used.
</dd>
<dt><b>*USRLIBL</b></dt>
<dd>Only the libraries listed in the user portion of the library list are searched.
</dd>
<dt><b>*ALL</b></dt>
<dd>All libraries in the system, including QSYS, are searched.
</dd>
</dl>
<dl>
<dt><b>*ALLUSR</b></dt>
<dd>All user libraries are searched. All libraries with names that do not begin with the letter Q are searched except for the following:
<p>
<pre>
#CGULIB #DSULIB #SEULIB
#COBLIB #RPGLIB
#DFULIB #SDALIB
</pre>
</p>
<p>Although the following Qxxx libraries are provided by IBM, they typically contain user data that changes frequently. Therefore, these libraries are considered user libraries and are also searched:
</p>
<p>
<pre>
QDSNX QRCLxxxxx QUSRIJS QUSRVxRxMx
QGPL QSRVAGT QUSRINFSKR
QGPL38 QSYS2 QUSRNOTES
QMGTC QSYS2xxxxx QUSROND
QMGTC2 QS36F QUSRPOSGS
QMPGDATA QUSER38 QUSRPOSSA
QMQMDATA QUSRADSM QUSRPYMSVR
QMQMPROC QUSRBRM QUSRRDARS
QPFRDATA QUSRDIRCL QUSRSYS
QRCL QUSRDIRDB QUSRVI
</pre>
</p>
<ol>
<li>'xxxxx' is the number of a primary auxiliary storage pool (ASP).
</li>
<li>A different library name, in the format QUSRVxRxMx, can be created by the user for each previous release supported by IBM to contain any user commands to be compiled in a CL program for the previous release. For the QUSRVxRxMx user library, VxRxMx is the version, release, and modification level of a previous release that IBM continues to support.
</li>
</ol>
</dd>
</dl>
<dl>
<dt><b><i>library-name</i></b></dt>
<dd>Specify the name of the library where the filters are located.
</dd>
<dt><b>*ALL</b></dt>
<dd>All filters in the specified library are listed.
</dd>
<dt><b><i>filter-name</i></b></dt>
<dd>Specify the name of the filter that is shown.
</dd>
<dt><b><i>generic*-filter-name</i></b></dt>
<dd>Specify the generic name of the filter. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. If a generic name is specified, then all filters with names that begin with the generic name, and for which you have authority, are shown. If an asterisk is not included with the generic (prefix) name, the system assumes it to be the complete filter name.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKFTR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKFTR.COMMAND.EXAMPLES">Examples</a> </h3>
<p>
<pre>
WRKFTR FILTER(MYLIB/MY*)
</pre>
</p>
<p>This command shows a list of filters whose names begin with 'MY' in library MYLIB. From the list shown, you can change, delete, or work with the entries in any or all of the filters shown. You can also create a new filter.
</p>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKFTR.Top_Of_Page">Top</a></td></tr>
</table>
<hr size="2" width="100%">
<div><h3><a name="WRKFTR.ERROR.MESSAGES">Error messages</a> </h3>
<p><b><u>*ESCAPE Messages</u></b>
</p>
<dl>
<dt><b>CPF812F</b></dt>
<dd>Filter damaged.
</dd>
<dt><b>CPF91E8</b></dt>
<dd>Internal processing error occurred.
</dd>
<dt><b>CPF9802</b></dt>
<dd>Not authorized to object &amp;2 in &amp;3.
</dd>
<dt><b>CPF9803</b></dt>
<dd>Cannot allocate object &amp;2 in library &amp;3.
</dd>
<dt><b>CPF9807</b></dt>
<dd>One or more libraries in library list deleted.
</dd>
<dt><b>CPF9808</b></dt>
<dd>Cannot allocate one or more libraries on library list.
</dd>
<dt><b>CPF9830</b></dt>
<dd>Cannot assign library &amp;1.
</dd>
</dl>
</div>
<table width="100%">
<tr><td align="right"><a href="#WRKFTR.Top_Of_Page">Top</a></td></tr>
</table>
</body>
</html>