<?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: Getting &amp;quot;Device Offline&amp;quot; status from DCL in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/getting-quot-device-offline-quot-status-from-dcl/m-p/3986992#M83265</link>
    <description>Karl,&lt;BR /&gt;&lt;BR /&gt;I get a TRUE return for both EXISTS &amp;amp; AVL on an Offline disk.</description>
    <pubDate>Mon, 23 Apr 2007 12:55:19 GMT</pubDate>
    <dc:creator>Jack Trachtman</dc:creator>
    <dc:date>2007-04-23T12:55:19Z</dc:date>
    <item>
      <title>Getting "Device Offline" status from DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getting-quot-device-offline-quot-status-from-dcl/m-p/3986990#M83263</link>
      <description>(VMS V7.3-2)&lt;BR /&gt;&lt;BR /&gt;I'm trying to determine if a disk is Offline from within a DCL script.  Looks like F$GETDVI returns this with either the DEVDEPEND or DEVDEPEND2 keyword, but not being familiar with system service calls I can't figure out which of the above keywords to use, and which bit within that keyword gives me what I want (seems to be related to the SS$_DEVOFFLINE status word).  Can someone help?  TIA</description>
      <pubDate>Mon, 23 Apr 2007 11:38:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getting-quot-device-offline-quot-status-from-dcl/m-p/3986990#M83263</guid>
      <dc:creator>Jack Trachtman</dc:creator>
      <dc:date>2007-04-23T11:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "Device Offline" status from DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getting-quot-device-offline-quot-status-from-dcl/m-p/3986991#M83264</link>
      <description>I normally use keywords "EXISTS" and "AVL" to check for a device.&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Mon, 23 Apr 2007 12:00:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getting-quot-device-offline-quot-status-from-dcl/m-p/3986991#M83264</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2007-04-23T12:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "Device Offline" status from DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getting-quot-device-offline-quot-status-from-dcl/m-p/3986992#M83265</link>
      <description>Karl,&lt;BR /&gt;&lt;BR /&gt;I get a TRUE return for both EXISTS &amp;amp; AVL on an Offline disk.</description>
      <pubDate>Mon, 23 Apr 2007 12:55:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getting-quot-device-offline-quot-status-from-dcl/m-p/3986992#M83265</guid>
      <dc:creator>Jack Trachtman</dc:creator>
      <dc:date>2007-04-23T12:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "Device Offline" status from DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getting-quot-device-offline-quot-status-from-dcl/m-p/3986993#M83266</link>
      <description>&lt;!--!*#--&gt;You want to be looking for UCB$M_ONLINE in the UCB$L_STATUS field. &lt;BR /&gt;&lt;BR /&gt;From DCL (replacing 'disk' with whatever you find appropriate&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ pipe libr/extr=$ucbdef/out=sys$output sys$share:lib.mlb | -&lt;BR /&gt;sear sys$pipe ucb$m_online&lt;BR /&gt;$ ucb$m_online = %x10&lt;BR /&gt;$ disk = "DKA0"&lt;BR /&gt;$ if (f$getdvi(disk,"sts") .and. UCB$M_ONLINE) .ne. UCB$M_ONLINE -&lt;BR /&gt;then write sys$output "''disk' is offline"</description>
      <pubDate>Mon, 23 Apr 2007 13:15:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getting-quot-device-offline-quot-status-from-dcl/m-p/3986993#M83266</guid>
      <dc:creator>Jim_McKinney</dc:creator>
      <dc:date>2007-04-23T13:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "Device Offline" status from DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getting-quot-device-offline-quot-status-from-dcl/m-p/3986994#M83267</link>
      <description>"EXISTS" corresponds to the device actually being in the list of currently configured devices on the system.&lt;BR /&gt;&lt;BR /&gt;"AVL" corresponds to whether or not the device has been declared AVAILABLE/NOAVAILABLE( SET DEVICE/[NO]AVAILABLE).&lt;BR /&gt;&lt;BR /&gt;Have you tried  path_available or path_not_responding to see what you get from those?  You may well have to extract it from the DEVDEPEND* fields.  I found this:&lt;BR /&gt;&lt;BR /&gt; UCB$L_DK_DEVOFFLINE = 804,0,32,1 %; !  SS$_DEVOFFLINE ...&lt;BR /&gt;&lt;BR /&gt;The contents of the DEVDEPEND* are defined under each of the drivers in the IO User's Reference Manual.  I suspect you will want to consult that manual.&lt;BR /&gt;&lt;BR /&gt;Robert</description>
      <pubDate>Mon, 23 Apr 2007 13:23:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getting-quot-device-offline-quot-status-from-dcl/m-p/3986994#M83267</guid>
      <dc:creator>Robert_Boyd</dc:creator>
      <dc:date>2007-04-23T13:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "Device Offline" status from DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getting-quot-device-offline-quot-status-from-dcl/m-p/3986995#M83268</link>
      <description>Good one Jim -- can also find this with  &lt;BR /&gt;&lt;BR /&gt;$ search sys$share:*.req ucb$m_online</description>
      <pubDate>Mon, 23 Apr 2007 13:47:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getting-quot-device-offline-quot-status-from-dcl/m-p/3986995#M83268</guid>
      <dc:creator>Robert_Boyd</dc:creator>
      <dc:date>2007-04-23T13:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Getting "Device Offline" status from DCL</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/getting-quot-device-offline-quot-status-from-dcl/m-p/3986996#M83269</link>
      <description>Wouldn't issuing a IO$_PACKACK to the device (after checking availability) be a better check? It also checks media loaded.&lt;BR /&gt;&lt;BR /&gt;A simple packack program e.g. in&lt;BR /&gt;  &amp;lt; &lt;A href="http://wwwvms.mppmu.mpg.de/~huber/util/main/packack.for" target="_blank"&gt;http://wwwvms.mppmu.mpg.de/~huber/util/main/packack.for&lt;/A&gt; &amp;gt;</description>
      <pubDate>Tue, 24 Apr 2007 02:28:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/getting-quot-device-offline-quot-status-from-dcl/m-p/3986996#M83269</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2007-04-24T02:28:45Z</dc:date>
    </item>
  </channel>
</rss>

