IBM Support

Limiting results in the CPSM WUI to reduce CPU and wait time

Question & Answer


Question

When I select a link to view resources from the CICSPlex SM Web User Interface (CPSM WUI), is it possible to enter a filter before the initial search? When I select a resource link like "Programs" from the WUI menu, the link takes me to the Program tabular view and retrieves all the program objects before I am able to enter a filter. This causes a long wait and more CPU resources to retrieve the program objects that would not be necessary if I were able to add a filter. There are very few times when the entire resource list is needed, and when it is, the * wildcard could be used to gather to a list of all resources.

Answer

In your WUI server, you can specify the following three parameters in the EYUWUI parms to limit the results

 GLOBALPREFILTER(NO/YES)      DEFAULTWARNCNT(value)        RESOURCELIMIT(WARNING/FAIL)       

If you specify GLOBALPREFILTER(YES) it will cause the WUI to present a filtering screen before any request that would return a list of resources. For demonstration purposes, I started a CPSM 5.2 WUI server with the following values specified

 GLOBALPREFILTER(YES)      DEFAULTWARNCNT(10)        RESOURCELIMIT(FAIL)  

When I sign onto the WUI now, and try to retrieve a list of PROGRAMS, the following filter screen is presented

alt text

If I do not enter any filters and simply press OK, I get the following

alt text

This request denial was because I specified RESOURCELIMIT(FAIL). If I only specified WARNING, CPSM would still issue the above warning screen, but allow the user to continue anyway.

If I then qualify my request to only return programs that begin with ‘GJT*’ and click OK, I then receive

alt text

By using filters, you don't make CPSM go get potentially millions of program entries unnecessarily. You also don't run the risk of making the CMAS abend due to its dataspaces running out of space.

Optional parameters for the WUI in the IBM Knowledge Center documents the GLOBALPREFILTER, DEFAULTWARNCNT and RESOURCELIMIT parameters.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"WUI","Version":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

CICS/TS CICSTS CICS TS CICS Transaction Server

Document Information

Modified date:
26 February 2015

UID

dwa1177703