<?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 DECwindows WSAn device reuse in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/decwindows-wsan-device-reuse/m-p/4048703#M13065</link>
    <description>Is there any advantage to reusing a WSAn device vs. creating a new one?&lt;BR /&gt;&lt;BR /&gt;In other words, is there any advantage to&lt;BR /&gt;&lt;BR /&gt;$ DEFINE/JOB DECW$DISPLAY _WSA1:&lt;BR /&gt;&lt;BR /&gt;over&lt;BR /&gt;&lt;BR /&gt;$ SET DISPLAY/CREATE/TRANSPORT=LOCAL&lt;BR /&gt;&lt;BR /&gt;(Other than slightly fewer characters, of course)</description>
    <pubDate>Thu, 02 Aug 2007 13:25:11 GMT</pubDate>
    <dc:creator>Joe Sewell</dc:creator>
    <dc:date>2007-08-02T13:25:11Z</dc:date>
    <item>
      <title>DECwindows WSAn device reuse</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/decwindows-wsan-device-reuse/m-p/4048703#M13065</link>
      <description>Is there any advantage to reusing a WSAn device vs. creating a new one?&lt;BR /&gt;&lt;BR /&gt;In other words, is there any advantage to&lt;BR /&gt;&lt;BR /&gt;$ DEFINE/JOB DECW$DISPLAY _WSA1:&lt;BR /&gt;&lt;BR /&gt;over&lt;BR /&gt;&lt;BR /&gt;$ SET DISPLAY/CREATE/TRANSPORT=LOCAL&lt;BR /&gt;&lt;BR /&gt;(Other than slightly fewer characters, of course)</description>
      <pubDate>Thu, 02 Aug 2007 13:25:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/decwindows-wsan-device-reuse/m-p/4048703#M13065</guid>
      <dc:creator>Joe Sewell</dc:creator>
      <dc:date>2007-08-02T13:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: DECwindows WSAn device reuse</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/decwindows-wsan-device-reuse/m-p/4048704#M13066</link>
      <description>Joe,&lt;BR /&gt;&lt;BR /&gt;  The biggest issue in "reusing" that I can think of is finding a spare WSA device that you can use (ownership, object security, currently in use etc...). More bother than it's worth!&lt;BR /&gt;&lt;BR /&gt;  (also note that DECW$DISPLAY is usually a process logical name - I'd be careful changing a job logical name, as it can potentially affect other processes)&lt;BR /&gt;&lt;BR /&gt;  Where reuse may be more of an issue is in changing display attributes. /CREATE is only required if a display doesn't already exist. If it exists, just change it, rather than creating a new one. So, something like this:&lt;BR /&gt; &lt;BR /&gt;$ IF F$TRNLNM("DECW$DISPLAY").EQS."" THEN SET DISPLAY/CREATE&lt;BR /&gt;$ SET DISPLAY/TRANSPORT=LOCAL&lt;BR /&gt;&lt;BR /&gt;Each time you SET DISPLAY/CREATE a new WSA device is created - the old one is effectively lost (not deleted, and no restoration of the logical name if the new device is deleted). Fortunately they will be deleted when the process terminates.&lt;BR /&gt;&lt;BR /&gt;The few bytes of NPAGEDYN don't really matter for a small number of extra WSA devices, but a long lived process in a loop might eventually cause trouble.  &lt;BR /&gt;&lt;BR /&gt;Obviously creating a new device is more expensive than changing an existing one, but for the likely frequency of changes, the difference is well below the noise floor.</description>
      <pubDate>Thu, 02 Aug 2007 18:00:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/decwindows-wsan-device-reuse/m-p/4048704#M13066</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2007-08-02T18:00:50Z</dc:date>
    </item>
  </channel>
</rss>

