Logstream STATUS Commands

Document ID : KB000020082
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Is there a way to display how many records are in the log stream waiting to be processed without the CIARTUPD started task being up?

Solution:

Issue Console commands:

D XCF gives info for a Logstream in the CF

Example


D XCF,STR,STRNAME=SYSTEM_OPERLOG 
 
IXC360I  10.58.34  DISPLAY XCF 380                                            
STRNAME: SYSTEM_OPERLOG                                                       
STATUS: ALLOCATED                                                            
EVENT MANAGEMENT: MESSAGE-BASED                                              
TYPE: LIST                                                                   
POLICY INFORMATION:                                                          
 POLICY SIZE    : 53 M                                                       
 POLICY INITSIZE: 27136 K                                                    
 POLICY MINSIZE : 0 K                                                        
 FULLTHRESHOLD  : 80                                                         
 ALLOWAUTOALT   : NO                                                         
 REBUILD PERCENT: N/A                                                        
 DUPLEX         : DISABLED                                                   
 ALLOWREALLOCATE: YES                                                        
 PREFERENCE LIST: COUPLET1 COUPLET2                                          
 ENFORCEORDER   : NO                                                         
 EXCLUSION LIST IS EMPTY                                                     
                                                                             
ACTIVE STRUCTURE                                                             
----------------                                                             
 ALLOCATION TIME: 06/08/2013 21:56:21                                        
 CFNAME         : COUPLET1                                                   
 COUPLING FACILITY: 002827.IBM.02.000000044D07                               
                    PARTITION: 0F   CPCID: 00                                
 ACTUAL SIZE    : 27 M                                                       
 STORAGE INCREMENT SIZE: 1 M                                                 
 USAGE INFO      TOTAL     CHANGED    %                                      
  ENTRIES:       29378       14849   50                                      
  ELEMENTS:      58191       30250   51                                      
 PHYSICAL VERSION: CB7BF42B 87CE7D43                                         
 LOGICAL  VERSION: CB7BF42B 87CE7D43                                         
 SYSTEM-MANAGED PROCESS LEVEL: 8                                             
 DISPOSITION    : DELETE                                                     
 ACCESS TIME    : 0                                                          
 MAX CONNECTIONS: 32                                                         
 # CONNECTIONS  : 4                                                          
                                                                             
CONNECTION NAME  ID VERSION  SYSNAME  JOBNAME  ASID STATE                    
---------------- -- -------- -------- -------- ---- --------------           
IXGLOGR_SYSD     03 0003001A SYSD     IXGLOGR  0018 ACTIVE                    
IXGLOGR_SYSC     04 00040020 SYSC     IXGLOGR  0018 ACTIVE                   
IXGLOGR_SYSB     01 0001002A SYSB     IXGLOGR  0019 ACTIVE                   
IXGLOGR_SYSA     02 00020022 SYSA     IXGLOGR  0018 ACTIVE                   
                                                                             
DIAGNOSTIC INFORMATION:  STRNUM: 00000117 STRSEQ: 00000001                   
                         MANAGER SYSTEM ID:  03001896                        
 NAME/MGR  #QUEUED   1STQESN   LASTQESN  CMPESN    NOTIFYESN                 
 SYSA      00000000  00000000  00000000  000001CB  000001CB                  
 MGR SYS   00000000  00000000  00000000  000001CB  00000000   

Second example:

Command from a DASDONLY, which will display percentages for the Staging DSNs.

So this is only for Staging DSNs when there is a connection.


D LOGGER,CONN,JOBNAME=SYSVIEW,D            
 
IXG601I   10.19.30  LOGGER DISPLAY 812                                        
CONNECTION INFORMATION BY JOBNAME FOR SYSTEM SYSA                             
JOBNAME: SYSVIEW   ASID: 0085                                                 
LOGSTREAM                  STRUCTURE        #CONN  STATUS                     
---------                  ---------        ------ ------                     
GSVXDEV.CICSLOGR.TRAN.SYSA *DASDONLY*       000001 LOSS OF DAT                
 DUPLEXING: STAGING DATA SET                                                 
   STGDSN: LOGGER.GSVXDEV.CICSLOGR.TRAN.SYSA.PLEXC1                          
           VOLUME=SMS012  SIZE=015120 (IN 4K)   % IN-USE=001                 
 GROUP: PRODUCTION                                                           
   R/W CONN: 000000 / 000001                                                 
   RES MGR./CONNECTED: *NONE*   / NO                                         
   IMPORT CONNECT: NO                                                        
                                                                             
GSVXDEV.SYSDATA.PLOT.SYSA  *DASDONLY*       000004 IN USE                     
 DUPLEXING: STAGING DATA SET                                                 
   STGDSN: LOGGER.GSVXDEV.SYSDATA.PLOT.SYSA.PLEXC1                           
           VOLUME=SMS007  SIZE=000900 (IN 4K)   % IN-USE=035                 
 GROUP: PRODUCTION                                                           
   R/W CONN: 000000 / 000004                                                 
   RES MGR./CONNECTED: *NONE*   / NO                                         
   IMPORT CONNECT: NO                                                        
                                                                             
GSVXDEV.CICSLOGR.XLOG.SYSA *DASDONLY*       000005 IN USE                     
 DUPLEXING: STAGING DATA SET                                                 
   STGDSN: LOGGER.GSVXDEV.CICSLOGR.XLOG.SYSA.PLEXC1                          
           VOLUME=SMS009  SIZE=000900 (IN 4K)   % IN-USE=050                 
 GROUP: PRODUCTION                                                           
   R/W CONN: 000000 / 000005                                                 
   RES MGR./CONNECTED: *NONE*   / NO                                         
   IMPORT CONNECT: NO                                                        
                                                                             
GSVXDEV.SMFDATA.SMFD.SYSA  *DASDONLY*       000001 IN USE                     
 DUPLEXING: STAGING DATA SET                                                 
   STGDSN: LOGGER.GSVXDEV.SMFDATA.SMFD.SYSA.PLEXC1                           
           VOLUME=SMS009  SIZE=010080 (IN 4K)   % IN-USE=004                 
 GROUP: PRODUCTION                                                           
   R/W CONN: 000000 / 000001                                                 
   RES MGR./CONNECTED: *NONE*   / NO                                         
   IMPORT CONNECT: NO                                                        
                                                                             
GSVXDEV.CICSLOGR.TSUM.SYSA *DASDONLY*       000001 LOSS OF DAT                
 DUPLEXING: STAGING DATA SET                                                 
   STGDSN: LOGGER.GSVXDEV.CICSLOGR.TSUM.SYSA.PLEXC1                          
           VOLUME=SMS010  SIZE=000900 (IN 4K)   % IN-USE=001                 
 GROUP: PRODUCTION                                                           
   R/W CONN: 000000 / 000001                                                 
   RES MGR./CONNECTED: *NONE*   / NO                                         
   IMPORT CONNECT: NO                                                        
                                                                             
GSVXDEV.AUDIT.ADTT.SYSA    *DASDONLY*       000001 IN USE                     
 DUPLEXING: STAGING DATA SET                                                 
   STGDSN: LOGGER.GSVXDEV.AUDIT.ADTT.SYSA.PLEXC1                             
           VOLUME=SMS012  SIZE=003600 (IN 4K)   % IN-USE=060