Example of Modifying a Threshold

To override a previous threshold, you must specify the same event notification type that you specified on the request to be overridden. For example, assume that a server requested to be notified when an allocate queue increases to 25 allocate requests and specified one-time notification. The server then calls the Set_Allocate_Queue_Notification service with the same parameters, with the exception that the server changes the maximum threshold to 30. The second call overrides the first call.

Assume the same server again calls the Set_Allocate_Queue_Notification service. This time, the server specifies a maximum threshold of 40 allocate requests, but specifies continuous notification. APPC/MVS considers this call to be different from the previous notification requests. As a result, APPC/MVS monitors the server's allocate queue for the following events:
  • A maximum threshold of 30, for which the server is to receive one-time notification
  • A maximum threshold of 40, for which the server is to receive continuous notification.