If you execute a READU & hit the LOCKED clause, STATUS() will tell you
the USERNO of whoever holds the lock you want.
But what is the best way to tell what _kind_ of lock is blocking you?
E.g., is it a record lock or a filelock?
The only way I can think of is to dig through the results of:
EXECUTE "LIST.READU INTERNAL USER ": STATUS() CAPTURING RESULTS
Any better answers? Any
cds
P.S. The INTERNAL keyword returns a dynamic array rather than pretty
readable results. Nice for this application:
>LIST.READU INTERNAL USER 45
LIST.READU INTERNAL USER 45
1075970056}150}0}45}4}RU}11590}der39124}TGT1773-1*378}
1075970056}8041}0}45}158}RU}11590}der39124}2088623}
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/