task initiation program (CSQCSSQ), CICS adapter" /> Starting CKTI from a CICS application program

 

Starting CKTI from a CICS application program

To start an instance of CKTI from a CICS program, the program must link to the adapter task initiation program, CSQCSSQ. Figures Figure 29 and Figure 30 show example LINK commands. When you do an EXEC CICS LINK to CSQCSSQ, the program requires a terminal associated task.

Figure 29. Linking to the adapter task-initiator program CSQCSSQ from CICS. This starts a CKTI that uses the default initiation queue.

 EXEC CICS LINK PROGRAM('CSQCSSQ ')
           INPUTMSG('CKQC STARTCKTI ')
Figure 30. Linking to the adapter task-initiator program CSQCSSQ from CICS. This starts a CKTI that uses a named initiation queue.

 EXEC CICS LINK PROGRAM('CSQCSSQ ')
           INPUTMSG('CKQC STARTCKTI  CICS01.INITIATION.QUEUE2')

Output messages from CSQCSSQ are displayed on the system console.

Note:
The STARTCKTI command must be padded to 10 characters; see Command syntax in application programs.