terminating, CSQCDSC CICS adapter disconnect program, disconnect program, CICS adapter, CICS application program, stopping from, connections" /> Stopping a connection from a CICS application program

 

Stopping a connection from a CICS application program

To stop a connection from a CICS program, the program must link to the adapter shutdown program, CSQCDSC. Figures Figure 16 and Figure 17 show examples of LINK commands initiating quiesced and forced shutdowns. When you do an EXEC CICS LINK to CSQCDSC, the program requires a terminal associated task.

Figure 16. Stopping a connection from a CICS application program: a quiesced shutdown. The QUIESCE parameter is optional.

 EXEC CICS LINK PROGRAM('CSQCDSC ')
           INPUTMSG('CKQC STOP')
Figure 17. Stopping a connection from a CICS application program: a forced shutdown

 EXEC CICS LINK PROGRAM('CSQCDSC ')
           INPUTMSG('CKQC STOP FORCE')

Output messages from CSQCDSC are displayed on the system console.