Previous Topic: Using Double QuotesNext Topic: List Menu


z/OS External Filters

You can also save filters in a common global repository on the z/OS host known as the external filter/class library. Placing filters in this shared library makes them available for reuse by any user. Each shared filter defines a class for a specific object. Any user can copy (insert) a filter string from this library and use it, or simpler yet, they can simply refer to the external filter/class by its name. Any object views or User Views that contain filters that only refer to a filter/class name will automatically pick up the class changes whenever someone modifies the filter string that defines that particular class.

This illustration is a screen shot example of the Filter dialog and shows the Insert External Filter, Insert Class, and Save as External Filter/Class icons.

To create or add a filter to the z/OS external filter/class repository using the object Filter dialog

  1. From the Object menu bar click the Filter icon.

    The Filter dialog is displayed.

  2. Define the filter as explained in the section Defining a Filter.
  3. Click Save as External Filter/Class on the Filter dialog toolbar, as shown in the above example. This displays the Save External Filter/Class As dialog.
  4. Enter a name and description:

Observe the following:

To refer to a filter by its External Filter/Class name

  1. From the Object menu bar click the Filter icon.

    The Filter dialog is displayed.

  2. Optionally, create a filter string using the standard procedure.
  3. Click in the filter expression window where you want the Class name inserted. You can insert Classes anywhere in the filter string and it becomes part of the string.
  4. Click Insert Class on the Filter dialog toolbar to display the list of External Filter/Class names available for your object.
  5. Click the desired External Filter/Class name you want to use, and the reference to the Class name is copied into the filter dialog window.
  6. You can repeat steps 2 to 5 to meet your needs. Observe the following:

To import a filter string from the External Filter/Class library, instead of just referring to it

  1. From the Object menu bar click the Filter icon.

    The Filter dialog is displayed.

  2. Optionally, create a filter string using the standard procedure.
  3. Click in the filter expression window where you want the External Filter inserted. You can insert External Filters anywhere in the filter string and it becomes part of the string.
  4. Click Insert External Filter on the Filter dialog toolbar to display the list of External Filter/Class names available for your object.
  5. Click the desired External Filter/Class name you want to use, and its filter string is imported into the Filter dialog window.
  6. You can repeat steps 2 to 5 to meet your needs. Observe the following: