Skip to main content
Question

Unidata 8.x - what created a lock?

  • Nov 3, 2026 8:33 PM UTC
  • 2 replies
  • 35 views

Kevin King
Forum|alt.badge.img+2

Is there anything in the Unidata lock table that logs the specific program and line number where a READU lock was set?  If not, could that maybe be a recommendation?  We have the call stack available on SYSTEM(49) - or SYSTEM(9001) [I believe] on UV, so when the lock is set, it would be most useful to be able to know specifically what set it.

2 replies

Jonathan Smith
Forum|alt.badge.img+4

Kevin,

SYSTEM(49) does give you the call stack in UniData.

The Lock Table does not record the program and line number that resulted in the lock being set (nor does UniVerse). They both record the owner.

Although the information is available to pass through to the GLM and record the information, it would require a structual change to the GLM table. This is not without risk as other actions will result in locks that do not come from UniBasic alone, so these would need to be taken into consideration. We would also need to look at all the tooling, verbs and interfaces that interact with or read the GLM table. So although the change may seem simple, underneath the hood it’s a risky change that would require a lot of testing.

I did some looking into this and it would require around 3 months of work to do, including QA.

 

 

 


Kevin King
Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • Nov 5, 2026 5:30 PM UTC

Well, a boy can dream, eh?

I realize it’s not a simple thing but it would be SO helpful.  Thank you for the explanation; it is most appreciated.