Previous Topic Next topic Print topic


CKQC - Start a CKTI monitor

Starts the CKTI transaction, which monitors the named MQSeries initiation queue.

Syntax:

CKQC [STARTCKTI initiation-queue-name]

Notes:

You can use this transaction only in a multi-tasking region. You must have enabled MQSeries for MSS either by importing a SIT that has MQSeries enabled or by enabling it on the detailed information page for the SIT in ESMAC.

You can invoke this transaction in a terminal window or in a program.

If you invoke CKQC in a terminal window, you need to enter only CKQC. A message then appears prompting you for the initiation queue name.

If you invoke CKQC in a program, you pass the command in an INPUTMSG or COMMAREA to the CICS Option utility dfhzckqc. If you invoke CKQC from the PLTPI, it cannot take the INPUTMSG parameter, only the COMMAREA. For example:

ID DIVISION.
PROGRAM-ID. TESTCKQC.
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
INPUT-OUTPUT SECTION.
DATA DIVISION.
FILE SECTION.
WORKING-STORAGE SECTION.
01  DATA-BUFF                    PIC X(80) VALUE                         
   'CKQC STARTCKTI TEST.INITQ'.
LINKAGE SECTION .
PROCEDURE DIVISION.
MODULE-ENTRY-POINT.
    EXEC CICS LINK
              PROGRAM ('DFHZCKQC')
              COMMAREA (DATA-BUFF)
              LENGTH (LENGTH OF DATA-BUFF)
    END-EXEC

    EXEC CICS RETURN
    END-EXEC
    GOBACK.
Previous Topic Next topic Print topic