There are two options that allow you to prevent users from logging off TPX with active sessions and can be customized in the SMRT, 13 - Optional Parameters.
- SMRT OPTION 34
If they issue a /F or /K with any active sessions, this option will cause a panel (TEN0474) to be displayed asking if they want to continue with the signoff and force the session(s) inactive. This panel will give an option to either continue with the signoff and force the session(s) inactive or cancel to allow you to go back and inactivate all active sessions.
- SMRT OPTION 35
If they issue a /F or /K with active session(s), this option will cause a panel (TEN0475) to be displayed notifying you that there are active sessions. It will not allow you to continue signing off but will allow you to return back and inactivate all active sessions.
These options are activated when users who have either a F or K in the 'Inactivate on ' in the USER's Maintenance panel. (Panelid - TEN0166)
Inactivate on; tells TPX whether to terminate application sessions when the user exits TPX. Normally, TPX leaves the sessions active.
Possible values are:
F - TPX will terminate active sessions when the user issues either a /F or /K command.
K - TPX will terminate active sessions when the user issues the /K command only.