Kunal Roy
Kunal Roy

Reputation: 787

How to find the list of jobs that a given program is being used in ? For a AS400 (i-series) system

Suppose I have a program , say PGM1 , I want to find the list of JOBS that are using this program. Is there any way of getting the list of JOBS using a particular program in AS400 (i-series)?

Upvotes: 1

Views: 158

Answers (1)

user25040189
user25040189

Reputation:

If it's an interactive program with a display file, you can check for object locks on the DF.

WRKOBJLCK OBJ(PGM1DF) OBJTYPE(*FILE)

That would show you any active jobs currently using PGM1.

Upvotes: 1

Related Questions