<?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: Using GETPROCLOCKS to identofy blockers in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032099#M12774</link>
    <description>Mike,&lt;BR /&gt;&lt;BR /&gt;Just a heads up... the zip file you attached send my Windows XP explorer in a spin. Had to kill and re-run explorer. Pushing (ftp bin) the zip to an OpenVMS box did work though. Tiny program! &lt;BR /&gt;&lt;BR /&gt;Compiled and linked /sysexe seems to work for me!&lt;BR /&gt;&lt;BR /&gt;Did you try to just drop the /NOSYSLIB from the LINK command? Seems to work: it complains with no CMEXEC, it prompts adn is defines a symbol.&lt;BR /&gt;Dunno whether it really really works though.&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 04 Jul 2007 10:11:05 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2007-07-04T10:11:05Z</dc:date>
    <item>
      <title>Using GETPROCLOCKS to identofy blockers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032093#M12768</link>
      <description>&lt;!--!*#--&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;Is anyone using, or have heard of a routine for identifying locks called GETPROCLOCKS. It is something I have "inherited" and don't know where it came from (Google seach on the names gives just 1 entry).&lt;BR /&gt;The problem is that the Alpha version worked fine for years, but we have now upgraded to Itanium and I can't get it to work. I have tried using AEST to convert the .EXE file but get :-&lt;BR /&gt;%AEST-W-PRIVSS, Image calls system service  SYS$CMEXEC. Execution of privileged &lt;BR /&gt;code in a translated context is not supported&lt;BR /&gt;%AEST-W-TRANSWARN, Translation completed with warnings -- review them before usi&lt;BR /&gt;ng the output image&lt;BR /&gt;&lt;BR /&gt;I have also tried to recompile the macro and re-link, but getting :-&lt;BR /&gt;&lt;BR /&gt;RX66$ link/sysexe/nosyslib getproclocks&lt;BR /&gt;&lt;BR /&gt;%ILINK-W-NUDFSYMS, 6 undefined symbols:&lt;BR /&gt;%ILINK-I-UDFSYM,        LIB$GET_FOREIGN &lt;BR /&gt;%ILINK-I-UDFSYM,        LIB$SET_SYMBOL &lt;BR /&gt;%ILINK-I-UDFSYM,        OTS$CVT_L_TI &lt;BR /&gt;%ILINK-I-UDFSYM,        OTS$CVT_L_TZ &lt;BR /&gt;%ILINK-I-UDFSYM,        OTS$CVT_TZ_L &lt;BR /&gt;%ILINK-I-UDFSYM,        SYS$CMEXEC &lt;BR /&gt;%ILINK-W-USEUNDEF, undefined symbol SYS$CMEXEC referenced&lt;BR /&gt;&lt;BR /&gt;etc...&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Mike&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jul 2007 05:17:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032093#M12768</guid>
      <dc:creator>Michael C Cook</dc:creator>
      <dc:date>2007-07-04T05:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using GETPROCLOCKS to identofy blockers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032094#M12769</link>
      <description>Mike,&lt;BR /&gt;&lt;BR /&gt;before trying to debug some unknown code, why don't you try to use the HP Availabilty Manager tool ?&lt;BR /&gt;&lt;BR /&gt;This tool can also identify blocking locks in a cluster.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/openvms/products/availman/index.html" target="_blank"&gt;http://h71000.www7.hp.com/openvms/products/availman/index.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Look at the Lock Contention Display.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Wed, 04 Jul 2007 08:24:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032094#M12769</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-07-04T08:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using GETPROCLOCKS to identofy blockers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032095#M12770</link>
      <description>&lt;BR /&gt;Sounds like that program is similar to one I wrote in C years ago.&lt;BR /&gt;Check for 'blocking' in my OpenVMS Freeware submission:&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;It's a little ugly to use, but should do the job.&lt;BR /&gt;&lt;BR /&gt;If you want to get this GETPROCLOCKS going, then I would focus on fixing the (Macro) source or maybe just the LINK command.&lt;BR /&gt;&lt;BR /&gt;Why does the program need /NOSYSLIB&lt;BR /&gt;&lt;BR /&gt;Try just linking with only /SYSEXE&lt;BR /&gt;It moight not really need that at all either.&lt;BR /&gt;It might just need some offset defintions which could better come from LIB.MLB modules&lt;BR /&gt;&lt;BR /&gt;Maybe if you attach the source to a future reply some reader is willing to give it a whirl?&lt;BR /&gt;&lt;BR /&gt;I'm sure plenty of readers here (me) who are interested, and able, to port this tool for fee.&lt;BR /&gt;&lt;BR /&gt;btw... what problem are you really trying to solve? Maybe there are better tools !?!&lt;BR /&gt;&lt;BR /&gt;Hope this helps some,&lt;BR /&gt;Hein van den Heuvel (at gmail dot com)&lt;BR /&gt;HvdH Performance Consulting</description>
      <pubDate>Wed, 04 Jul 2007 08:34:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032095#M12770</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-07-04T08:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Using GETPROCLOCKS to identofy blockers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032096#M12771</link>
      <description>Google found one potentially useful reference to GETPROCLOCK:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_8723.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_8723.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Looks like is is walking the lock structures itself, unlike my tool which just calls SYS$GETLKI in a loop.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Have you considers DECAmds for this purpose?&lt;BR /&gt;&lt;BR /&gt;Also... for occastional (locking) problems is may be good enough to just use ANAL/SYSTEM... SET PROC &lt;BLOCKED program=""&gt;... SHOW PROC/LOCK --&amp;gt; most interesting lock waiting on top!&lt;BR /&gt;&lt;BR /&gt;Hope this helps some,&lt;BR /&gt;Hein van den Heuvel (at gmail dot com)&lt;BR /&gt;HvdH Performance Consulting&lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKED&gt;</description>
      <pubDate>Wed, 04 Jul 2007 08:41:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032096#M12771</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-07-04T08:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using GETPROCLOCKS to identofy blockers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032097#M12772</link>
      <description>&lt;!--!*#--&gt;Hello Volker, Hein,&lt;BR /&gt;&lt;BR /&gt;Thank you for replies and interest.&lt;BR /&gt;My predecessor implemented this tool, specifically for our 1st-line Helpdesk to identify blockers. Our locks come from Rdb and our more technical people would use rmu/show to debug locks. Getproclocks was a simple non-technical tool for Helpdesk use.&lt;BR /&gt;&lt;BR /&gt;I will certainly take your advise and look into your suggestions (still a bit hectic here after recent upgrade from Alpha to Itanium!).&lt;BR /&gt;&lt;BR /&gt;I will attach all the code for your leisure time.&lt;BR /&gt;The .OLD file is the original .COM, and the new one has been customised for us.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Mike&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jul 2007 09:39:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032097#M12772</guid>
      <dc:creator>Michael C Cook</dc:creator>
      <dc:date>2007-07-04T09:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using GETPROCLOCKS to identofy blockers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032098#M12773</link>
      <description>Mike,&lt;BR /&gt;&lt;BR /&gt;just use $ LINK/SYSEXE GETPROCLOCKS&lt;BR /&gt;&lt;BR /&gt;The image then runs without an error message when given a PID. It even correctly reports a lock when run against QUEUE_MANAGER !&lt;BR /&gt;&lt;BR /&gt;I did not test the .COM procedure.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Wed, 04 Jul 2007 10:09:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032098#M12773</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-07-04T10:09:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using GETPROCLOCKS to identofy blockers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032099#M12774</link>
      <description>Mike,&lt;BR /&gt;&lt;BR /&gt;Just a heads up... the zip file you attached send my Windows XP explorer in a spin. Had to kill and re-run explorer. Pushing (ftp bin) the zip to an OpenVMS box did work though. Tiny program! &lt;BR /&gt;&lt;BR /&gt;Compiled and linked /sysexe seems to work for me!&lt;BR /&gt;&lt;BR /&gt;Did you try to just drop the /NOSYSLIB from the LINK command? Seems to work: it complains with no CMEXEC, it prompts adn is defines a symbol.&lt;BR /&gt;Dunno whether it really really works though.&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Jul 2007 10:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032099#M12774</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-07-04T10:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using GETPROCLOCKS to identofy blockers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032100#M12775</link>
      <description>Mike,&lt;BR /&gt;&lt;BR /&gt;BTW, I did test this on an OpenVMS I64 V8.3 system...&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Wed, 04 Jul 2007 10:11:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032100#M12775</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2007-07-04T10:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using GETPROCLOCKS to identofy blockers</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032101#M12776</link>
      <description>Hello Volker, Hein,&lt;BR /&gt;&lt;BR /&gt;I have it working now.&lt;BR /&gt;Thank you both so much for your help.&lt;BR /&gt;(My first visit to the HP Forums was a great success!!)&lt;BR /&gt;Removing the flag on the Link as you both suggested fixed the problem.&lt;BR /&gt;(There was also a bug in the .COM file which was misleading me)&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Mike&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jul 2007 03:05:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/using-getproclocks-to-identofy-blockers/m-p/4032101#M12776</guid>
      <dc:creator>Michael C Cook</dc:creator>
      <dc:date>2007-07-05T03:05:36Z</dc:date>
    </item>
  </channel>
</rss>

