Monitoring the activity on connections

A thread is established from a dependent region when an application makes its first successful WebSphere MQ request. You can display information about connections and the applications currently using them by issuing the following command from WebSphere MQ:

+CSQ1 DISPLAY CONN(*)

The command produces a message like the following:

CONN(BC45A794C4290001)                       
 EXTCONN(C3E2D8C3C3E2D8F14040404040404040)    
 TYPE(CONN)                                   
 CONNOPTS(                                    
  MQCNO_STANDARD_BINDING                      
  )                                           
 UOWLOGDA(2004-12-15)                         
 UOWLOGTI(16.39.43)                           
 UOWSTDA(2004-12-15)                          
 UOWSTTI(16.39.43)                            
 UOWSTATE(ACTIVE)                             
 NID( )                                       
 EXTURID(                                     
  0000052900000000                            
  )                                           
 QMURID(00000354B76E)                         
 URTYPE(IMS)                                  
 USERID(STCPI)                                
 APPLTAG(IM8F)                                
 ASID(0049)                                   
 APPLTYPE(IMS)                                
 PSTID(0004)                                  
 PSBNAME(GP01MPP)        

For the control region, thread-xref is the special value CONTROL. For dependent regions, it is the PSTid concatenated with the PSBname. auth-id is either the user field from the job card, or the ID from the z/OS started procedures table.

For an explanation of the displayed list, see the description of message CSQV402I in the WebSphere MQ for z/OS Messages and Codes manual.

IMS(TM) provides a display command to monitor the connection to WebSphere MQ. It shows which program is active on each dependent region connection, the LTERM user name, and the control region connection status. The command is:

/DISPLAY SUBSYS name

The status of the connection between IMS and WebSphere MQ is shown as one of:

  CONNECTED
  NOT CONNECTED
  CONNECT IN PROGRESS
  STOPPED
  STOP IN PROGRESS
  INVALID SUBSYSTEM NAME=name
  SUBSYSTEM name NOT DEFINED BUT RECOVERY OUTSTANDING

The thread status from each dependent region is one of the following:

  CONN
  CONN, ACTIVE (includes LTERM of user)