z/TPF - Group home

User exits for MongoDB requests and other enhancements (APAR PJ44525)

  

User exits for MongoDB requests provides two user exits for you to control pre-request and post-request processing by using z/TPF support for MongoDB.

You can use the pre-request user exit (UMON_pre_request) in the following ways:

  • Check resources or status for each received MongoDB request.

  • Reject requests and return the reason why the requests are rejected.

  • Optionally disconnect the MongoDB session from the z/TPF server for MongoDB.

With the post-request user exit (UMON_post_request), you can apply accounting logic based on the processed users and requests.

For more information about the pre-request user exit (UMON_pre_request) and post-request user exit (UMON_post_request), see the comments in the user exits (umon.cpp).

In addition to the user exits, this APAR provides the following enhancements:

  • You can specify the timeout parameter on the ZINET ADD or ZINET ALTER command to indicate how long the MongoDB session waits for a request. The MongoDB session disconnects from the z/TPF server for MongoDB when it times out.

  • z/TPF support for MongoDB now supports the SO_KEEPALIVE socket option so that the z/TPF system verifies whether a MongoDB remote client is active.

For more information about the user exits and other enhancements, see APEDIT PJ44525.