Managed File Transfer

 View Only
  • 1.  How to release a lock trough opscmd?

    Posted Mon August 30, 2021 02:08 PM
    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


  • 2.  RE: How to release a lock trough opscmd?

    Posted Tue August 31, 2021 09:53 AM
    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
    ------------------------------



  • 3.  RE: How to release a lock trough opscmd?

    Posted Tue August 31, 2021 10:14 AM
    thank u!! I am going to give it a try, If I found the answer I will let you know.

    ------------------------------
    ALEJANDRO RODRIGUEZ GUZMAN
    ------------------------------



  • 4.  RE: How to release a lock trough opscmd?

    Posted Mon February 13, 2023 08:27 AM

    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
    ------------------------------



  • 5.  RE: How to release a lock trough opscmd?

    Posted Tue February 14, 2023 03:13 AM

    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:

    1. If the resource locked is a BP, it's because some decided to change it and checked it out
    2. 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
    ------------------------------



  • 6.  RE: How to release a lock trough opscmd?

    Posted Tue February 14, 2023 06:33 AM

    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
    ------------------------------