• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Ability to terminate all sessions in a specific instance

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ability to terminate all sessions in a specific instance

    • Instance Manager: Added ability to terminate all sessions in a specific instance
    ?This is mentioned in the July Release Note but I did not see this feature anywhere on Valence. Where can I find this option.

  • #2
    This bullet was a bit premature... The back-end logic for killing all active sessions in a particular instance is in place, but the ability to call the function within the Instance Manager has not yet been released. It will be available in this month's build (Aug 2025).

    Comment


    • #3
      Is there a backend command for terminating all the session. We want to include this command in our midnight job

      Comment


      • #4
        Yes, ensure your RPG program is bound to VVSRVPGM, then add this line:
        Code:
        vvSecure_killSession('*ALL':*omit:your_instance_name);
        Replace your_instance_name with the desired instance (or library) for which you want to terminate all sessions. If you don't pass that parameter then it will default to whatever instance it finds first in the library list.

        Comment


        • #5
          Do we have a CL command which we can call in our existing Robot Job CL just like VVSTOP and VVSTART. We already have a CL which adds VALENCE library to 1st position and does VVSTOP and VVSTART at midnight. We are looking for a similar command to terminate the active sessions that can be included in the same CL

          Comment


          • #6
            Not currently, but I can certainly see the use case. We'll see if we can get that in on the next build.

            Comment


            • #7
              FYI, effective with the latest build (6.3.20250923), you can now kill all active sessions in the instance using command VVKILLALL.

              Comment

              Working...
              X