Have you tried the Record_Lock_Info - View or the Record_Lock_Info Table
Function?
Select * from record_lock_Info
Where Job_Name = '123456/JOBUSER/JOBNAME';
Attention: The query may run several minutes because it checks all record
locks!
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"
?Train people well enough so they can leave, treat them well enough so they
don't want to.? (Richard Branson)
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Brian
Garland
Sent: Montag, 12. Juni 2017 22:46
To: midrange-l@xxxxxxxxxxxx
Subject: RE: api to see what records are locked by this job?
We use the QDBRJBRL API.
We were in the same situation so we created a procedure we call at the end
of each "command" that can tell us if it left any locks.
date: Mon, 12 Jun 2017 15:25:53 -0500
from: Gerald Magnuson <gmagqcy.midrange@xxxxxxxxx>
subject: api to see what records are locked by this job?
I believe I am having troubles with records remaining locked, when the
user gets back to the menu, but I can't find the program(s) that is
causing it.....
Is there a api for me to use, when the user get's back to the menu, to
see if they have any records locked?
the old menu system, was not ILE, and would issue a RCLRSC after it
returned from running an application..... I don't know if that did
anything or not?
--
Brian J. Garland
Vermont Information Processing, Inc.
brian.garland@xxxxxxxxxx
--
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or company to whom they are addressed.
Do not disclose, distribute, or copy this email to others outside your
company. If you have received this email in error, please notify the sender
immediately and delete this email from your system.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.