<?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: How to handle on SMG$_BATSTIPRO in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-to-handle-on-smg-batstipro/m-p/5022962#M35350</link>
    <description>Hi Wim,&lt;BR /&gt;&lt;BR /&gt;No that is not the case. I checked the begin_pasteboard_update and that returned SS$_NORMAL. In case an update is already in progress, it returns SMG$_BATWASON.&lt;BR /&gt;&lt;BR /&gt;So that is not the problem. By the way begin/end_update_pasteboard maintains an internal counter to avoid this problem.&lt;BR /&gt;&lt;BR /&gt;   Hans</description>
    <pubDate>Tue, 16 Jan 2007 09:16:32 GMT</pubDate>
    <dc:creator>Hans Adriaanse</dc:creator>
    <dc:date>2007-01-16T09:16:32Z</dc:date>
    <item>
      <title>How to handle on SMG$_BATSTIPRO</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-handle-on-smg-batstipro/m-p/5022960#M35348</link>
      <description>Hello,&lt;BR /&gt;I am writing an application with use of SMG routines. For a reasonable update of the sreen I use SMG$BEGIN_PASTEBOARD_UPDATE and when the update is ready I use SMG$END_PASTEBOARD_UPDATE. But now I receive as a return code for the last function SMG$_BATSTIPRO. According to the manual this means the function acted correctly, but batching is still in progress.&lt;BR /&gt;&lt;BR /&gt;I cannot find how to react on this. My application fails because a read function cannot be done while batching is active.&lt;BR /&gt;&lt;BR /&gt;Who has experience with this fenomena ??&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;     Hans</description>
      <pubDate>Tue, 16 Jan 2007 08:09:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-handle-on-smg-batstipro/m-p/5022960#M35348</guid>
      <dc:creator>Hans Adriaanse</dc:creator>
      <dc:date>2007-01-16T08:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle on SMG$_BATSTIPRO</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-handle-on-smg-batstipro/m-p/5022961#M35349</link>
      <description>I would say that you nested BEGINS and when the END is not the last END expected, you get this warning.&lt;BR /&gt;&lt;BR /&gt;Idem for BATWASOFF that indicates an END without BEGIN.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 16 Jan 2007 08:27:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-handle-on-smg-batstipro/m-p/5022961#M35349</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2007-01-16T08:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle on SMG$_BATSTIPRO</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-handle-on-smg-batstipro/m-p/5022962#M35350</link>
      <description>Hi Wim,&lt;BR /&gt;&lt;BR /&gt;No that is not the case. I checked the begin_pasteboard_update and that returned SS$_NORMAL. In case an update is already in progress, it returns SMG$_BATWASON.&lt;BR /&gt;&lt;BR /&gt;So that is not the problem. By the way begin/end_update_pasteboard maintains an internal counter to avoid this problem.&lt;BR /&gt;&lt;BR /&gt;   Hans</description>
      <pubDate>Tue, 16 Jan 2007 09:16:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-handle-on-smg-batstipro/m-p/5022962#M35350</guid>
      <dc:creator>Hans Adriaanse</dc:creator>
      <dc:date>2007-01-16T09:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle on SMG$_BATSTIPRO</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-handle-on-smg-batstipro/m-p/5022963#M35351</link>
      <description>looking around using various internet searches a common approach appears to be to loop waiting until this condition is no longer reported.&lt;BR /&gt;&lt;BR /&gt;while (smg$end_pasteboard_update(&amp;amp;pid) == SMG$_BATSTIPRO)&lt;BR /&gt;  ;&lt;BR /&gt;&lt;BR /&gt;An alternative approach can be seen in newsmenu.c in&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.google.com/codesearch/url?hl=en&amp;amp;q=show:06WJit5Q7Kw:HfIaQJpadWQ&amp;amp;sa=N&amp;amp;ct=rpc&amp;amp;cs_p=http://vmsone.com/~decuslib/languageandtools/lt93a/anunews/news_v61-beta8.zip" target="_blank"&gt;http://www.google.com/codesearch/url?hl=en&amp;amp;q=show:06WJit5Q7Kw:HfIaQJpadWQ&amp;amp;sa=N&amp;amp;ct=rpc&amp;amp;cs_p=http://vmsone.com/~decuslib/languageandtools/lt93a/anunews/news_v61-beta8.zip&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jan 2007 09:25:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-handle-on-smg-batstipro/m-p/5022963#M35351</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2007-01-16T09:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle on SMG$_BATSTIPRO</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-handle-on-smg-batstipro/m-p/5022964#M35352</link>
      <description>BATSTIPRO, batching is still in progress&lt;BR /&gt;Facility: SMG, Screen Management Facility&lt;BR /&gt;Explanation: A user tried to end batching (updating) with a call to&lt;BR /&gt;SMG$END_DISPLAY_UPDATE or SMG$END_PASTEBOARD_UPDATE.&lt;BR /&gt;&lt;BR /&gt;This action did not terminate batching because there were more calls to begin&lt;BR /&gt;batching than to end batching.&lt;BR /&gt;&lt;BR /&gt;User Action: None. An outer level routine may still need batching to be in&lt;BR /&gt;effect.&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Jan 2007 10:29:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-handle-on-smg-batstipro/m-p/5022964#M35352</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2007-01-16T10:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to handle on SMG$_BATSTIPRO</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-handle-on-smg-batstipro/m-p/5022965#M35353</link>
      <description>It is a matter of counting inner and outer calls to the function. Your remarks made me do this and finding the solution.&lt;BR /&gt;&lt;BR /&gt;Thanx</description>
      <pubDate>Mon, 29 Jan 2007 08:48:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-handle-on-smg-batstipro/m-p/5022965#M35353</guid>
      <dc:creator>Hans Adriaanse</dc:creator>
      <dc:date>2007-01-29T08:48:00Z</dc:date>
    </item>
  </channel>
</rss>

