<?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: Problems with i/o to console using $BRKTHRU in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/problems-with-i-o-to-console-using-brkthru/m-p/3874062#M10726</link>
    <description>A couple of quick suggestions . . .&lt;BR /&gt;&lt;BR /&gt;1) specify efn$c_enf as the event flag if you don't care about using an event flag.&lt;BR /&gt;&lt;BR /&gt;2) use an IOSB and check its status (iosb$w_status), along with the status of the call itself.&lt;BR /&gt;&lt;BR /&gt;3) review why you are using the asynch form of the service; I suspect that using the wait form (sys$brkthruw) is a better choice.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-- Rob</description>
    <pubDate>Tue, 10 Oct 2006 12:48:01 GMT</pubDate>
    <dc:creator>Robert Brooks_1</dc:creator>
    <dc:date>2006-10-10T12:48:01Z</dc:date>
    <item>
      <title>Problems with i/o to console using $BRKTHRU</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problems-with-i-o-to-console-using-brkthru/m-p/3874059#M10723</link>
      <description>We have a FORTRAN application that has used $BRKTHRU to write text based notices to a VT type application console for a number of years. Recently upgraded to OpenVMS 8.2 (on an Alpha DS25). We then noticed that if there are a series of event notices written to the console, we have to hit the carriage return to get the notices displayed. Almost as though i/o is locked up. Is this a known issue, or anyone else experienced this?</description>
      <pubDate>Tue, 03 Oct 2006 19:15:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problems-with-i-o-to-console-using-brkthru/m-p/3874059#M10723</guid>
      <dc:creator>Scot Newton</dc:creator>
      <dc:date>2006-10-03T19:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with i/o to console using $BRKTHRU</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problems-with-i-o-to-console-using-brkthru/m-p/3874060#M10724</link>
      <description>Scot,&lt;BR /&gt;&lt;BR /&gt;  Lots of questions...&lt;BR /&gt;&lt;BR /&gt;  Do you mean the terminal is the system console, or some other type terminal? What is it physically connected to (serial port, terminal server, ...?) What other activity is occuring on the target terminal?&lt;BR /&gt;&lt;BR /&gt;  What are the terminal characteristics (SHOW TERM). Who owns it and what privileges are used to access it?&lt;BR /&gt;&lt;BR /&gt;  What does the $BRKTHRU call specify for flags? What is are status and IOSB? Are you using $BRKTHRUW or $BRKTHRU? If $BRKTHRU how are you synchronizing?</description>
      <pubDate>Wed, 04 Oct 2006 15:39:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problems-with-i-o-to-console-using-brkthru/m-p/3874060#M10724</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2006-10-04T15:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with i/o to console using $BRKTHRU</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problems-with-i-o-to-console-using-brkthru/m-p/3874061#M10725</link>
      <description>Hello John,&lt;BR /&gt;Thanks for offering to help, here is some more info. The term "console" I used was understandably misleading. This is not the OVMS system console. In fact, it is any session that we run our application from that we refer to as the "application console". So, it could be any session. We have run the application for years, and never experienced this until we upgraded to 8.2. Here is a code snip of the FORTRAN  call that we believe to be the culprit:&lt;BR /&gt;&lt;BR /&gt;! broadcast message without wait&lt;BR /&gt;&lt;BR /&gt; BRDCST = SYS$BRKTHRU (&lt;BR /&gt;        1 ,     ! efn&lt;BR /&gt;        1 HEADERS(1:STRENDL(HEADERS))//&lt;BR /&gt;        1 MSGS(1:STRENDL(MSGS)), ! msgbuf&lt;BR /&gt;        1 TERMS,                 ! sendto&lt;BR /&gt;        1 %VAL (brk$c_device),   ! sndtyp&lt;BR /&gt;        1  ,                     ! iosb&lt;BR /&gt;        1  %VAL (BLANKB),        ! carcon&lt;BR /&gt;        1  ,                     ! flags,&lt;BR /&gt;        1  ,                     ! reqid&lt;BR /&gt;        1  ,                     ! timeout&lt;BR /&gt;        1  ,                     ! astadr&lt;BR /&gt;        1   )                    ! astprm&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Oct 2006 11:35:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problems-with-i-o-to-console-using-brkthru/m-p/3874061#M10725</guid>
      <dc:creator>Scot Newton</dc:creator>
      <dc:date>2006-10-10T11:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with i/o to console using $BRKTHRU</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/problems-with-i-o-to-console-using-brkthru/m-p/3874062#M10726</link>
      <description>A couple of quick suggestions . . .&lt;BR /&gt;&lt;BR /&gt;1) specify efn$c_enf as the event flag if you don't care about using an event flag.&lt;BR /&gt;&lt;BR /&gt;2) use an IOSB and check its status (iosb$w_status), along with the status of the call itself.&lt;BR /&gt;&lt;BR /&gt;3) review why you are using the asynch form of the service; I suspect that using the wait form (sys$brkthruw) is a better choice.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-- Rob</description>
      <pubDate>Tue, 10 Oct 2006 12:48:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/problems-with-i-o-to-console-using-brkthru/m-p/3874062#M10726</guid>
      <dc:creator>Robert Brooks_1</dc:creator>
      <dc:date>2006-10-10T12:48:01Z</dc:date>
    </item>
  </channel>
</rss>

