During the logoff process, normal or abnormal, the TDPSESS module (the general session control interface) generates an SMF record. This record contains general information about the session being logged off, as well as details about the overall use of z/OS client and database resources.