Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved

Chapter 2 CICS Palette : Pool Manager

Pool Manager
The Pool Manager activity provides information about the internal state of the connection pool, as well as some usage statistics. It is also possible to terminate existing pooled connections by providing the name of the pool and the ID of the connection to terminate.
If the Pool Manager runs before any pooled connections are instantiated, a document containing only the topmost node is returned.
The ActiveMatrix BusinessWorks Plug-in for CICS's connection pool is slightly different from most pooling mechanisms. The remote end of the connection, in this case, the CICS socket listener program, is managed by the CICS administrator and terminates idle connections once they exceed thresholds established by the CICS administrator. This means that the ActiveMatrix BusinessWorks activity could obtain a pooled connection that has been closed since it was last used. In this case, the connection is simply re-established incurring a small overhead.
From the performance tuning point of view, this connection pool provides throughput improvements only so long as connections do not remain idle for long periods. The time period in question is the shorter of the maximum connection lifetime established by the CICS administrator, or the pool's max lifetime parameter.
When sizing the connection pool, ask the CICS administrator how many connections he permits the socket listener to instantiate at any given time. Then divide that number by the number of machines your application is deployed on since each deployment uses its instance of the pool. Exceeding the limits established by the CICS administrator results in activities getting errors when acquiring a connection.
Configuration Tab
Table 11 lists and describes the fields under the Configuration tab.
Default: CICS Connection Pool Manager
Input Tab
Table 12 lists and describes the fields for Input (root node).
The URL name of the region resource. The named region node is the subject of the KillConnection and SetActiveHost commands. It does not limit the report to connections in this node. Each invocation of the ConnectionPool activity reports the status of all connections in all pools.
Example: /Regions/AbcPooled.cicspi
Enter the region name in the regionresource field and the URL of the CICS region to connect to in the SetActiveHost field and run the pool manager interaction.
Output Tab
Table 13 lists and describes the fields for the Output tab. It provides an xml document describing the current state of all connection pools for the ActiveMatrix BusinessWorks instance on which the activity runs. The root node is "PoolmanagerOut" and has a single repeating child.ConnectionPool:
Example: /Regions/AbcPooled.cicspi
Error Output Tab
If an error is encountered, for example if no pooled sessions exist, an exception of type CicsPiException is generated.

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved