<?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: Documentation on I/O Request Queue entries displayed by SDA? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/documentation-on-i-o-request-queue-entries-displayed-by-sda/m-p/6954450#M104091</link>
    <description>&lt;P&gt;I note that the SDA extension PWAIT$SDA (&amp;nbsp;from Freeware collections and &lt;A title="Ian's freeware page" href="http://encompasserve.org/~miller/" target="_blank"&gt;http://encompasserve.org/~miller/&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;displays information about IRPs but nothing TCPIP specific.&amp;nbsp; The source code of PWAIT$SDA may give you some other hints on decoding IRPs&amp;nbsp;but that's not the same as having the IDSM and the listings.&lt;/P&gt;&lt;P&gt;Did you look at locks held by the process?&lt;/P&gt;&lt;P&gt;I guess you don't have the necessary support contract to be able to ask HPE - if you do then use it.&lt;/P&gt;&lt;P&gt;I see that &amp;nbsp;EXE$GL_ABSTIM_TICS is copied to PCB$L_WAITIME when a process is put into a wait state so it is the start time of the wait. EXE$GL_ABSTIM_TICS contains the number of ticks (10 millisecond intervals) since boot.&amp;nbsp; Could this&amp;nbsp;use&lt;/P&gt;&lt;P&gt;EXE$GQ_BOOTTIME (boot time in VMS binary format)&amp;nbsp; to determine when the wait started as a datetime.&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2017 09:36:35 GMT</pubDate>
    <dc:creator>Ian Miller.</dc:creator>
    <dc:date>2017-04-06T09:36:35Z</dc:date>
    <item>
      <title>Documentation on I/O Request Queue entries displayed by SDA?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/documentation-on-i-o-request-queue-entries-displayed-by-sda/m-p/6953108#M104089</link>
      <description>&lt;P&gt;I spent most of Thursday trying to do a post-mortem on an issue with an application which wasn't resolved by restarting it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ultimate cause appears to be a process which was locking resources (either a Global Section, a shareable image, or an RMS record lock in a transaction file queried by many other processes).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The process was created from an inbound Telnet connection, and had a BG and TNA device allocated to it (amongst other devices &amp;amp; channels).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I looked at the associated TNA device in SDA, the I/O request queue had the following reported:&lt;/P&gt;&lt;P&gt;&lt;FONT face="monospace, monospace" size="2"&gt;STATE &amp;nbsp; &amp;nbsp;IRP &amp;nbsp; &amp;nbsp; &amp;nbsp;PID &amp;nbsp; MODE CHAN &amp;nbsp;FUNC &amp;nbsp; &amp;nbsp;WCB &amp;nbsp; &amp;nbsp; EFN &amp;nbsp; &amp;nbsp;AST &amp;nbsp; &amp;nbsp; IOSB &amp;nbsp; &amp;nbsp;STATUS&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;C &amp;nbsp; 83A17600 &amp;nbsp;004B0051 &amp;nbsp;&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;E&lt;/STRONG&gt;&lt;/FONT&gt; &amp;nbsp; FF20 &amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#ff0000"&gt;0381&lt;/FONT&gt;&lt;/STRONG&gt; &amp;nbsp;833891FE &amp;nbsp;63 &amp;nbsp;8328E688 &amp;nbsp;7FE7E0C0 &amp;nbsp;0201&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;unload&lt;/STRONG&gt;&lt;/FONT&gt; bufio,termio&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate that SDA allows you to view the contents of numerous internal structures used by different parts of OpenVMS, so one can't expect the SDA documentation to detail the format of those structures or what values particular elements may have.&lt;/P&gt;&lt;P&gt;I have tried to find details on the I/O request queue, but can't find anything that provides that same detail as what SDA is showing above (perhaps SDA is reporting a subset of a mixture of structures?).&lt;/P&gt;&lt;P&gt;I am presuming that the MODE value of E indicates Executive mode, and that the FUNC value of 0381 is in some way related to the enumerated "unload bufio,termio"...&lt;/P&gt;&lt;P&gt;Another I/O request queue entry from another process had a FUNC value of 0020 and an enumerated "writelblk bufio" - the 0020 (32 decimal) appears to match the bit used for IO$_WRITELBLK.&lt;/P&gt;&lt;P&gt;0381 would mean 4 bits being set, and IO$_UNLOAD is bit 0, which still leaves bits 7, 8 &amp;amp; 9 to be accounted for.&lt;/P&gt;&lt;P&gt;IODEF has a number of IO$M_* modifiers which share the same value, but the particular modifier being used would likely be dependent on the context (i.e. the type of device - whether it is disk, tape, mailbox, network &amp;amp;etc.)&lt;/P&gt;&lt;P&gt;The TNA device is a Telnet terminal device provided by UCX, and I don't believe that UCX sockets &amp;amp; services API documentation goes into this level of depth (because one shouldn't need to know it).&lt;/P&gt;&lt;P&gt;It looks to me like UCX was attempting to "unload" the TNA device (because it had received a disconnect from the originating PC), and for whatever reason, the unload never completed (meaning that the process was still locking resources used by other processes).&lt;/P&gt;&lt;P&gt;I don't suppose anyone has any more detailed information on the significance of IO$_UNLOAD for a TNA device, and under what circumstances it might not complete (the process was in a LEF state)?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Apr 2017 13:10:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/documentation-on-i-o-request-queue-entries-displayed-by-sda/m-p/6953108#M104089</guid>
      <dc:creator>Mark_Corcoran</dc:creator>
      <dc:date>2017-04-02T13:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation on I/O Request Queue entries displayed by SDA?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/documentation-on-i-o-request-queue-entries-displayed-by-sda/m-p/6953651#M104090</link>
      <description>&lt;P&gt;Mark,&lt;/P&gt;&lt;P&gt;SDA itself has no knowledge of TCPIP internals. But there is the TCPIP$SDA SDA extension, which may show a little bit more details. Try SDA&amp;gt; TCPIP HELP&lt;/P&gt;&lt;P&gt;To understand more of the OpenVMS internal data structures, the OpenVMS source listing would be helpful, in addition to the OpenVMS Internals and Data Structure&amp;nbsp;manual (IDSM).&amp;nbsp;But as far as I know, TCPIP source listing are not available.&lt;/P&gt;&lt;P&gt;Volker.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 07:05:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/documentation-on-i-o-request-queue-entries-displayed-by-sda/m-p/6953651#M104090</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2017-04-04T07:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation on I/O Request Queue entries displayed by SDA?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/documentation-on-i-o-request-queue-entries-displayed-by-sda/m-p/6954450#M104091</link>
      <description>&lt;P&gt;I note that the SDA extension PWAIT$SDA (&amp;nbsp;from Freeware collections and &lt;A title="Ian's freeware page" href="http://encompasserve.org/~miller/" target="_blank"&gt;http://encompasserve.org/~miller/&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;displays information about IRPs but nothing TCPIP specific.&amp;nbsp; The source code of PWAIT$SDA may give you some other hints on decoding IRPs&amp;nbsp;but that's not the same as having the IDSM and the listings.&lt;/P&gt;&lt;P&gt;Did you look at locks held by the process?&lt;/P&gt;&lt;P&gt;I guess you don't have the necessary support contract to be able to ask HPE - if you do then use it.&lt;/P&gt;&lt;P&gt;I see that &amp;nbsp;EXE$GL_ABSTIM_TICS is copied to PCB$L_WAITIME when a process is put into a wait state so it is the start time of the wait. EXE$GL_ABSTIM_TICS contains the number of ticks (10 millisecond intervals) since boot.&amp;nbsp; Could this&amp;nbsp;use&lt;/P&gt;&lt;P&gt;EXE$GQ_BOOTTIME (boot time in VMS binary format)&amp;nbsp; to determine when the wait started as a datetime.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2017 09:36:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/documentation-on-i-o-request-queue-entries-displayed-by-sda/m-p/6954450#M104091</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2017-04-06T09:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation on I/O Request Queue entries displayed by SDA?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/documentation-on-i-o-request-queue-entries-displayed-by-sda/m-p/6954802#M104092</link>
      <description>&lt;P&gt;Hi Volker, thanks for your reply and apologies for my belated response.&lt;/P&gt;&lt;P&gt;We do have the TCPIP SDA extension (well, actually, UCX$SDA.EXE, because that's how old the stack is) - I had a look, but it doesn't appear to show any more information than UCX SHOW DEVICE_SOCKET BG&lt;EM&gt;nnnn&lt;/EM&gt;:, and in this case, it's the TNA device that was really the issue (SHOW DEVICE_SOCKET will show you that there is an associated TNA device, but gives no other details on it).&lt;BR /&gt;&lt;BR /&gt;I do have the IDSM book, but it is ~200 miles away at home, and I'm not sure it would shed any more light on the problem.&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;SPAN&gt; as far as I know, TCPIP source listing are not available&lt;/SPAN&gt;&lt;BR /&gt;Even if it was included in the listings, I doubt that employer/customer would pay for them, just to be able to confirm that the cause is what I suspect (old, buggy UCX not tearing down network connections).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 08:04:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/documentation-on-i-o-request-queue-entries-displayed-by-sda/m-p/6954802#M104092</guid>
      <dc:creator>Mark_Corcoran</dc:creator>
      <dc:date>2017-04-07T08:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation on I/O Request Queue entries displayed by SDA?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/documentation-on-i-o-request-queue-entries-displayed-by-sda/m-p/6954837#M104093</link>
      <description>&lt;P&gt;Hi Ian, thanks for the reply and the PMs...&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;SPAN&gt;Did you look at locks held by the process?&lt;BR /&gt;I did, but I don't really know enough about lock management to determine the relevance of it (the process was in a LEF state, as were many other processes, which appeared to be waiting on a "resource" held by this process).&lt;BR /&gt;&lt;BR /&gt;I had presumed that the process was locking something in an application transaction history file.&lt;BR /&gt;&lt;BR /&gt;The source code (Fortran) indicates that it calls the open() routine with a parameter of useropen= where the specified function opens the file in a manner that permits it to read locked records, and that its reading of records does&amp;nbsp;&lt;EM&gt;not&lt;/EM&gt; cause any record locking (it basically sets the RAB$V_NLK and RAB$V_RRL bits in RAB$L_ROP before calling SYS$OPEN then SYS$CONNECT).&lt;BR /&gt;&lt;BR /&gt;However, looking at the snapshot of FCB for the file at the time of the problem, suggests not:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;FCB Address: 83B28B00&lt;BR /&gt;-----------&lt;BR /&gt;FCBFL: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;83A52180 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SIZE: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0130&lt;BR /&gt;FCBBL: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;83A6C340 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TYPE: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 07&lt;BR /&gt;EXFCB: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;83A63A40 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WLFL: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 83A26780&lt;BR /&gt;REFCNT: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0003 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3. &amp;nbsp; &amp;nbsp; &amp;nbsp; ACNT: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0003 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3.&lt;BR /&gt;WCNT: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0. &amp;nbsp; &amp;nbsp; &amp;nbsp; LCNT: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.&lt;BR /&gt;TCNT: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0. &amp;nbsp; &amp;nbsp; &amp;nbsp; ACCLKMODE: &amp;nbsp; &amp;nbsp; &amp;nbsp;00&lt;BR /&gt;STATUS: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0000&lt;BR /&gt;SEGN: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0. &amp;nbsp; &amp;nbsp; &amp;nbsp; STVBN: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00000001&lt;BR /&gt;HDLBN: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;000CB43F &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;STLBN: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00000000&lt;BR /&gt;FILESIZE: &amp;nbsp; &amp;nbsp; &amp;nbsp; 0003A7AC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;EFBLK: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0003A7AC&lt;BR /&gt;VERSIONS: &amp;nbsp; &amp;nbsp; &amp;nbsp; 0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0. &amp;nbsp; &amp;nbsp; &amp;nbsp; DIRINDX: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00000000&lt;BR /&gt;DIRSEQ: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ACCLKID: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;00000000&lt;BR /&gt;LOCKBASIS: &amp;nbsp; &amp;nbsp; &amp;nbsp;00000046 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TRUNCVBN: &amp;nbsp; &amp;nbsp; &amp;nbsp; 00000000&lt;BR /&gt;CACHELKID: &amp;nbsp; &amp;nbsp; &amp;nbsp;00000000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HIGHWATER: &amp;nbsp; &amp;nbsp; &amp;nbsp;0003A7AD&lt;BR /&gt;HWM_UPDATE: &amp;nbsp; &amp;nbsp; 0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0. &amp;nbsp; &amp;nbsp; &amp;nbsp; HWM_PARTIAL: &amp;nbsp; &amp;nbsp;0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.&lt;BR /&gt;HWM_ERASE: &amp;nbsp; &amp;nbsp; &amp;nbsp;0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0. &amp;nbsp; &amp;nbsp; &amp;nbsp; HWM_WAITFL: &amp;nbsp; &amp;nbsp; 83B28B68&lt;BR /&gt;FID: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[0046,0015,0000]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; HWM_WAITBL: &amp;nbsp; &amp;nbsp; 83B28B68&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The REFCNT (FCB$W_REFCNT) element has a value of 3, indicating 3 accessors of the file across the node.&lt;BR /&gt;The ACCLKMODE (FCB$B_ACCLKMODE) element has a value of 0, indicating that the highest lock mode of any accessor of the file is none.&lt;BR /&gt;The LCNT (FCB$W_LCNT) element has a value of 0, indicating no accessors have the file locked against writers.&lt;BR /&gt;The STATUS (FCB$W_STATUS) element has a value of 0, indicating that none of the status bits (specifically, FCB$V_RMSLOCK) are set - so no RMS locking is enabled (by this process).&lt;BR /&gt;The ACCLKID (FCB$L_ACCLKID) element has a value of 0, indicating that this process has no access lock enabled for the file.&lt;BR /&gt;The CACHELKID (FCB$L_CACHELKID) element has a value of 0, indicating that this process has no cache interlock lock enabled for the file.&lt;BR /&gt;The HWM_UPDATE, HWM_PARTIAL and HWM_ERASE (FCB$W_HWM_UPDATE, FCB$W_HWM_PARTIAL and FCB$W_HWM_ERASE) elements are all 0, indicating that there are no write operations in progress that affect the highwater mark, no highwater mark erase operations in progress, and no partially validated erase operations).&lt;BR /&gt;The HWM_WAITFL and HWM_WAITBL (FCB$L_HWM_WAITFL and FCB$L_HWM_WAITBL) elements have the same value, indicating that there are no pending read or write operations that affect the highwater mark for the file (or at least, not in this process).&lt;BR /&gt;&lt;BR /&gt;There are 14 locks that the process has; &amp;nbsp;there appear to be two "primary" locks (with , one having 7 sub-locks, and one having 5 sub-locks.&lt;BR /&gt;&lt;BR /&gt;The first primary lock appears to be for the transaction history file:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Lock data:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Lock id: &amp;nbsp;71000D0C &amp;nbsp; PID: &amp;nbsp; &amp;nbsp; 003C0159 &amp;nbsp; Flags: &amp;nbsp; VALBLK SYNCSTS SYSTEM&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Par. id: &amp;nbsp;00000000 &amp;nbsp; SUBLCKs: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;7 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NODLCKW NODLCKB EXPEDIT&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;LKB: &amp;nbsp; &amp;nbsp; &amp;nbsp;839D7240 &amp;nbsp; BLKAST: &amp;nbsp;00000000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;PRIORTY: &amp;nbsp; &amp;nbsp; &amp;nbsp;0000&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Granted at &amp;nbsp; &amp;nbsp; &amp;nbsp;NL &amp;nbsp; 00000000-FFFFFFFF&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Resource: &amp;nbsp; &amp;nbsp; &amp;nbsp;00&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;150046&lt;/FONT&gt;&lt;/STRONG&gt; 24534D52 &amp;nbsp; &amp;nbsp;RMS$F... &amp;nbsp;Status:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Length &amp;nbsp; 26 &amp;nbsp; &amp;nbsp;494C5050 41020000 &amp;nbsp; &amp;nbsp;...APPLI&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Exec. mode &amp;nbsp; &amp;nbsp; 00202020 20202043 &amp;nbsp; &amp;nbsp;C &amp;nbsp; &amp;nbsp; &amp;nbsp;.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;System &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 00000000 00000000 &amp;nbsp; &amp;nbsp;........&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Local copy&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I don't know the way that RMS creates resource names, but the 150046 is the reverse of the FID (46,0,15) for the file (or is that just coincidence?)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;None of the flags in any of the lock entries appears to be different from the others, all of the Status values are blank, all of the Lock Block AST addresses are zero, and they all have a priority of zero.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I'm beginning to think that it wasn't this file after all, but something else.&lt;BR /&gt;&lt;BR /&gt;I did get the output of a SHOW PROCESS /ALL from another process at the time (which I thought was equally responsible for the "hang", as they both had channels open to the transaction file), but I don't know what to look for (and if there's even enough information) to determine what the event flag it was waiting for, was actually related to (if there was a dump of the stack (I don't think SDA does/can give this), then I might be able to work out the function that it was in prior to the (effecive) $WAITFR call).&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&amp;gt;&lt;SPAN&gt;I see that &amp;nbsp;EXE$GL_ABSTIM_TICS is copied to PCB$L_WAITIME when a process is put into a wait state so it is the start time of the wait.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I had thought that if I knew when the processes had gotten into a wait state, I might be able to discern some other event occurring on the system (from accounting records, security audit journal, application log files).&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Unfortunately, I didn't do a FORMAT of the PCB for both of the suspect processes in SDA before killing them, and whilst I did do a SHOW PROCESS /ALL after having redirected the output to a file, SDA doesn't appear to proactively go through control blocks that the process has, and dump them.&lt;BR /&gt;&lt;BR /&gt;The output does record a "Starting wait time" of "1B001B16", but this doesn't appear to be related to&amp;nbsp;&lt;SPAN&gt;PCB$L_WAITIME, and seems to be common (or very similar values) across many processes (as I don't have source listings, I don't know where SDA is deriving this value from, or its significance).&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;SPAN&gt;I think this is problem might have to remain on my (thankfully) small "unsolved" pile.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 10:22:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/documentation-on-i-o-request-queue-entries-displayed-by-sda/m-p/6954837#M104093</guid>
      <dc:creator>Mark_Corcoran</dc:creator>
      <dc:date>2017-04-07T10:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Documentation on I/O Request Queue entries displayed by SDA?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/documentation-on-i-o-request-queue-entries-displayed-by-sda/m-p/6954844#M104094</link>
      <description>&lt;P&gt;Try the PWAIT$SDA SDA extension next time (if it's an Alpha or I64 system).&lt;/P&gt;&lt;P&gt;Or look for Busy channels (SDA&amp;gt; SHOW PROC/CHAN) or waiting locks (SDA&amp;gt; SHOW PROC/LOCK - waiting locks will always be shown FIRST, so if the first lock is granted, the process is NOT waiting for a lock). It's typically easier, to work your way from a HANGING process instead of from the one, you ASSUME to be causing the problem.&lt;/P&gt;&lt;P&gt;Volker.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2017 10:37:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/documentation-on-i-o-request-queue-entries-displayed-by-sda/m-p/6954844#M104094</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2017-04-07T10:37:43Z</dc:date>
    </item>
  </channel>
</rss>

