We had problem to identify application process locking a record.
Before any program change, is there any VMS utility show the process
locking the record ?
Also how to identify the process locking the record through ANALYZE
/SYSTEM ?
Thanks for any input in advance,
Terence.
|
|
0
|
|
|
|
Reply
|
tlywong (2)
|
3/1/2005 3:44:05 PM |
|
AMDS is nice to display interprocess lock
Terence Wong wrote:
> We had problem to identify application process locking a record.
>
> Before any program change, is there any VMS utility show the process
> locking the record ?
>
> Also how to identify the process locking the record through ANALYZE
> /SYSTEM ?
>
> Thanks for any input in advance,
>
> Terence.
|
|
0
|
|
|
|
Reply
|
philippe.marmillod (1)
|
3/1/2005 4:36:18 PM
|
|
Hoff Hoffman wrote:
> Me? I'd install Avaibility Manager or AMDS, and be done with it.
Is there a solution for VAX ?
|
|
0
|
|
|
|
Reply
|
jfmezei.spamnot4 (5184)
|
3/1/2005 5:18:10 PM
|
|
In article <87af9e83.0503010744.618ca5b8@posting.google.com>, tlywong@gmail.com (Terence Wong) writes:
:We had problem to identify application process locking a record.
OpenVMS version?
:Before any program change, is there any VMS utility show the process
:locking the record ?
AMDS or its more current version, Availability Manager, make this
easy -- current versions are licensed with OpenVMS, are easily
installed, and make finding a blocking lock blindingly easy.
When I have this situation, I tend to code the applications to play
more nicely with the record locks, where the application detects a
long hold time for itself, and backs off the lock. Where I do not
need the record lock, I do not acquire it. Both are obvious, of
course, and are certainly not the only way to go after what is
usually a coding or design problem within the application -- I have
had my share of these errors over the years; errors I've either
committed, or that I have found and resolved.
:Also how to identify the process locking the record through ANALYZE
:/SYSTEM ?
Current SDA versions are better at this. Older releases are somewhat
of an "adventure" when tracing the lock trees around a cluster. On
the current versions, SHOW LOCK is pretty easy to use and to follow
around. On older releases, again, it'll be more of an "adventure" --
you will want to look at the lock resource name documentation, if you
take this SDA tactic, too -- you'll need to know what the RMS lock
names look like, and how the locks are structured. IIRC, this is in
the internals and data structures manual.
Me? I'd install Avaibility Manager or AMDS, and be done with it.
Look for which process is holding a lock that is blocking others,
and work out from there -- the IDSM can still be useful here, too,
though simpler cluster configurations and stand-along can potentially
be easy to resolve without knowledge of the specific resource names.
---------------------------- #include <rtfaq.h> -----------------------------
For additional, please see the OpenVMS FAQ -- www.hp.com/go/openvms/faq
--------------------------- pure personal opinion ---------------------------
Hoff (Stephen) Hoffman OpenVMS Engineering hoff[at]hp.com
|
|
0
|
|
|
|
Reply
|
hoff (611)
|
3/1/2005 5:31:33 PM
|
|
JF Mezei wrote:
> Hoff Hoffman wrote:
>
>> Me? I'd install Avaibility Manager or AMDS, and be done with it.
>
>
> Is there a solution for VAX ?
I submitted RMS_LOCKS to freeware. It's on the freeware distribution
prior to the current one, V6 possibly. Also downloadable from the HP
web site I believe.
As I've mentioned before, much could be done on the user interface side.
It was something that fell out of a project I was working on, so not
much time was spent on it.
Since I don't have a cluster, it wasn't tested in that environment.
Dave
|
|
0
|
|
|
|
Reply
|
davef3 (3524)
|
3/1/2005 7:28:40 PM
|
|
A much similar question is being discussed in the OpenVMS ITRC Forum:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=824830
Over there two alternative programs, both called rms_tools.c where
offered up.
Dave's solution is in done Basic. Cool!
:-).
Hein.
|
|
0
|
|
|
|
Reply
|
hein_news (10)
|
3/1/2005 9:07:20 PM
|
|
Hein wrote:
>
> A much similar question is being discussed in the OpenVMS ITRC Forum:
>
> http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=824830
For those who keep javascript disabled, the rms_tools.c from Mr Hein van
den Heuvel
is at:
> http://forums1.itrc.hp.com/service/forums/getattachment.do?attachmentId=213571&ext=.c
|
|
0
|
|
|
|
Reply
|
jfmezei.spamnot4 (5184)
|
3/1/2005 9:50:18 PM
|
|
JF Mezei wrote:
> Hein wrote:
>
>>A much similar question is being discussed in the OpenVMS ITRC Forum:
>>
>>http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=824830
>
>
> For those who keep javascript disabled, the rms_tools.c from Mr Hein van
> den Heuvel
> is at:
>
>
>>http://forums1.itrc.hp.com/service/forums/getattachment.do?attachmentId=213571&ext=.c
David Sneldon (probably misspelled, my appologies) also has/had a
utility, in C I believe. I think his user interface allowed for input
of a filespec. I never saw it, just remember the discussion from
several years ago.
Dave
|
|
0
|
|
|
|
Reply
|
davef3 (3524)
|
3/1/2005 10:15:20 PM
|
|
JF Mezei wrote:
> Hoff Hoffman wrote:
> > Me? I'd install Avaibility Manager or AMDS, and be done with it.
>
> Is there a solution for VAX ?
This one worked for me (vax only, I don't think it made it to alpha)
http://www.decus.org/encompass/libcatalog/description_html/v00484.html
Phil
|
|
0
|
|
|
|
Reply
|
dooleys (229)
|
3/2/2005 1:36:07 AM
|
|
|
8 Replies
53 Views
(page loaded in 0.197 seconds)
Similiar Articles: Identify old files - comp.unix.programmerHow to find which process deletes files - comp.unix.solaris ... Identify old ... the existing records don't have a nice date field to identify old ... Lock files on NFS - comp ... Efficient way to delete a large amount of records from a big table ...... say that it makes the "process ... it still held a lock for 45 minutes. > delete records that are ... How to Identify and Delete Duplicate SQL Server Records ... sys.matlab I ... Can a procedure contain only a SELECT statement? - comp.databases ...... cursor to another procedure, fetch from it and process ... just because of its poor architecture and vendor lock ... word starting with "a" and ending in "le" to describe him ... Dos and don'ts in C++ unit testing? - comp.lang.c++.moderated ...> The process of writing tests should intermingle with the ... test class from the abstraction that simply records when ... write things like: boost::mutex::scoped_lock ... Sampling: What Nyquist Didn't Say, and What to Do About It - comp ...And it has such a bad security record that I am ... I just replied to another post, and in the process ... But, to describe how the "system" worked, it was ... How to get envelope from AM signal without phase shift - comp.dsp ...... carrier you need to square the signal first then lock ... to 1) Emit a known waveform into the water 2) Record ... So far, all you've done it describe a variety of things ... scripting a telnet session to VMS - comp.os.vmsI am open to other suggestions to automate the process of ... the details of a procedure similar to what you describe. ... to loop on the telnet session, does it still lock up? [comp.publish.cdrom] CD-Recordable FAQ, Part 1/4 - comp.publish ...Archive-name: cdrom/cd-recordable/part1 Posting-Frequency: monthly Last-modified: 2008/10/09 Version: 2.71 Send corrections and updates to And... ntpd, boot time, and hot plugging - comp.protocols.time.ntp ...One of the things that slows down the boot process is ... How fast can ntpd lock on to the NMEA messages? ... Mills" <mills@udel.edu> writes: > Hangups as you describe ... top 10 uses for random data compression?? anyone? - comp ...... feeds on disinformation, and whatever the record shows is ... Better stab dignitys now or Thomas will namely lock ... Fucking don't prevail the exiles separately, process them ... How to Clear a Record Lock in SQL | eHow.comHow to Clear a Record Lock in SQL. SQL Server is a database ... Removing a lock on a database involves identifying the process and using the command line to kill the ... Troubleshoot SQL Server Locking... performance testing with millions of records. Then we ran into locking ... this section, I will show one way to identify ... with the intent exclusive (IX) lock that process 52 ... 7/13/2012 11:47:22 AM
|