You can use the transid DSCN to shut down the CICS Interface immediately, even if an orderly shutdown had already been requested.
To shut down the interface immediately, enter the DSCN command, with IMM (immediate) set to Y, on the command line.
The following message is issued to report an immediate shutdown:
DCI0151: DBCCICS INTERFACE IS SHUTTING DOWN IMMEDIATELY
The following stages occur during an immediate shutdown:
- Logons are disabled.
Any subsequent attempts to use the interface are rejected with a non-zero return code that indicates that the interface is unavailable.
Application abend AEY9 or ASP7 is also possible for applications using two-phase commit mode session.
- All running Teradata Database sessions are logged off.
Any in-flight units of work are rolled back.
Two-phase commit sessions that are in the process of syncpoint may be left in-doubt.
If so, the in-doubt must be resolved as soon as possible since the in-doubt session(s) may be holding locks on database objects.
- The task-related user exit is disabled for task start.