An IBM i utility to identify which jobs include a specified program in their call stack.

The Source

Find it on GitHub.

To Compile

Use the following commands to compile the source, replacing ‘library’ with the name of the library into which you copied the source.

CRTDSPF FILE(PPRITCHARD/DSPPGMLCKD) SRCFILE(PPRITCHARD/QDDSSRC)

CRTBNDRPG PGM(PPRITCHARD/DSPPGMLCKR)

CRTCMD CMD(PPRITCHARD/DSPPGMLCK) PGM(PPRITCHARD/DSPPGMLCKR)

Usage

Type DSPPGMLCK from any command line to list all jobs that have the specified program in their call stack.

Latest Updates

  • August 08 · DSPPGMLCK
    Documentation!
    Just a quick note to mention that I have updated the project pages for DSPOSRLS and DSPPGMLCK so that they now include some halfway useful compile and usage instructions. I have also committed some sl (...)
  • August 06 · DSPPGMLCK
    DSPPGMLCK: Display Program Locks
    Since I am putting utilities onto GitHub I thought I’d go back and add an older application that I still find surprisingly useful. So DSPPGMLCK now has a (very) brief project page and the source (...)
  • June 14 · DSPPGMLCK
    Display Program Locks: The quick way of finding who is using a program
    Another week, another utility. I’m supporting an application which, among other things, includes the concept of Conflicting Programs. This works by attaching an Activity Level to each program &# (...)

Follow this project

Posts | Feed

flattr this!