<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Finding Record Locks in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880617#M80329</link>
    <description>Ummmmm....a word of warning - it's not that safe......&lt;BR /&gt;&lt;BR /&gt;ALPHA_ROB$ gim cmk&lt;BR /&gt;ALPHA_ROB$$ showlock ediweb&lt;BR /&gt;pid&amp;gt;  &lt;BR /&gt;lkid&amp;gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;YOUR&gt;&lt;BR /&gt;&lt;BR /&gt;**** OpenVMS (TM) Alpha Operating System V7.3-2   - BUGCHECK ****&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(Running away from MD wielding pick axe handle!)&lt;BR /&gt;&lt;BR /&gt;&lt;/YOUR&gt;</description>
    <pubDate>Wed, 18 Oct 2006 09:34:11 GMT</pubDate>
    <dc:creator>Robert Atkinson</dc:creator>
    <dc:date>2006-10-18T09:34:11Z</dc:date>
    <item>
      <title>Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880596#M80308</link>
      <description>I know there are a few utilities to find the owner of record locks, but I've never managed to get any of them working.&lt;BR /&gt;&lt;BR /&gt;Could anyone give me the SDA commands to manually find record locks?&lt;BR /&gt;&lt;BR /&gt;Thanks, Robert.&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Oct 2006 05:17:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880596#M80308</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-10-16T05:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880597#M80309</link>
      <description>Though I haven't used it, I understand that AMDS is capable of locating the source of blocked locks.&lt;BR /&gt;&lt;BR /&gt;You might also just simply hop into SDA and&lt;BR /&gt;&lt;BR /&gt;SDA&amp;gt; show resources/contention&lt;BR /&gt;&lt;BR /&gt;and see if you 'get lucky'.&lt;BR /&gt;&lt;BR /&gt;Regarding your question... the answer is dependent upon how the record locks originate. Is this a cluster? More importantly, is it RMS that is generating the record locks? Anyone attempting to respond to this would likely want to know.&lt;BR /&gt;&lt;BR /&gt;I don't believe that the format of an RMS lock is documented. (From memory) the resource name consists of the string "RMS$", the 3 words of the file-id, and the associated device lock name.</description>
      <pubDate>Mon, 16 Oct 2006 08:47:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880597#M80309</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2006-10-16T08:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880598#M80310</link>
      <description>I'll attach one of those utilities, but it is also hard to get to work. It needs CMEXEC privs, and you give it a pid, or a device spec as argument. I have some more tools, but those are not mine,&lt;BR /&gt;&lt;BR /&gt;It would help to describe the circumstances better. If one process is waiting for an other holding a lock, then SDA is easy.&lt;BR /&gt;Just find the PID of the waiting process. Then:&lt;BR /&gt;SDA&amp;gt; SHOW PROCECS &lt;PID&gt; /LOCK&lt;BR /&gt;&lt;BR /&gt;Now a record lock will show as an 8 byte long lock name with the VBN and RECORD ID encoded. The parrent of the lock should be a RMS$&lt;FID&gt;&lt;VOLUME&gt; file lock as the first reply indicates. The tool helps with this, formatting the lock, and dumping the record.&lt;BR /&gt;&lt;BR /&gt;If a process starts, but dumps out on a locked record, then it is harder to tell, unless you have the target ID or KEY value.&lt;BR /&gt;You can use the key with DCL READ/KEY=xxx/WAIT and then use SDA on the DCL process (yourself) as per above.&lt;BR /&gt;&lt;BR /&gt;Or use SHOW DEVICE/FILE and use SDA on each process havign the file open. The tool helps with this situation also.&lt;BR /&gt;&lt;BR /&gt;What is the exact real problem you are trying to solve?&lt;BR /&gt;&lt;BR /&gt;What is the secondary problem you have with the tools. Which tools? Where can we look at them?&lt;BR /&gt;&lt;BR /&gt;You'll find an older version of my tools in:&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/freeware/freeware60/rms_tools" target="_blank"&gt;http://h71000.www7.hp.com/freeware/freeware60/rms_tools&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;'next' to it you'll find a tool called 'rms_locks' which I have not tried but sounds like it might do the job.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;/VOLUME&gt;&lt;/FID&gt;&lt;/PID&gt;</description>
      <pubDate>Mon, 16 Oct 2006 17:40:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880598#M80310</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-10-16T17:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880599#M80311</link>
      <description>In addition to AMDS, Availability Manager can display "interesting locks" in a system or cluster.  See &lt;A href="http://h71000.www7.hp.com/openvms/products/availman/docs.html." target="_blank"&gt;http://h71000.www7.hp.com/openvms/products/availman/docs.html.&lt;/A&gt;  AMDS and Availability Manager are two sides of the same gem.  The data manager display in AM can function on a recent Windows box, which does have a plus or two.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Andy</description>
      <pubDate>Mon, 16 Oct 2006 19:47:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880599#M80311</guid>
      <dc:creator>Andy Bustamante</dc:creator>
      <dc:date>2006-10-16T19:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880600#M80312</link>
      <description>To clarify, we are using RMS indexed files.&lt;BR /&gt;&lt;BR /&gt;We often find programs running in batch 'hang' waiting for a record lock to be released. These locks are taken out by interactive users updating a particular record. As time goes by, a chain of locks can start to accumulate, as more and more users try to access the same record.&lt;BR /&gt;&lt;BR /&gt;Although I do know the file that's being locked and the process PID that's trying to access the record, I don't know which exact record is being locked.&lt;BR /&gt;&lt;BR /&gt;Ultimately, I need to know which user is locking the record the batch process is trying to access, but with 100+ users accessing that particular file, it makes the job difficult.&lt;BR /&gt;&lt;BR /&gt;I had a look at Availability Manager yesterday, but wasn't 100% sure it would give the information I required. I may still install it on our test node and see what it can tell me.&lt;BR /&gt;&lt;BR /&gt;Hein - could you email me an OBJ of your tool - ratkinson-at-tbs-ltd-dot-co-dot-uk.&lt;BR /&gt;&lt;BR /&gt;My assumption is that I'm going to have to cobble together a mixture of tools to do this, which is very annoying, as the code within the application we use is capable of telling you who is locking the record but only sends a message every 10 minutes!&lt;BR /&gt;&lt;BR /&gt;Rob.&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Oct 2006 04:10:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880600#M80312</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-10-17T04:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880601#M80313</link>
      <description>Robert,&lt;BR /&gt;&lt;BR /&gt;Users are updating the records while the batch job is running. So, why don't you modify the batch job to read regardless of locks ?&lt;BR /&gt;&lt;BR /&gt;Fwiw&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 17 Oct 2006 05:02:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880601#M80313</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-10-17T05:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880602#M80314</link>
      <description>Because the batch process is also updating the records (stock figures).&lt;BR /&gt;&lt;BR /&gt;Due to the way it's designed, there is no other choice but to wait for the lock to be released, from either the interactive processes or the batch jobs.&lt;BR /&gt;&lt;BR /&gt;Rob.</description>
      <pubDate>Tue, 17 Oct 2006 05:26:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880602#M80314</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-10-17T05:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880603#M80315</link>
      <description>Robert,&lt;BR /&gt;&lt;BR /&gt;AMDS/Availabilty Manager exactly does this job for you. You need to run RMDRIVER (@SYS$STARTUP:AMDS$STARTUP START) on all members of the cluster, which may be involved accessing those ISAM files.&lt;BR /&gt;&lt;BR /&gt;If you run the GUI (data collector), you need to start collecting Lock Contention data. AMDS/Availability Manager will then find blocked locks and also identify blocking locks and show appropriate messages in the Event Windows and also record them in the AvailManLock.Log file.&lt;BR /&gt;&lt;BR /&gt;This only works, if the process is actually waiting for the lock, i.e. the $ENQ operation is pending.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 17 Oct 2006 07:41:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880603#M80315</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-10-17T07:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880604#M80316</link>
      <description>Thanks Volker.&lt;BR /&gt;&lt;BR /&gt;Are there any 'gotchas' in the AM installation I should know about?&lt;BR /&gt;&lt;BR /&gt;Rob.</description>
      <pubDate>Tue, 17 Oct 2006 07:51:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880604#M80316</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-10-17T07:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880605#M80317</link>
      <description>Rob,&lt;BR /&gt;&lt;BR /&gt;I would suggest that you read the installation notes...&lt;BR /&gt;&lt;BR /&gt;If your OpenVMS systems have multiple LAN devices, you need to define the correct device in AMDS$LOGICALS.COM. The AMDS LAN protocol only works on the same LAN segment, so you need to connect your AM data collector (GUI) to the same LAN segment as your OpenVMS nodes. You may also install and run the GUI on a Windows system.&lt;BR /&gt;&lt;BR /&gt;Here are some examples of lock related AM messages (from the Availability Manager event log - V2.6A):&lt;BR /&gt;&lt;BR /&gt;LCKCNT  AXTST1 possible contention for resource QMAN$JBC_ALIVE_01&lt;BR /&gt;&lt;BR /&gt;LCKBLK  AXTST1 JOB_CONTROL blocking resource QMAN$JBC_ALIVE_01&lt;BR /&gt;&lt;BR /&gt;LCKWAT  AXTST1 QUEUE_MANAGER waiting for resource QMAN$JBC_ALIVE_01 granted to QUEUE_MANAGERQUEUE_MANAGER on node AXTST1&lt;BR /&gt;&lt;BR /&gt;Note that the contents of the LCKWAT message is incorrect regarding the blocking process name - this has already been reported.&lt;BR /&gt;&lt;BR /&gt;The Lock Contention information in the AvailManLock.Log file is more detailled and correct.&lt;BR /&gt;&lt;BR /&gt;Note that you can also follow the blocked locks using SDA, but this is very tedious and time-consuming, especially in a cluster.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 17 Oct 2006 08:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880605#M80317</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-10-17T08:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880606#M80318</link>
      <description>&lt;BR /&gt;Adding to Volker's comment,  AM also has the ability to configure access levels, see the documentation for configuration option of SYS$MANAGER:AMDS$DRIVER_ACCESS.DAT.  The default access is monitoring.  You also have the ability to adjust quotas, force quorum to be recalculated or even crash a node remotely.  &lt;BR /&gt;&lt;BR /&gt;I presently use Windows 2000 server with AM on the local LAN segment.  With Terminal Services I can control the PC remotely.  Access is restricted by VPN accounts. &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Andy</description>
      <pubDate>Tue, 17 Oct 2006 11:47:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880606#M80318</guid>
      <dc:creator>Andy Bustamante</dc:creator>
      <dc:date>2006-10-17T11:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880607#M80319</link>
      <description>&amp;gt;&amp;gt;&amp;gt; Hein - could you email me an OBJ of your tool - ratkinson-at-tbs-ltd-dot-co-dot-uk.&lt;BR /&gt;&lt;BR /&gt;You can download a (slightly older) executable from the OpenVMS freeware site, or request an account on eisner.decus.org or the deathrow cluster (just google +openvms +deathrow)&lt;BR /&gt; &lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; My assumption is that I'm going to have to cobble together a mixture of tools to do this, which is very annoying, as the code within the application we use is capable of telling you who is locking the record but only sends a message every 10 minutes!&lt;BR /&gt;&lt;BR /&gt;IF your (batch) application waits for the lock then my tool will do it all, giving it the batch job process ID. ANAL/SYS... set proce 'batch job'... SHOW PROC/LOCK will also quickly show who is halding the lock.&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Oct 2006 12:18:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880607#M80319</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-10-17T12:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880608#M80320</link>
      <description>You might want to take a look at the Lotsa Lock chapter in Bruce Ellis's "Hitchhikers Guide to VMS" for more hints on writing code to access lock information.&lt;BR /&gt;&lt;BR /&gt;Bruce Claremont&lt;BR /&gt;&lt;A href="http://www.MigrationSpecialties.com" target="_blank"&gt;www.MigrationSpecialties.com&lt;/A&gt;</description>
      <pubDate>Tue, 17 Oct 2006 17:48:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880608#M80320</guid>
      <dc:creator>B Claremont</dc:creator>
      <dc:date>2006-10-17T17:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880609#M80321</link>
      <description>Attached is a VAX-to-Alpha port of Bruce Ellis' blocking_lock program found in his HitchHiker book.</description>
      <pubDate>Tue, 17 Oct 2006 18:13:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880609#M80321</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2006-10-17T18:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880610#M80322</link>
      <description>Doesn't look like Bruce's program works on my VMS 7.3-2 system, but thanks for sending it in Jim :-&lt;BR /&gt;&lt;BR /&gt;ALPHA_ROB$ link showlock.obj&lt;BR /&gt;%LINK-W-NUDFSYMS, 9 undefined symbols:&lt;BR /&gt;%LINK-I-UDFSYM,         EXE$CVT_EPID_TO_PCB &lt;BR /&gt;%LINK-I-UDFSYM,         EXE$SIGTORET &lt;BR /&gt;%LINK-I-UDFSYM,         LCK$GL_MAXID &lt;BR /&gt;%LINK-I-UDFSYM,         LCK$GQ_IDTBL &lt;BR /&gt;%LINK-I-UDFSYM,         SCH$GL_PCBVEC &lt;BR /&gt;%LINK-I-UDFSYM,         SMP$ACQUIRE &lt;BR /&gt;%LINK-I-UDFSYM,         SMP$GL_FLAGS &lt;BR /&gt;%LINK-I-UDFSYM,         SMP$RELEASE &lt;BR /&gt;%LINK-I-UDFSYM,         SYS$VERSION_BEGIN &lt;BR /&gt;%LINK-W-USEUNDEF, undefined symbol SYS$VERSION_BEGIN referenced&lt;BR /&gt;        in psect $LINKAGE offset %X00000040&lt;BR /&gt;        in module BLOCKING_LOCK file OPS$DATA:[ROBERT]SHOWLOCK.OBJ;1&lt;BR /&gt;%LINK-W-USEUNDEF, undefined symbol SMP$RELEASE referenced&lt;BR /&gt;        in psect $LOCK_LINKAGE_2 offset %X00000050&lt;BR /&gt;        in module BLOCKING_LOCK file OPS$DATA:[ROBERT]SHOWLOCK.OBJ;1&lt;BR /&gt;%LINK-W-USEUNDEF, undefined symbol SMP$ACQUIRE referenced&lt;BR /&gt;        in psect $LOCK_LINKAGE_2 offset %X00000060&lt;BR /&gt;        in module BLOCKING_LOCK file OPS$DATA:[ROBERT]SHOWLOCK.OBJ;1&lt;BR /&gt;%LINK-W-USEUNDEF, undefined symbol SMP$GL_FLAGS referenced&lt;BR /&gt;        in psect $LOCK_LINKAGE_2 offset %X00000070&lt;BR /&gt;        in module BLOCKING_LOCK file OPS$DATA:[ROBERT]SHOWLOCK.OBJ;1&lt;BR /&gt;%LINK-W-USEUNDEF, undefined symbol EXE$SIGTORET referenced&lt;BR /&gt;        in psect $LOCK_LINKAGE_2 offset %X00000090&lt;BR /&gt;        in module BLOCKING_LOCK file OPS$DATA:[ROBERT]SHOWLOCK.OBJ;1&lt;BR /&gt;%LINK-W-USEUNDEF, undefined symbol LCK$GL_MAXID referenced&lt;BR /&gt;        in psect $LOCK_LINKAGE_2 offset %X000000B0&lt;BR /&gt;        in module BLOCKING_LOCK file OPS$DATA:[ROBERT]SHOWLOCK.OBJ;1&lt;BR /&gt;%LINK-W-USEUNDEF, undefined symbol EXE$CVT_EPID_TO_PCB referenced&lt;BR /&gt;        in psect $LOCK_LINKAGE_2 offset %X000000C0&lt;BR /&gt;        in module BLOCKING_LOCK file OPS$DATA:[ROBERT]SHOWLOCK.OBJ;1&lt;BR /&gt;%LINK-W-USEUNDEF, undefined symbol SCH$GL_PCBVEC referenced&lt;BR /&gt;        in psect $LOCK_LINKAGE_2 offset %X000000D0&lt;BR /&gt;        in module BLOCKING_LOCK file OPS$DATA:[ROBERT]SHOWLOCK.OBJ;1&lt;BR /&gt;%LINK-W-USEUNDEF, undefined symbol LCK$GQ_IDTBL referenced&lt;BR /&gt;        in psect $LOCK_LINKAGE_2 offset %X000000D8&lt;BR /&gt;        in module BLOCKING_LOCK file OPS$DATA:[ROBERT]SHOWLOCK.OBJ;1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;GAMMA_ROB$$$ set proc/priv=all&lt;BR /&gt;GAMMA_ROB$$$ showlock 20C026DA&lt;BR /&gt;%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=000000000000001C, PC=0000000000020850, PS=0000001B&lt;BR /&gt;%TRACE-F-TRACEBACK, symbolic stack dump follows&lt;BR /&gt;  image    module    routine             line      rel PC           abs PC      &lt;BR /&gt; SHOWLOCK                                   0 0000000000020850 0000000000020850&lt;BR /&gt;                                            0 FFFFFFFF80273ED4 FFFFFFFF80273ED4&lt;BR /&gt;GAMMA_ROB$$$ &lt;BR /&gt;</description>
      <pubDate>Wed, 18 Oct 2006 02:50:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880610#M80322</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-10-18T02:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880611#M80323</link>
      <description>Rob,&lt;BR /&gt;&lt;BR /&gt;this is a privileged program, which needs to link to the executive:&lt;BR /&gt;&lt;BR /&gt;$ LINK/SYSEXE showlock&lt;BR /&gt;&lt;BR /&gt;Note that you will need CMKRNL and that this program might then be able to crash your system.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Wed, 18 Oct 2006 02:53:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880611#M80323</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-10-18T02:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880612#M80324</link>
      <description>Thanks Volker, that works a treat now :-&lt;BR /&gt;&lt;BR /&gt;GAMMA_ROB$$$ showlock&lt;BR /&gt;pid&amp;gt;  20C032E6&lt;BR /&gt;&lt;BR /&gt; PID 20C032E6 belongs to process RAA_RobertAtki3 owned by user RAA         &lt;BR /&gt; which has requested a PW mode lock with LKID 090060E2.&lt;BR /&gt;&lt;BR /&gt; LKID: 090060E2&lt;BR /&gt; Resource name (ascii)        ....R...&lt;BR /&gt; Resource name (hex)          00000000 00000000 00000052 00000001&lt;BR /&gt;                              00000000 00000000 00000000 00000000&lt;BR /&gt; Parent Resource name (ascii) RMS$...Ã ...ROBERT      ...&lt;BR /&gt; Parent Resource name (hex)   5245424F 52020000 CA880015 24534D52&lt;BR /&gt;                              00000000 00000000 00202020 20202054&lt;BR /&gt;&lt;BR /&gt; This lock request is currently blocked by a PW mode lock held by&lt;BR /&gt; process RAA_RobertAtki2 with PID 20C026DA and owned by user RAA.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I'll give it a go in a real situation and see if it works.&lt;BR /&gt;&lt;BR /&gt;Rob.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Oct 2006 03:23:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880612#M80324</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-10-18T03:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880613#M80325</link>
      <description>Rob,&lt;BR /&gt;&lt;BR /&gt;let me add an advice:&lt;BR /&gt;&lt;BR /&gt;If you get undefined symbols during a LINK operation, NEVER try to run the resulting image with CMKRNL (or CMEXEC) privileges enabled.&lt;BR /&gt;&lt;BR /&gt;ACCVIOs, which will result when the code tries to reference those undefined symbol locations in KERNEL mode, will almost certainly cause a system crash.&lt;BR /&gt;&lt;BR /&gt;In your case, the program died with ACCVIO before reaching kernel mode, so you were lucky.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Wed, 18 Oct 2006 03:23:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880613#M80325</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-10-18T03:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880614#M80326</link>
      <description>Thanks for the head-up.&lt;BR /&gt;&lt;BR /&gt;I never get involved with low-level languages, just stuff like PHP, so this one's certainly news to me.&lt;BR /&gt;&lt;BR /&gt;Glad I ran it on our test node now!&lt;BR /&gt;&lt;BR /&gt;Rob.</description>
      <pubDate>Wed, 18 Oct 2006 03:27:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880614#M80326</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-10-18T03:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Finding Record Locks</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880615#M80327</link>
      <description>&amp;gt; ACCVIOs, which will result when the code tries to reference those undefined symbol locations in KERNEL mode, will almost certainly cause a system crash.&lt;BR /&gt;&lt;BR /&gt;To trap this sort of thing, I included an exception handler that is active in kernel mode, in the port of Bruce's program. &lt;BR /&gt;</description>
      <pubDate>Wed, 18 Oct 2006 06:27:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/finding-record-locks/m-p/3880615#M80327</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2006-10-18T06:27:55Z</dc:date>
    </item>
  </channel>
</rss>

