If the locking program is SQL, sometimes access path locks are held, even if not currently active. You can try the following if the option is available to you in your version of the OS. I'm not sure if the *EXCL is necessary, but the key is the CONFLICT(*RQSRLS)
ALCOBJ OBJ((FIL1 *FILE *EXCL)) CONFLICT(*RQSRLS)
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of John Yeung
Sent: Wednesday, April 26, 2023 3:28 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: How to release member locks?
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
There is an interactive program that I need to run from time to time, and when I do, it seems that my interactive session still holds onto a member lock after I exit the program. It does NOT keep any object lock on the file, only a member lock.
My question is: Is there some way, short of logging off or killing that session, to release that member lock?
I've tried DLCOBJ and RCLRSC, to no avail.
John Y.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.