I think you can use the RECORDLOCKED() function. Perry Taylor
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stevenson, Charles Sent: Thursday, May 19, 2005 1:49 PM To: [email protected] Subject: [U2] [UV] determining what kind of record/file lock is blocking you 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/ CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. ZirMed, Inc. has strict policies regarding the content of e-mail communications, specifically Protected Health Information, any communications containing such material will be returned to the originating party with such advisement noted. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
