You can use the TPXDEMO application to allow users to log off from the Menu by pressing PF3. Define a session using TPXDEMO with a session key of PF3. This session could be named LOGOFF and appear on the menu or could be made invisible.
Use this ACL/E program as a signon program for the LOGOFF session:
OPTION TERM,OFF HIDE FROM USER
SIGNOFF PERFORM /F
WINP GET PANEL
KEY 'END' END TPXDEMO
ENTER
|
Copyright © 2013 CA.
All rights reserved.
|
|