Shutdown mode in UPoC

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Shutdown mode in UPoC

  • Creator
    Topic
  • #47855
    Daniel Lee
    Participant

    I have an outbound UPoC thread with a UPoc in the Write TPS.  In the “Start” mode I am setting up my handles to a database and in the “Shutdown” mode I am closing the db and cleaning up my handles.  I did some tracing and the Shutdown mode is never getting called.  Is there a reason for this or is something wrong?

    using QVDXi 3.8.1P.

Viewing 4 reply threads
  • Author
    Replies
    • #56913
      Ed Mastascusa
      Participant

      we have exactly the same situation (upoc write, closing the db in shutdown mode) in version 5.1 and the ‘shutdown’ mode switch gets triggered.

      Assuming things work in 3.8.1 as they do in 5, is your case “shutdown” in all lower case?

    • #56914
      David Caragay
      Participant

      Shutdown works fine in our 5.2 environment.

    • #56915
      Anonymous
      Participant

      It works for us too (5.2)

      Of course it only works when the thread is manually stoped. If it is killed or dies it won’t execute that part of the code.

    • #56916
      Daniel Lee
      Participant

      It is in all lower case.  I put echo statements in and the startup is being called but the shutdown isn’t being called when I stop the thread or shut down the process.  Attached is the UPoC.

    • #56917
      David Caragay
      Participant

      Are you sure the shutdown process is not being called?  Or maybe the odbc code is not completing correctly.  Remove all code in the shutdown location and replace it with an echo command.  If you run the shutdown with this echo and all looks good (enable_all eo config), slowly add your code back in until you isolate the problem.  I’m not running the odbc add-on in our environment so I can’t check the actual odbc code.

Viewing 4 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,126
Forums
28
Topics
9,295
Replies
34,439
Topic Tags
287
Empty Topic Tags
10