If you have access, through a CICS® terminal, to the CICS server region, you can inquire about batch jobs that are running a client application program, and which are using the external CICS interface to link to a server program in CICS.
To obtain this information about batch jobs linked to CICS through MRO, you use the CEMT INQUIRE EXCI command. This command enables you to identify the names of external CICS interface batch jobs currently connected to CICS through the interregion communication (IRC) facility.
CICS returns job identifications in the form:
jobname.stepname.procname - mvsid
Either stepname, or procname, or both may not be present, indicated by the periods (.) being adjacent to one another.
The mvsid identifies the MVS™ system on which the job is running. If XCF/MRO is in use, the job can reside on a different MVS image from that on which CICS is running.
Information about jobs using the external CICS interface is available only when the job has issued at least one DPL request. A non-zero task number indicates that a DPL request is currently active. A zero task number indicates an external CICS interface session is still open (connected) for that job, although no DPL request is currently active.
See the CICS Supplied Transactions manual for more information about the CEMT command.