Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

Why does SQL UPDATE not unlock record.

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

  • Why does SQL UPDATE not unlock record.

    Commitment control can keep the record locked until the changes are committed. Try setting the commitment control to *NONE and see if that fixes the problem.

  • #2
    Why does SQL UPDATE not unlock record.

    The only thing that I'm doing different is that all of the file IO is in a service program that is compiled to CloseSQLCursor(*ENTACTGRP) Would this prevent the record from being unlocked?

    Comment


    • #3
      Why does SQL UPDATE not unlock record.

      When reading a file with Fetch next on a dynamic scrollable cursor is the record still locked when update current is issued. I want it to be like RPGLE so that when I update the record format it is unlocked and another job has access to it.

      Comment


      • #4
        Why does SQL UPDATE not unlock record.

        I don't think that is the problem. If you can, email me the code and the compile statements at Kevin.forsythe@dmcconsulting.com, and I'll take a look. Kevin

        Comment

        Working...
        X