Steps for determining if a job is waiting for resources

About this task

  1. Enter the IPCS ANALYZE RESOURCE command.
  2. Look in the report for the job name that is hung to determine if it is waiting for system resources. If it is waiting for resource, note the resource name and examine the status of the unit of work holding the resource. For example:
    JOBNAME=SDSF      ASID=003D  SSRB=02FC4900  --> unit of work holding resource 
     JOBNAME=SDSF     HOLDS THE FOLLOWING RESOURCE(S):                          
                                                                                
        RESOURCE #0002:  There are 0018 units of work waiting for this resource 
           NAME=LOCAL LOCK FOR ASID 003D                                        
           DATA=INTERRUPTED AND NOW DISPATCHABLE
  3. Do a FIND on the TCB or SSRB address of the holder to check if it is waiting on another resource. Repeat until the bottom of the contention chain is reached.
  4. Choose from the following:
    1. If the unit of work that is holding the resource is not dispatchable, go to Examining the SRB status or Examining the TCB status to determine why.
    2. If the unit of work that is holding the resource is dispatchable, go to Steps for examining why a job is not running.
    3. If the job is not holding or waiting for a resource, go to Steps for examining address space dispatchability.