Unconfigured Ad Widget

Collapse

Announcement

Collapse
No announcement yet.

Object Locks

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

  • Object Locks

    Have you tried the RCLRSC command? Dave

  • #2
    Object Locks

    Yep I have. Sometimes it will work most times it doesn't. If the file was opened in a called program it doesn't work. I think it has something to do with the call stack number or the activation group but not sure. Sometimes it will be when a table cursor is opened in a sub-proceduren and aborts before getting to the close statement. Even running the program successfully the second time doesn't release the lock. This isn't a drop dead type situation, only annoying to have to signoff and then sign back on again.

    Comment


    • #3
      Object Locks

      CLOF?

      Comment


      • #4
        Object Locks

        Yep, tried that also. Get the message that it isn't open.

        Comment


        • #5
          Object Locks

          I know this has happened to others. A program will abort (interactive) and a file will be left open. Is there a way to close the file without logging off the terminal? Usually it is me that has the file locked and the only way to get it unlocked is to log off. It is usually in activation group 2 or higher and I suspect that is the problem. TIA Bill Barnes

          Comment


          • #6
            Object Locks

            Try "RCLACTGRP *ELIGIBLE"

            Comment

            Working...
            X