Work with Filters (WRKFTR)
Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
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.
Restrictions:
- Only the libraries to which you have *READ authority are searched.
- Only the filters to which you have authority are shown.
- 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.
Top |
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
FILTER | Filter | Qualified object name | Required, Positional 1 |
Qualifier 1: Filter | Generic name, name, *ALL | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB, *USRLIBL, *ALL, *ALLUSR |
Top |
Filter (FILTER)
Specifies the qualified name of the filter that is shown.
The possible library values are:
- *LIBL
- All libraries in the library list for the current thread are searched. All objects in these libraries with the specified object name are shown.
- *CURLIB
- The current library is searched. If no library is specified as the current library for the job, the QGPL library is used.
- *USRLIBL
- Only the libraries listed in the user portion of the library list are searched.
- *ALL
- All libraries in the system, including QSYS, are searched.
- *ALLUSR
- All user libraries are searched. All libraries with names that do not begin with the letter Q are searched except for the following:
#CGULIB #DSULIB #SEULIB #COBLIB #RPGLIB #DFULIB #SDALIB
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:
QDSNX QRCLxxxxx QUSRDIRDB QUSRVI QGPL QSRVAGT QUSRIJS QUSRVxRxMx QGPL38 QSYS2 QUSRINFSKR QMGTC QSYS2xxxxx QUSRNOTES QMGTC2 QS36F QUSROND QMPGDATA QUSER38 QUSRPOSGS QMQMDATA QUSRADSM QUSRPOSSA QMQMPROC QUSRBRM QUSRPYMSVR QPFRDATA QUSRDIRCF QUSRRDARS QRCL QUSRDIRCL QUSRSYS
- 'xxxxx' is the number of a primary auxiliary storage pool (ASP).
- 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.
- library-name
- Specify the name of the library where the filters are located.
- *ALL
- All filters in the specified library are listed.
- filter-name
- Specify the name of the filter that is shown.
- generic*-filter-name
- 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.
Top |
Examples
WRKFTR FILTER(MYLIB/MY*)
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.
Top |
Error messages
*ESCAPE Messages
- CPF812F
- Filter damaged.
- CPF91E8
- Internal processing error occurred.
- CPF9802
- Not authorized to object &2 in &3.
- CPF9803
- Cannot allocate object &2 in library &3.
- CPF9807
- One or more libraries in library list deleted.
- CPF9808
- Cannot allocate one or more libraries on library list.
- CPF9830
- Cannot assign library &1.
Top |