Paul,
It would have to be a "long running" job that has been running at least since prior to when the object was last replaced. That is the only way for a job to be pointing to a now renamed object in QRPLOBJ.
See this post from the old MI400 list for one way to find out which job it is:
https://archive.midrange.com/mi400/200211/msg00008.html
That post shows how to use the QWVOLACT API to list the activations for any given job. You will need to invoke it for each long-running job on your system, and then look at the output, to find the one(s) that list the now renamed program(s) in question.
Hope that helps,
Mark S .Waterbury
On Monday, June 29, 2020, 12:38:32 PM EDT, Paul Nicolay <paul.nicolay@xxxxxxxxxx> wrote:
Hi,
No, IPL is longer ago.
The days used counter on the object still increases each day... so there must still be a job on the system that is using it ?
Which one is the question.
Kind regards,
Paul
________________________________________
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Charles Wilt <charles.wilt@xxxxxxxxx>
Sent: Monday, June 29, 2020 17:14
To: RPG programming on IBM i
Subject: Re: MCH3402 Can it be avoided ? Part 2.
If you've IPL'd in the last 100 days...
It's not being used...
Charles
On Mon, Jun 29, 2020 at 3:06 AM Paul Nicolay <paul.nicolay@xxxxxxxxxx>
wrote:
Hi,
As a follow up to the initial question, how can we see which job is still
using the object in QRPLOBJ (or whatever library).
I just noticed we have an object in QRPLOBJ that's already been used for
more then 100 days.
Just using a program is not causing a lock on it, so is there another
method for finding out ?
Kind regards,
Paul
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.