After all processing is complete for a session, an application must terminate the session by performing the following steps:
- Modify the DBCAREA.
- Set the Function to Disconnect.
- Set the Input CLIv2 Session Id to the Output CLIv2 Session Id obtained when the session was established.
- Optionally set the following:
- Call DBCHCL to perform the Disconnect function.