To display information about the status of CICS log streams, a
batch job should issue the IXCMIAPU command:
LIST LOGSTREAM NAME(streamname) DETAIL(YES)
You can use wildcards to select multiple log streams. For example,
the following job produces a report on the system log streams for
CICS region IYLX4:
//IYLXLIST JOB NOTIFY=WILLIN,MSGCLASS=A
//LOGLIST EXEC PGM=IXCMIAPU
//SYSPRINT DD SYSOUT=A,DCB=RECFM=FBA
//SYSIN DD *
DATA TYPE(LOGR) REPORT(NO)
LIST LOGSTREAM NAME(WILLIN.IYLX4.DFH*) DETAIL(YES)
Figure 1 shows a typical response
to this command, with system logs streams for CICS region IYXL4.
If you are using coupling facility log streams, the IXCMIAPU LIST STRUCTURE NAME(structname) DETAIL(YES) command is useful in finding the status of CICS log stream structures. For further information about these commands, see z/OS MVS Setting Up a Sysplex.