Mainframe (z/OS)

Find who's holding a dataset (ENQ contention)

When a job waits for a dataset, find out which job or user has it.

z/OS
Fill these in once
  1. Show any resource contention
    Inside the MVS console
    D GRS,C

    Typed on the MVS console. From SDSF, put a / in front, for example /D A,L. Needs console authority.

  2. Show who holds one dataset
    Inside the MVS console
    D GRS,RES=(SYSDSN,MYUSER.DATA)