Log and Trace Data Viewer

Log and trace data can optionally be written to the z/OS System Logger.

In order to view these logs you can go to the CLIST library, execute the SXGSSPNL clist, and select option 3, labeled “System Logger Search and Display Facility”, which displays the following panel.
 ------------------------- Cloud Software Group, Inc. ---------------------------------
                            Main Entry Panel                         2019/07/10 
                                                                          15:22 
                                                                                
      SSSS  u  u  b     ssss  tttt  aaaa  tttt  iiii  oooo  nn  n               
      SS    u  u  b     ss     tt   a  a   tt    ii   o  o  nn  n               
       S    u  u  bbbb   s     tt   aaaa   tt    ii   o  o  n n n               
        SS  u  u  b  b    ss   tt   a  a   tt    ii   o  o  n  nn               
      SSSS  uuuu  bbbb  ssss   tt   a  a   tt   iiii  oooo  n  nn               
                                                                                
                         ((   EEEE  SSSS   ))                                   
                        ((    E     SS      ))                                  
                        ((    EE     S      ))                                  
                        ((    E       SS    ))                                  
                         ((   EEEE  SSSS   ))                                   
                                                                                
  Select option   ==>                                                           
         1   Configuration                                                      
         2   LTA Search and Display Facility                                    
         3   System Logger Search and Display Facility                          
                                                                                
  ENTER = PROCEED   END PFKey = RETURN                                          
                                                                                
                   Copyright Cloud Software Group, Inc. 1998 - 2019                    
                                                               
---------------------------------- Log Viewer ----------------------------------
 Command ===>                                                                   
                                                                                
    HUBNAME ____                      
                                  
    STREAM  __________________________                                            
                                                                                
    JOBNAME ________                 
				
    JOBID   ________                                                            
                                                                                
    UOW. .  ________________________________                                    
                                                                                
    CORRID  ________________________________________________________________    
                                                                                
                      YYYY MM DD  HH MM SS                                      
    START DATE/TIME . 2019 07 09  16 17 52                                      
    END   DATE/TIME . 2019 07 10  23 59 59                                      
                                                                                
                                                                                
                                                                                
                                                                                
 Press PF3 to terminate or ENTER to continue                                    

In the Log Viewer panel, you must fill in the STREAM name you used in your setup for the log or trace file.

You can optionally fill in the following fields to reduce the amount of output displayed.

Fields Description
HUBNAME

By default the Log Viewer will use the system default HUB, the default value is the SMF ID of the LPAR. If you want to use a different HUB, you can specify the HUB name in this field.

JOBNAME

Full or partial jobname, for example, MYJOBNM or MYJOB* to select output from a single or multiple jobs.

JOBID

Full JOBID in the format STCnnnnn, JOBnnnnn, or TSUnnnnn.

U0W

Full or partial Unit of work ID, for example ,1234 to show all UOWs containing the string 1234.

CORRID

Full or partial correlation ID, for example, 1234 to show all correlation IDs containing the string 1234.

START DATE/TIME

Start date & time for data, defaults to 24 hours ago.

END DATE/TIME

End date & time for data, defaults to the end of the current day.

When you hit enter you are presented with the selected data in a normal browse interface, where all the usual browse commands work.

There are a few logger specific commands:

Commands Description
#C

Displays the jobname, Unit Of Work, and correlation ID of the current line, or the line where the cursor is located if within the data. This allows you to pick a specific job, UOW, or corrid hit PF3 to go to the selection menu and refine the amount of data to be displayed.

#I

Displays a popup window containing the selection criteria from the previous menu.

#S

Displays a popup window containing the selection criteria from the previous menu.