CICS LOGSTREAMS are empty in SYSVIEW
search cancel

CICS LOGSTREAMS are empty in SYSVIEW

book

Article ID: 219875

calendar_today

Updated On:

Products

SYSVIEW Performance Management

Issue/Introduction

I recently established  a new lpar into the plex, to include SYSVIEW also recently added CICS regions to the new lpar (two step process) looking at the logstreams in LGLOGS, DATA LOGS streams are empty. Logstream names are defined in CNM4BPRM(CICSLOGR). Logstreams are also defined in Logger  What has to be done to get SYSVIEW to use the new logstreams?  The CICSLOGS command shows the CICSLOGR  type and logstream NONE.

 

Cause

Creation of new log streams that SYSVIEW is not picking up.

Resolution

First, in parmlib member CICSOPTS set up the logger names to be used by a CICS region, e.g.

   )IF JOBNAME=xxxxxxxA 
   LOGGER-NAME     	CICSLOGA 
   SUBSYSTEM-ID     	GSVB 
   DUMP-MANAGEMENT    	YES
   DUMP-MANAGEMENT-MEMBER  	CICSDMPM 
   LIFETIME-EXCLUDE    	30 
   LIFETIME-RANGE1    	0.5 
   LOG-EXCEPTIONS    	YES 
   LOG-SYSTEM-DATA    	YES 
   LOG-TRANSACTION-SUMMARY 	YES 
   TRANSACTION-GROUPS   	YES
   MONITOR-PERFORMANCE   	NO 
   )ENDIF 
   )IF JOBNAME=xxxxxxxB 
   LOGGER-NAME     	CICSLOGB 
   SUBSYSTEM-ID     	GSVB 
   DUMP-MANAGEMENT    	YES 
   DUMP-MANAGEMENT-MEMBER  	CICSDMPM 
   LIFETIME-EXCLUDE    	30 
   LIFETIME-RANGE1    	0.5 
   LOG-EXCEPTIONS    	YES 
   LOG-SYSTEM-DATA    	YES 
   LOG-TRANSACTION-SUMMARY 	YES 
   TRANSACTION-GROUPS   	YES 
   MONITOR-PERFORMANCE   	NO 
   )ENDIF

Second, set up the logger names in parmlib member CICSLOGR, e.g.

   )IF CICSLOGR=CICSLOGA 
   ISERVE-NAME      		ISRV 
   LOG-EXCEPTIONS-SMF    		YES 
   LOG-SYSTEM-DATA-SMF    		YES 
   LOG-TRANSACTION-SUMMARY-SMF  	NO 
   LOG-TRANSACTIONS-SMF    		NO 
   LOGSTREAM-CICSSYSD-DELETE-ALL  	NO 
   LOGSTREAM-CICSSYSD-NAME   	&G$UNIQID..CICSLOGA.SYSD.&SMFID 
   LOGSTREAM-CICSTRAN-DELETE-ALL  	NO 
   LOGSTREAM-CICSTRAN-NAME   	&G$UNIQID..CICSLOGA.TRAN.&SMFID 
   LOGSTREAM-CICSTSUM-DELETE-ALL  	NO 
   LOGSTREAM-CICSTSUM-NAME   	&G$UNIQID..CICSLOGA.TSUM.&SMFID 
   LOGSTREAM-CICSXLOG-DELETE-ALL  	NO 
   LOGSTREAM-CICSXLOG-NAME   	&G$UNIQID..CICSLOGA.XLOG.&SMFID
   SMF-RECORD-TYPE     		255 
   STARTUP-COMMANDS     		YES
   STARTUP-COMMANDS-MEMBER   	CICSCMDS 
   )ENDIF 
   )IF CICSLOGR=CICSLOGB 
   ISERVE-NAME      		ISRV 
   LOG-EXCEPTIONS-SMF    		YES 
   LOG-SYSTEM-DATA-SMF    		YES 
   LOG-TRANSACTION-SUMMARY-SMF  	NO 
   LOG-TRANSACTIONS-SMF    		YES 
   LOGSTREAM-CICSSYSD-DELETE-ALL  	NO 
   LOGSTREAM-CICSSYSD-NAME   	&G$UNIQID..CICSLOGB.SYSD.&SMFID 
   LOGSTREAM-CICSTRAN-DELETE-ALL  	NO 
   LOGSTREAM-CICSTRAN-NAME   	&G$UNIQID..CICSLOGB.TRAN.&SMFID 
   LOGSTREAM-CICSTSUM-DELETE-ALL  	NO 
   LOGSTREAM-CICSTSUM-NAME   	&G$UNIQID..CICSLOGB.TSUM.&SMFID 
   LOGSTREAM-CICSXLOG-DELETE-ALL  	NO 
   LOGSTREAM-CICSXLOG-NAME   	&G$UNIQID..CICSLOGB.XLOG.&SMFID 
   SMF-RECORD-TYPE     		255 
   STARTUP-COMMANDS     		YES 
   STARTUP-COMMANDS-MEMBER   	CICSCMDS 
   )ENDIF 
   )EOF Logical End Of File

Third, update the LGLOOKUP parmlib member to enable reading of the logger files, e.g.

   *Sysname Logname......... LogStream-Name............|
   SA11     CICSLOGA.TRAN    &G$UNIQID..CICSLOGA.TRAN.&SMFID
   SA11     CICSLOGA.TSUM    &G$UNIQID..CICSLOGA.TSUM.&SMFID
   SA11     CICSLOGA.SYSD    &G$UNIQID..CICSLOGA.SYSD.&SMFID
   SA11     CICSLOGA.XLOG    &G$UNIQID..CICSLOGA.XLOG.&SMFID
   SA11     CICSLOGB.TRAN    &G$UNIQID..CICSLOGB.TRAN.&SMFID
   SA11     CICSLOGB.TSUM    &G$UNIQID..CICSLOGB.TSUM.&SMFID
   SA11     CICSLOGB.SYSD    &G$UNIQID..CICSLOGB.SYSD.&SMFID
   SA11     CICSLOGB.XLOG    &G$UNIQID..CICSLOGB.XLOG.&SMFID

  - NOTE: What LGLOOKUP offers is the ability to define inactive log streams, as well as the active stream names contained in the SMFDATA/CICSLOGR/SYSDATA members.         This is useful if the names are changed, allowing the inactive log streams to be browsed or selected from LGLOGS.

Fourth, issue a START command inside of parmlib member SYSVIEW to start the loggers at SYSVIEW STC initialization, e.g.

   )IF FEATURE=CICS
   START CICSLOGR.CICSLOGA
   START CICSLOGR.CICSLOGB
   START CICSLOGR.CICSLOGR
   )ENDIF

  - NOTE: that there is still a start-up for the default logger name of CICSLOGR just in case SYSVIEW is to be started in any other regions and you want to enable the statistics for them.

  -  Don't forget that any parmlib updates must precede the )EOF line to be effective.

Fifth,  the SYSVIEW STC will need to be bounced to pick up the changes.