JM | Oct 24 2007 9:31PM GMT
if a job does a receive with a wait time specified, that job will show up on WRKOBJLCK . If a job is using Display Messages or Send Message, that job will not show up under WRKOBJLCK because an internal lock is used.
Hope you find the program locking it. If not…
If QSPTLIB is on the system, use the following command to identify the job holding the message queue:
DSPLCKSTS JOB(*ALL) OBJ(QSYS/QSYSOPR) OBJTYPE(*MSGQ) LCKTYPE(*SPCLOC) BYTE(1)