Hi Emiliano,
Thanks for the clarification. It sounds good. Generally, the resources like accounts, services, etc. are getting locked. So the fact that someone started editing them and, without completing the action, instead of hitting the cancel button they are getting locked. Is there any possibility to disable the lock function so that the resources are not locked even while editing without completing the action?
------------------------------
Hemanth Chinnadandluru
IBM Integration Engineer
------------------------------
Original Message:
Sent: Tue February 14, 2023 03:12 AM
From: Emiliano Pacelli
Subject: How to release a lock trough opscmd?
Hi Hemanth, what resources are locked? If they're accounts, services, etc. it depends on the fact that someone started editing them and, without completing the action, instead of hitting the cancel button, he/she clicked on another menu item.
In case resources locked are business processes there are 2 chances:
- If the resource locked is a BP, it's because some decided to change it and checked it out
- If the resource locked is a BP execution, it means someone used the lock service in the BP to lock but didn't use it to unlock it, or the BP execution goes in halted and there's no error management (in it, you should have trapped the error and unlocked the resource)
If none of the above applies, please be more specific in the context.
Best regards
------------------------------
Emiliano Pacelli
Original Message:
Sent: Mon February 13, 2023 08:27 AM
From: Hemanth Chinnadandluru
Subject: How to release a lock trough opscmd?
Hi
I'm facing the same issue, Is there any way to avoid resources from locking? Every time I have to release the lock from the Lock manager
Appreciate your support
------------------------------
Hemanth Chinnadandluru
IBM Integration Engineer
Original Message:
Sent: Tue August 31, 2021 10:14 AM
From: ALEJANDRO RODRIGUEZ GUZMAN
Subject: How to release a lock trough opscmd?
thank u!! I am going to give it a try, If I found the answer I will let you know.
------------------------------
ALEJANDRO RODRIGUEZ GUZMAN
Original Message:
Sent: Tue August 31, 2021 02:36 AM
From: Peter Schimmel
Subject: How to release a lock trough opscmd?
Hi,
I don't have the exact syntax but opscmd understands a command "RELEASELOCK" which might be what you are after.
Just play with it using the -c parameter and -pnode1 (or whatever node you want to talk to).
There is another parameter "LISTINMEMLOCKS" which should show the current locks.
Give it a play, no guarantees whatsoever, it's only a try.
Best Regards
Peter
------------------------------
Peter Schimmel
Original Message:
Sent: Mon August 30, 2021 11:25 AM
From: ALEJANDRO RODRIGUEZ GUZMAN
Subject: How to release a lock trough opscmd?
Hi everybody!
Is there a way to release a lock (for example for external purge) using opscmd?
thanks in advance
------------------------------
ALEJANDRO RODRIGUEZ GUZMAN
------------------------------
#IBMSterlingB2BIntegratorandIBMSterlingFileGatewayDevelopers
#DataExchange