API disconnect processing

During API disconnect processing, the security exit is called to perform any resource cleanup or termination processing that may be required.

The security exit parameter block for API disconnection contains the user ID associated with the API program. The user ID is the same one returned by API connect processing, if the security routine returned a user ID. If the security routine returned the address of an ACEE, it is the user ID contained in the ACEE. In addition, the parameter block contains the API thread token and the user token, if one was specified.