Saving search queries

You can save a Remote z/OS Search or Remote z/OS File Search query and run it from the Remote Systems view.

Before you begin

Before you can save a search query, you must first run a remote z/OSĀ® search or remote z/OS file search and have the search results displayed in the Remote z/OS Search view. The search results must be limited to a single z/OS system. See the related topics for instructions.

Procedure

To save a remote z/OS search or remote z/OS file search query:

  1. In the Remote z/OS Search view, display the results of the search query you want to save.
    If you completed more than one search, use the search history list to select the search query you want to save.
  2. Click the Add query to My Favorites in Remote Systems view icon to save the search query.
    This icon is enabled only if the search scope is limited to a single z/OS system under the following conditions:
    • You search for files.
    • The search scope is for a single z/OS system. The scope can be an entire z/OS system or multiple partitioned data sets on the same system.
    • The search scope does not include z/OS projects or MVS subprojects.
    .
    The Add Query to Remote Systems View window opens.
  3. Type a name for the query and click OK.
    The search query is added to the My Favorites folder of the MVS Files subsystem.

What to do next

After you save a search query, you can do the following actions:
  • To run a saved query, select it in the Remote Systems view and click Run Query from the menu.
  • To edit and run a saved query, select it in the Remote Systems view and click Edit and Run from the menu. This action opens the Remote z/OS Search or Remote z/OS File Search window, which you can use to change the search criteria and submit the search request.