Displaying the log stream status

To determine if an MVS log stream is currently connected to CICS® VR VSAM batch logging, and to inquire about the status of the connection, you can issue the operator command shown here:

DISPLAY SMS,CICSVR,LOGSTREAMS(log stream name)
where log stream name is the name of an MVS log stream to which CICS® VR VSAM batch logging is connected. The log stream can either be a forward recovery log stream or an undo log stream. For example, CICS® VR VSAM batch logging connects to the log stream specified in the LOGSTREAMID catalog parameter of a VSAM data set that is enabled for CICS® VR forward recovery logging (FRLOG=REDO) when a batch job that updates the data set is run. If the specified log stream is not currently connected to CICS® VR VSAM batch logging, then the log stream connection status is blank. See Setting up CICS VR VSAM batch logging, for more information about enabling CICS® VR VSAM batch logging.

To display the status of the connection of all MVS log streams currently connected to CICS® VR VSAM batch logging, you can issue the following operator command:

DISPLAY SMS,CICSVR,LOGSTREAMS(ALL)
where ALL specifies that CICS® VR must display the status of all MVS log streams, forward recovery and undo log streams, that are currently connected to CICS® VR VSAM batch logging by all CICS® VR systems in the same XCF group. Again, an MVS log stream is connected to CICS® VR VSAM batch logging when a batch job that starts CICS® VR forward recovery logging or CICS® VR undo logging is run.

Issuing the DISPLAY SMS,CICSVR,LOGSTREAMS, log stream name, or DISPLAY SMS,CICSVR,LOGSTREAMS(ALL) command produces output similar to the example in DISPLAY SMS,CICSVR,LOGSTREAMS(ALL) results when the CICS VR server is active:

Figure 1. DISPLAY SMS,CICSVR,LOGSTREAMS(ALL) results when the CICS® VR server is active
DWW020I DISPLAY SMS,CICSVR                                     
DISPLAY SMS,CICSVR - LOG STREAM CONNECTION STATUS              
  SYSNAME                     00000000011111111112222222222333 
  INDENTIFIER                 12345678901234567890123456789012 
                                                               
  CICSMVS.TTCICS2.FILELOG1    SS.............................. 
  CICSMVS.TTCICS2.FILELOG2    SS.............................. 
                                                               
  01  SYSNAME:  SYSTEM1                                        
  02  SYSNAME:  SYSTEM2                                        

Refer to the description of message DWW020I in CICS® VR Messages and Problem Determination for an explanation of the reported log stream connection status.

Note:
If DISPLAY SMS,CICSVR,LOGSTREAMS, log stream name, is issued, but the specified log stream is not currently connected to CICS® VR VSAM batch logging, the log stream connection status field is blank. If DISPLAY SMS,CICSVR,LOGSTREAMS(ALL) is issued, but no batch jobs that start CICS® VR VSAM batch logging are currently running, no log streams are reported in the produced output.