Previous Topic Next topic Print topic


CKQC - Start a CKTI monitor

Starts the CKTI transaction, which monitors the named WebSphere MQ initiation queue.

Syntax:

CKQC [STARTCKTI initiation-queue-name]

Notes:

You must have configured WebSphere MQ for MSS before running this transaction. See Configuring Enterprise Server for IBM WebSphere MQ for more information.

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 utility dfhzckqc. If you invoke CKQC from a PLTPI program, it cannot use the INPUTMSG parameter; only the COMMAREA is available. 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