Post CICS 6.1 Upgrade, the CESF LOGOFF command needs to be issued twice to disconnect from the region:
1st instance
ACFAE131 CICS reg1 Signoff has been completed
2nd instance
ACFAE136 This terminal will be disconnected from CICS
What is causing this behavior?
Release : 16.0
CTS 6.1 has a new parameter called GMTRAN=(,DISCONNECT) and its use may be used to alter the CESF transaction behavior as can be seem on CTS 6.1 manual:
When GMTRAN=(,DISCONNECT) is in effect, if you issue CESF, CESF LOGOFF, or CESF GOODNIGHT, you are signed off the CICS system, your terminal session is disconnected, and your terminal cannot start any transactions.
When GMTRAN=(,DISCONNECT) is not in effect, the effects of issuing CESF are summarized in Table 1. Note that the effects of issuing CESF with the GOODNIGHT value or the LOGOFF value depend on the access method in use. If you issue CESF by itself, you are signed off the CICS system, but your terminal can still start transactions without you having to request them and messages can be sent to it; you can sign on again at that terminal at any time.
It is also worth checking the ACFAEUSC exit. If it is assembled many years ago, it is recommended to reassemble it again to make sure that is up to date. You can find that exit in CAI.CAX1MAC.
If the user wants to the command CESF LOGOFF be used to both sign off the CICS region and disconnect the terminal, the parameter GMTRAN=(,DISCONNECT) should be set.