Comparing resources

You can compare the results of previous resource searches. You can refine the comparison by combining results or excluding them.

About this task

To compare the results, use the Compare resources icon torch icon from the Show Resources view to open the Compare search results window. Then specify which results you want to combine and which you want to exclude. You can quickly compare lists of resources to see differences. For example, to find all resources in region IYDZZ428 and not in region IYDZEJ02, you can select each region in the Region window and use the menu option Show resources to create two search results, one for each region. Because the results are both stored in the history, they are accessible using the Compare resources icon .

The Compare search results window lists all the available searches in the history. Any resources selected have their results included in the overall result. In the following screen capture, the results of the search Resource for IYDZZ428 are selected, so that all resources in their regions are included in the result.

The Compare search results window also lists all the available searches in the history. Any resources selected have their results excluded from the overall result. In the following screen capture, the results of the search Resource for IYDZEJ02 are selected, so that any resources in this region are excluded from the result.

Screen capture of the Compare Search results window that allows a user to compare two sets of results from the Show resources command. Also a user can select to compare resources that are either in the results of the Show resources command or are not in the results of the Show resources command.

The overall result set combines all resources for searches that are selected in the "Show resources in" list, but excludes resources that are in any of the results from searches selected in the "and not in" list. The result is shown in the Show Resources view where all resource types that are in Region IYDZZ428 and not in Region IYDZEJ02 are displayed.

Screen capture of the results from the Compare search results query described previously shown in the Show Resources view.

You can select any number of searches in the history using the Compare search results window and can build up complex compound results of search inclusion and exclusion. The Compare search results window relies on all of the searches being complete, and works by comparing resources available in the CICS® IA plug-in. For large amounts of data, it is more efficient to create a query that defines the rules for resource inclusion and exclusion because queries are run on the server.
You can only compare the results of queries that produce the same structure of results. For example, if you run a query that produces the following results:
RESOURCE TYPE
  - RESOURCE NAME
      ....
RESOURCE TYPE
  - RESOURCE NAME
      ....
You cannot compare that query to the following results:
TRANSID
  - RESOURCE NAME
    ....
TRANSID
  - RESOURCE NAME
     ....