Hello wizards,
I've read what I can find on the subject, but I'm not finding what I need.
As usual, anyone who knows where the info is, I would not be the least bit
offended if you just point. Or if you know off-hand ...
(Presently grappling with Unidata):
When I hit a lock with a:
READU this
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Susan Joslyn
Sent: Thursday, April 14, 2005 10:33 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Locks, releases and STATU() (oh my)
Hello wizards,
I've read what I can find on the subject, but I'm not finding what I need.
As usual, anyone who
:33 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Locks, releases and STATU() (oh my)
Hello wizards,
I've read what I can find on the subject, but I'm not finding what I
need.
As usual, anyone who knows where the info is, I would not be the least
bit
offended if you just point. Or if you know
] On Behalf Of Susan Joslyn
Sent: Thursday, April 14, 2005 10:33 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Locks, releases and STATU() (oh my)
Hello wizards,
I've read what I can find on the subject, but I'm not finding what I need.
As usual, anyone who knows where the info is, I would
, releases and STATU() (oh my)
What I want to do is determine who/what has the lock, tell
the user, I also
want to be able to carry on under my own conditions when ud
46 flag is set
which will by default allow edits to items I've locked against my own
session. Which is too loose -- I want
it programmatically.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Susan Joslyn
Sent: Thursday, April 14, 2005 10:33 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Locks, releases and STATU() (oh my)
Hello wizards,
I've read what I can find
Like Mike said, you want to use LIST.READU (or LIST.QUEUE) to see the
locks. However, UniData, unlike UniVerse does have the file name and not
just the number.
The Status() after a readu gives you the UID (pid) of the process that
has the record locked. You can parse it out of the array returned
Ooops, I thing I forgot to mention. On some versions of UniData (5.2.4?)
doing a /TCL in SB+ will cause UniData to not output information with
LIST.READU. I don't recall if there is also a problem with GETREADU() -
plus it's already in an array so you don't have to trim and parse
(truncated) data
Awesome info and suggestion. Thanks so much!
(I'll be back, looking to do the same stuff in uv if its different/gives me
trouble).
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
Subject: Re: [U2] Locks, releases and STATU() (oh my)
Is that DETAIL keyword for LIST.READU just for Unidata? Doesn't seem
to
work on Universe.
-Dianne
Wally Terhune wrote:
other resources include:
LIST.QUEUE and related GETQUEUE() UniBasic function - both show users
queued up for a lock
, releases and STATU() (oh my)
Ooops, I thing I forgot to mention. On some versions of UniData
(5.2.4?) doing a /TCL in SB+ will cause UniData to not output
information with LIST.READU. I don't recall if there is also a problem
with GETREADU() - plus it's already in an array so you don't have to
trim
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Locks, releases and STATU() (oh my)
Is that DETAIL keyword for LIST.READU just for Unidata? Doesn't seem
to
work on Universe.
-Dianne
Wally Terhune wrote:
other resources include:
LIST.QUEUE and related GETQUEUE() UniBasic
12 matches
Mail list logo