Receiving Notification of Events

An APPC/MVS server can base its processing on the current sizes of its allocate queues. For example, your server might allocate additional resources to manage a growing workload more efficiently. This type of processing is sometimes called workload balancing.

To check the size of an allocate queue at any one point in time, your server can call the Query_Allocate_Queue service. To monitor the growth of an allocate queue dynamically (that is, on an ongoing basis), however, use the Set_Allocate_Queue_Notification service with the Get_Event service, as follows:
  • Call the Set_Allocate_Queue_Notification service to request notification whenever an allocate queue reaches a particular number of allocate requests.
  • Call the Get_Event service to actually receive the notification you requested through the Set_Allocate_Queue_Notification service.