<?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>New knowledge base articles in Visual COBOL</title>
    <link>https://community.microfocus.com/t5/Visual-COBOL/ct-p/VisualCOBOL</link>
    <description>New knowledge base articles in Visual COBOL</description>
    <pubDate>Fri, 18 Oct 2019 22:50:21 GMT</pubDate>
    <dc:creator>VisualCOBOL</dc:creator>
    <dc:date>2019-10-18T22:50:21Z</dc:date>
    <item>
      <title>COBOL – Here’s to the Next 60 Years</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/COBOL-Here-s-to-the-Next-60-Years/ta-p/2692757</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;DIV class="gridImage"&gt;&lt;IMG class="ready" src="https://d1tfz9268y8c5s.cloudfront.net/curated_articles/007/939/127/large/cobolis60.png?1566288032" border="0" alt="COBOL – Here’s to the Next 60 Years" /&gt;
&lt;DIV class="gridImageOverlay"&gt;
&lt;DIV class="readMore"&gt;&lt;IMG class="siteIcon" src="https://www.google.com/s2/favicons?domain=https://event.webcasts.com/starthere.jsp?ei=1251051&amp;amp;tp_key=058787884c&amp;amp;sti=microfocus" border="0" width="16" height="16" /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;read more at webcasts&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;DIV class="gridBody"&gt;&lt;A class="title" href="https://event.webcasts.com/starthere.jsp?ei=1251051&amp;amp;tp_key=058787884c&amp;amp;sti=microfocus" target="_blank" rel="noopener"&gt;&lt;I class="fa fa-newspaper-o" aria-hidden="true"&gt;&lt;/I&gt;&lt;SPAN&gt;COBOL – Here’s to the Next 60 Years&lt;/SPAN&gt;&lt;/A&gt;
&lt;DIV class="modifiers "&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="summary"&gt;The application development language, COBOL, turns 60 this year. September 1959 saw the first mention of the technical acronym “COBOL”, which was then adopted as the name for the language being specified and developed....&lt;/DIV&gt;
&lt;DIV class="sharedByText"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Aug 2019 10:44:11 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/COBOL-Here-s-to-the-Next-60-Years/ta-p/2692757</guid>
      <dc:creator>COEST</dc:creator>
      <dc:date>2019-08-20T10:44:11Z</dc:date>
    </item>
    <item>
      <title>Using a BackgroundWorker Thread to Run a Task in a Windows Form</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Using-a-BackgroundWorker-Thread-to-Run-a-Task-in-a-Windows-Form/ta-p/2692140</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;F&lt;FONT style="background-color: #ffffff;"&gt;rom within a Windows Forms&amp;nbsp; application, when a button is clicked the program would disable the button and then perform the task associated with the button from within the button&amp;nbsp; Click event handler. If this is a long-running task then the UI thread can become unresponsive and start queuing events, even for those such as a mouse click on the disabled button. When the button is enabled again the queued events would be run and the event handler code would be invoked again in error.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT style="background-color: #ffffff;"&gt;Solution:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT style="background-color: #ffffff;"&gt;This demo shows one possible method of avoiding this scenario by executing a long-running task by creating a BackgroundWorker thread and running the task separately from the main UI thread. In this manner the UI thread is free to keep processing events and the BackgroundWorker thread can report its progress and also be canceled if need be.&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;&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;The zipped up Visual Studio 2019 solution for BackgroundWorkerDemo is attached to this article.&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;      $set ilusing"System.Threading"
      $set ilusing"System.ComponentModel"
      *---------------------------------------------------------------------------*
      *                      BackgroundWorkerDemo                                 *
      *                                                                           *
      *  The original problem that a customer had was from within a Windows Forms *
      *  application, when a button was clicked they would disable the button and *
      *  then perform the task associated with the button from within the button  *
      *  Click event handler. If this was a long-running task then the UI would   *
      *  become unresponsive and starting queuing events, even for those such as  *
      *  a mouse click on the disabled button. When the button was enabled again  *
      *  the queued events would be run and the event handler would be run again. *
      *
      *  This demo shows one possible method of avoiding this scenario by execut- *
      *  ing a long-running task by creating a BackgroundWorker thread and running*
      *  the task separately from the main UI thread. In this manner the UI thread*
      *  is free to keep processing events and the BackgroundWorker thread can re-*
      *  port its progress and also be canceled if need be.                       *
      *---------------------------------------------------------------------------*
       class-id BackgroundWorkerDemo.Form1 is partial
                 inherits type System.Windows.Forms.Form.
       working-storage section.
                    
       method-id NEW.
       procedure division.
           invoke self::InitializeComponent
           *&amp;gt; tell the backgroundWorker task to report its progress by calling the
           *&amp;gt; associated event handler which can update the UI
           set backgroundWorker1::WorkerReportsProgress = true
           *&amp;gt; allow the backgroundWorker task to be canceled
           set backgroundWorker1::WorkerSupportsCancellation = true
           *&amp;gt; set initial state of the Start and Canel buttons
           set btnStart::Enabled to true
           set btnCancel::Enabled to false
           goback.
       end method.

       method-id BackgroundWorker1_DoWork final private.
       procedure division using by value sender as object e as type System.ComponentModel.DoWorkEventArgs.
            declare worker as type BackgroundWorker = sender as type BackgroundWorker
            perform varying i as binary-long from 1 by 1 until i &amp;gt; 10
               if worker::CancellationPending = true
                  set e::Cancel = true 
                  goback
               else
                  *&amp;gt; Perform a time consuming operation and report progress.
                  invoke type Thread::Sleep(1000)
                  invoke worker::ReportProgress(i * 10)
               end-if
           end-perform

       end method.

       method-id BackgroundWorker1_RunWorkerCompleted final private.
       procedure division using by value sender as object e as type System.ComponentModel.RunWorkerCompletedEventArgs.
           if e::Cancelled = true
               set lblPercent::Text = "Task Canceled!"
           else
              if e::Error not = null
                 set lblPercent::Text = "Error: " &amp;amp; e::Error::Message
              else
                 set lblPercent::Text = "Done!"
              end-if
           end-if
            
           set btnStart::Enabled to true
           set btnCancel::Enabled to false
           
       end method.

       method-id BackgroundWorker1_ProgressChanged final private.
       procedure division using by value sender as object e as type System.ComponentModel.ProgressChangedEventArgs.
           set lblPercent::Text = e::ProgressPercentage::ToString &amp;amp; "%"
       end method.

       method-id btnStart_Click final private.
       procedure division using by value sender as object e as type System.EventArgs.

           set btnStart::Enabled to false
           set btnCancel::Enabled to true
           if backgroundWorker1::IsBusy not = true
               *&amp;gt;  Start the asynchronous operation.
               *&amp;gt;  This will invoke the method BackgroundWorker1_DoWork
               invoke backgroundWorker1::RunWorkerAsync
           end-if

       end method.

       method-id btnCancel_Click final private.
       procedure division using by value sender as object e as type System.EventArgs.

           if backgroundWorker1::WorkerSupportsCancellation = true
               *&amp;gt; Cancel the asynchronous operation.
               invoke backgroundWorker1::CancelAsync
               set btnCancel::Enabled to false
           end-if

       end method.

       end class.
&lt;/LI-CODE&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Aug 2019 17:43:51 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Using-a-BackgroundWorker-Thread-to-Run-a-Task-in-a-Windows-Form/ta-p/2692140</guid>
      <dc:creator>Chris Glazier</dc:creator>
      <dc:date>2019-08-15T17:43:51Z</dc:date>
    </item>
    <item>
      <title>Join our COBOL FB group</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/Join-our-COBOL-FB-group/ta-p/2691233</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;DIV class="gridImage"&gt;
&lt;DIV class="SandboxRoot env-bp-min" data-twitter-event-id="0"&gt;
&lt;DIV id="twitter-widget-0" class="EmbeddedTweet EmbeddedTweet--cta js-clickToOpenTarget" lang="en-gb" data-click-to-open-target="https://twitter.com/MicroFocus/status/1159935185330286594" data-iframe-title="Twitter Tweet" data-scribe="page:tweet" data-twitter-event-id="1"&gt;
&lt;DIV class="EmbeddedTweet-tweetContainer"&gt;
&lt;DIV class="EmbeddedTweet-tweet"&gt;
&lt;BLOCKQUOTE class="Tweet h-entry js-tweetIdInfo subject expanded" cite="https://twitter.com/MicroFocus/status/1159935185330286594" data-tweet-id="1159935185330286594" data-scribe="section:subject"&gt;
&lt;DIV class="Tweet-header"&gt;&lt;A class="TweetAuthor-avatar  Identity-avatar u-linkBlend" href="https://twitter.com/MicroFocus" data-scribe="element:user_link" aria-label="Micro Focus (screen name: MicroFocus)" target="_blank"&gt;&lt;IMG class="Avatar" src="https://pbs.twimg.com/profile_images/903661138675511296/kRc2zvcz_bigger.jpg" border="0" alt="" data-scribe="element:avatar" data-src-2x="https://pbs.twimg.com/profile_images/903661138675511296/kRc2zvcz_bigger.jpg" data-src-1x="https://pbs.twimg.com/profile_images/903661138675511296/kRc2zvcz_normal.jpg" /&gt;&lt;/A&gt;
&lt;DIV class="TweetAuthor js-inViewportScribingTarget" data-scribe="component:author"&gt;
&lt;DIV class="TweetAuthor-nameScreenNameContainer"&gt;&lt;SPAN class="TweetAuthor-decoratedName"&gt;&lt;SPAN class="TweetAuthor-name Identity-name customisable-highlight" title="Micro Focus" data-scribe="element:name"&gt;Micro Focus&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="TweetAuthor-screenName Identity-screenName" title="@MicroFocus" data-scribe="element:screen_name"&gt;@MicroFocus&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="Tweet-brand"&gt;
&lt;DIV class="Icon Icon--twitter " title="View on Twitter" role="presentation" aria-label="View on Twitter"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="Tweet-body e-entry-content" data-scribe="component:tweet"&gt;
&lt;DIV class="Tweet-target js-inViewportScribingTarget"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P class="Tweet-text e-entry-title" dir="ltr" lang="en"&gt;What's the first rule of &lt;A class="PrettyLink hashtag customisable" dir="ltr" href="https://twitter.com/hashtag/COBOL?src=hash" rel="tag" data-query-source="hashtag_click" data-scribe="element:hashtag" target="_blank"&gt;&lt;SPAN class="PrettyLink-prefix"&gt;#&lt;/SPAN&gt;&lt;SPAN class="PrettyLink-value"&gt;COBOL&lt;/SPAN&gt;&lt;/A&gt; Club? &lt;BR /&gt;What COBOL Club?&lt;BR /&gt;Exactly.&lt;A class="link customisable" dir="ltr" title="https://bddy.me/33p8TZW" href="https://t.co/o8ZL0KQswO" target="_blank" rel="nofollow noopener" data-expanded-url="https://bddy.me/33p8TZW" data-scribe="element:url"&gt;&lt;SPAN class="u-hiddenVisually"&gt;https://&lt;/SPAN&gt;bddy.me/33p8TZW&lt;SPAN class="u-hiddenVisually"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt; &lt;A class="PrettyLink hashtag customisable" dir="ltr" href="https://twitter.com/hashtag/FightClub?src=hash" rel="tag" data-query-source="hashtag_click" data-scribe="element:hashtag" target="_blank"&gt;&lt;SPAN class="PrettyLink-prefix"&gt;#&lt;/SPAN&gt;&lt;SPAN class="PrettyLink-value"&gt;FightClub&lt;/SPAN&gt;&lt;/A&gt; &lt;A class="PrettyLink hashtag customisable" dir="ltr" href="https://twitter.com/hashtag/COBOLrocks?src=hash" rel="tag" data-query-source="hashtag_click" data-scribe="element:hashtag" target="_blank"&gt;&lt;SPAN class="PrettyLink-prefix"&gt;#&lt;/SPAN&gt;&lt;SPAN class="PrettyLink-value"&gt;COBOLrocks&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;DIV class="TweetInfo"&gt;
&lt;DIV class="tweet-InformationCircle" data-scribe="element:notice"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;DIV class="gridBody"&gt;&lt;A class="title" href="https://app.everyonesocial.com/enterprise_clients/hpe-caroline-oest/article/7854998" target="_blank" rel="noopener"&gt;&lt;I class="fa fa-newspaper-o" aria-hidden="true"&gt;&lt;/I&gt;&lt;SPAN&gt;RT to your followers to invite them to join our COBOL FB group&lt;/SPAN&gt;&lt;/A&gt;
&lt;DIV class="commentSection"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 11 Aug 2019 16:07:46 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/Join-our-COBOL-FB-group/ta-p/2691233</guid>
      <dc:creator>COEST</dc:creator>
      <dc:date>2019-08-11T16:07:46Z</dc:date>
    </item>
    <item>
      <title>Visual Cobol Information (in German, Italian, Russian and Spanish)</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/Visual-Cobol-Information-in-German-Italian-Russian-and-Spanish/ta-p/2687462</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;DIV class="gridImage"&gt;&lt;IMG class="ready" src="https://d1tfz9268y8c5s.cloudfront.net/curated_articles/007/669/289/large/curated_article_image20190718-12273-1uu5gvc.png?1563444441" border="0" alt="Visual COBOL | Micro Focus" /&gt;
&lt;DIV class="gridImageOverlay"&gt;
&lt;DIV class="readMore"&gt;&lt;IMG class="siteIcon" src="https://www.google.com/s2/favicons?domain=https://www.microfocus.com/de-de/products/visual-cobol/overview" border="0" width="16" height="16" /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;read more at microfocus&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;DIV class="gridBody"&gt;&lt;A class="title" href="https://www.microfocus.com/de-de/products/visual-cobol/overview" target="_blank" rel="noopener"&gt;&lt;I class="fa fa-newspaper-o" aria-hidden="true"&gt;&lt;/I&gt;&lt;SPAN&gt;Visual COBOL | Micro Focus&lt;/SPAN&gt;&lt;/A&gt;
&lt;DIV class="modifiers "&gt;
&lt;DIV class="gridExpiration"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="summary"&gt;Visual COBOL bietet Ihnen unabhängig davon, ob Sie sich für Visual Studio oder Eclipse entscheiden, COBOL-Entwicklungs- und Integrationstools, die Ihr Entwicklungsteam beim Bereitstellen neuer Funktionen unterstützen....&lt;/DIV&gt;
&lt;DIV class="summary"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="summary"&gt;&lt;A class="title" href="https://www.microfocus.com/it-it/products/visual-cobol/overview" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Visual COBOL | Micro Focus&lt;/SPAN&gt;&lt;/A&gt;
&lt;DIV class="modifiers "&gt;
&lt;DIV class="gridExpiration"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="summary"&gt;Visual COBOL fornisce strumenti di sviluppo e integrazione COBOL con Visual Studio o Eclipse, che aiutano i team di sviluppo delle applicazioni a distribuire nuove funzionalità....&lt;/DIV&gt;
&lt;DIV class="summary"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="summary"&gt;&lt;A class="title" href="https://www.microfocus.com/es-es/products/visual-cobol/overview" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Visual COBOL | Micro Focus&lt;/SPAN&gt;&lt;/A&gt;
&lt;DIV class="modifiers "&gt;
&lt;DIV class="gridExpiration"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="summary"&gt;Visual COBOL proporciona herramientas de desarrollo e integración COBOL en la plataforma Visual Studio o Eclipse de su elección que ayudan a los equipos de AppDev a entregar nuevas funciones....&lt;/DIV&gt;
&lt;DIV class="sharedByText"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="sharedByText"&gt;&lt;A class="title" href="https://www.microfocus.com/ru-ru/products/visual-cobol/overview" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;Visual COBOL | Micro Focus&lt;/SPAN&gt;&lt;/A&gt;
&lt;DIV class="modifiers "&gt;
&lt;DIV class="gridExpiration"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="summary"&gt;Visual COBOL® предоставляет инструменты разработки и интеграции COBOL (Visual Studio или Eclipse — на ваш выбор), которые помогают командам разработчиков приложений предлагать новые функциональные возможности....&lt;/DIV&gt;
&lt;DIV class="sharedByText"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="sharedByText"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="sharedByText"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Jul 2019 14:54:44 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/Visual-Cobol-Information-in-German-Italian-Russian-and-Spanish/ta-p/2687462</guid>
      <dc:creator>COEST</dc:creator>
      <dc:date>2019-07-18T14:54:44Z</dc:date>
    </item>
    <item>
      <title>Live Webinar: Visual COBOL 5.0 - DevOps &amp; API-Entwicklung in der Cloud, 17. Juli (in German)</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/Live-Webinar-Visual-COBOL-5-0-DevOps-amp-API-Entwicklung-in-der/ta-p/2686225</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;DIV class="gridImage"&gt;&lt;IMG class="ready" src="https://d1tfz9268y8c5s.cloudfront.net/curated_articles/007/611/625/large/visual-cobol_screenshots-for-header_1000x500.png?1562840156" border="0" alt="Live Webinar: Visual COBOL 5.0 - DevOps &amp;amp; API-Entwicklung in der Cloud" /&gt;
&lt;DIV class="gridImageOverlay"&gt;
&lt;DIV class="readMore"&gt;&lt;IMG class="siteIcon" src="https://www.google.com/s2/favicons?domain=https://www.brighttalk.com/webcast/14087/355825/live-webinar-visual-cobol-5-0-devops-api-entwicklung-in-der-cloud" border="0" width="16" height="16" /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;read more at brighttalk&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;DIV class="gridBody"&gt;&lt;A class="title" href="https://www.brighttalk.com/webcast/14087/355825/live-webinar-visual-cobol-5-0-devops-api-entwicklung-in-der-cloud" target="_blank" rel="noopener"&gt;&lt;I class="fa fa-newspaper-o" aria-hidden="true"&gt;&lt;/I&gt;&lt;SPAN&gt;Live Webinar: Visual COBOL 5.0 - DevOps &amp;amp; API-Entwicklung in der Cloud&lt;/SPAN&gt;&lt;/A&gt;
&lt;DIV class="modifiers both"&gt;
&lt;DIV class="gridExpiration"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="summary"&gt;Die neue Visual COBOL Version 5.0 ist da. In diesem Webinar stellen wir Ihnen die wichtigsten neuen Funktionen vor und zeigen Ihnen, wie Sie DevOps und API-Entwicklung in der Cloud optimal nutzen können. Die Highlights: • Integration des Anwendungsanal......&lt;/DIV&gt;
&lt;DIV class="sharedByText"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 Jul 2019 15:16:29 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/Live-Webinar-Visual-COBOL-5-0-DevOps-amp-API-Entwicklung-in-der/ta-p/2686225</guid>
      <dc:creator>COEST</dc:creator>
      <dc:date>2019-07-11T15:16:29Z</dc:date>
    </item>
    <item>
      <title>Tech Tips: Projecting COBOL into the future (pun intended)</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/Tech-Tips-Projecting-COBOL-into-the-future-pun-intended/ta-p/2685807</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;DIV class="gridImage"&gt;&lt;IMG class="ready" src="https://d1tfz9268y8c5s.cloudfront.net/curated_articles/007/559/646/large/curated_article_image20190704-419-1px1nsd.gif?1562244417" border="0" alt="Tech Tips: Projecting COBOL into the future (pun intended)" /&gt;
&lt;DIV class="gridImageOverlay"&gt;
&lt;DIV class="readMore"&gt;&lt;IMG class="siteIcon" src="https://www.google.com/s2/favicons?domain=https://community.microfocus.com/t5/Application-Modernization/Tech-Tips-Projecting-COBOL-into-the-future-pun-intended/ba-p/2685187" border="0" width="16" height="16" /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;read more at microfocus&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;DIV class="gridBody"&gt;&lt;A class="title" href="https://community.microfocus.com/t5/Application-Modernization/Tech-Tips-Projecting-COBOL-into-the-future-pun-intended/ba-p/2685187" target="_blank" rel="noopener"&gt;&lt;I class="fa fa-newspaper-o" aria-hidden="true"&gt;&lt;/I&gt;&lt;SPAN&gt;Tech Tips: Projecting COBOL into the future (pun intended)&lt;/SPAN&gt;&lt;/A&gt;
&lt;DIV class="modifiers "&gt;
&lt;DIV class="gridImportant"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="summary"&gt;Introduction: Using Projects To make the most of Micro Focus Visual COBOL and Enterprise Developer, developers are recommended to move towards a project based build system. Over the years I have spoken to a number of people who have kept their existing......&lt;/DIV&gt;
&lt;DIV class="sharedByText"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Jul 2019 16:22:57 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/Tech-Tips-Projecting-COBOL-into-the-future-pun-intended/ta-p/2685807</guid>
      <dc:creator>COEST</dc:creator>
      <dc:date>2019-07-09T16:22:57Z</dc:date>
    </item>
    <item>
      <title>Tech Tips: Debugging COBOL code in Visual Studio - Breakpoints and Watchpoints</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/Tech-Tips-Debugging-COBOL-code-in-Visual-Studio-Breakpoints-and/ta-p/2685174</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;DIV class="gridImage"&gt;&lt;IMG class="ready" src="https://d1tfz9268y8c5s.cloudfront.net/curated_articles/007/557/764/large/curated_article_image20190704-29135-13rz3yh.png?1562220951" border="0" alt="Tech Tips: Debugging COBOL code in Visual Studio - Breakpoints and Watchpoints" /&gt;
&lt;DIV class="gridImageOverlay"&gt;
&lt;DIV class="readMore"&gt;&lt;IMG class="siteIcon" src="https://www.google.com/s2/favicons?domain=https://community.microfocus.com/t5/Application-Modernization/Tech-Tips-Debugging-COBOL-code-in-Visual-Studio-Breakpoints-and/ba-p/2685054/jump-to/first-unread-message" border="0" width="16" height="16" /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;read more at microfocus&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;DIV class="gridBody"&gt;&lt;A class="title" href="https://community.microfocus.com/t5/Application-Modernization/Tech-Tips-Debugging-COBOL-code-in-Visual-Studio-Breakpoints-and/ba-p/2685054/jump-to/first-unread-message" target="_blank" rel="noopener"&gt;&lt;I class="fa fa-newspaper-o" aria-hidden="true"&gt;&lt;/I&gt;&lt;SPAN&gt;Tech Tips: Debugging COBOL code in Visual Studio - Breakpoints and Watchpoints&lt;/SPAN&gt;&lt;/A&gt;
&lt;DIV class="modifiers "&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="summary"&gt;Introduction An important part of the software development and maintenance process involves debugging code to fix problems or develop new functionality. Setting breakpoints and querying and modifying data items are key features of the debugging environ......&lt;/DIV&gt;
&lt;DIV class="sharedByText"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Jul 2019 11:09:02 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/Tech-Tips-Debugging-COBOL-code-in-Visual-Studio-Breakpoints-and/ta-p/2685174</guid>
      <dc:creator>COEST</dc:creator>
      <dc:date>2019-07-04T11:09:02Z</dc:date>
    </item>
    <item>
      <title>Tech Tips: Debugging COBOL code in Visual Studio – Data Items</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/Tech-Tips-Debugging-COBOL-code-in-Visual-Studio-Data-Items/ta-p/2685173</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;DIV class="gridImage"&gt;
&lt;DIV class="gridImage"&gt;&lt;IMG class="ready" src="https://d1tfz9268y8c5s.cloudfront.net/curated_articles/007/552/030/large/curated_article_image20190703-5069-ksbpjl.png?1562171947" border="0" alt="Tech Tips: Debugging COBOL code in Visual Studio – Data Items" /&gt;
&lt;DIV class="gridImageOverlay"&gt;
&lt;DIV class="readMore"&gt;&lt;IMG class="siteIcon" src="https://www.google.com/s2/favicons?domain=https://community.microfocus.com/t5/Application-Modernization/Tech-Tips-Debugging-COBOL-code-in-Visual-Studio-Data-Items/ba-p/2685016/jump-to/first-unread-message" border="0" width="16" height="16" /&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;read more at microfocus&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;DIV class="gridBody"&gt;&lt;A class="title" href="https://community.microfocus.com/t5/Application-Modernization/Tech-Tips-Debugging-COBOL-code-in-Visual-Studio-Data-Items/ba-p/2685016/jump-to/first-unread-message" target="_blank" rel="noopener"&gt;&lt;I class="fa fa-newspaper-o" aria-hidden="true"&gt;&lt;/I&gt;&lt;SPAN&gt;Tech Tips: Debugging COBOL code in Visual Studio – Data Items&lt;/SPAN&gt;&lt;/A&gt;
&lt;DIV class="modifiers "&gt;
&lt;DIV class="gridImportant"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="summary"&gt;Introduction An important part of the software development and maintenance process involves debugging code to fix problems or develop new functionality. Setting breakpoints and querying and modifying data items are key features of the debugging environ......&lt;/DIV&gt;
&lt;DIV class="sharedByText"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="gridBody"&gt;
&lt;DIV class="sharedByText"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 04 Jul 2019 13:03:54 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/Tech-Tips-Debugging-COBOL-code-in-Visual-Studio-Data-Items/ta-p/2685173</guid>
      <dc:creator>COEST</dc:creator>
      <dc:date>2019-07-04T13:03:54Z</dc:date>
    </item>
    <item>
      <title>Advanced - Visual COBOL Customer Video</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/Advanced-Visual-COBOL-Customer-Video/ta-p/2684801</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;DIV class="gridImage"&gt;&lt;IFRAME src="https://www.youtube.com/embed/G-aUeeD9pGc" style="width: 100%; height: 353.333px;" data-mce-fragment="1"&gt;&lt;/IFRAME&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;DIV class="gridBody"&gt;&lt;A class="title" href="https://youtu.be/G-aUeeD9pGc" target="_blank" rel="noopener"&gt;&lt;I class="fa fa-newspaper-o" aria-hidden="true"&gt;&lt;/I&gt; &lt;SPAN&gt;Advanced - Visual COBOL customer video - YouTube&lt;/SPAN&gt;&lt;/A&gt;
&lt;DIV class="modifiers "&gt;
&lt;DIV class="gridImportant"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="summary"&gt;COBOL deployment using Docker enables optimized server infrastructure, rapid time-to-market, and DevOps practices for Advanced.&lt;/DIV&gt;
&lt;DIV class="summary"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="summary"&gt;Case study for Advanced: &lt;A class="yt-simple-endpoint style-scope yt-formatted-string" spellcheck="false" href="https://www.microfocus.com/en-us/case-study/advanced" target="_blank" rel="nofollow noopener"&gt;https://www.microfocus.com/en-us/case-study/advanced&lt;/A&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 02 Jul 2019 14:38:21 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/Advanced-Visual-COBOL-Customer-Video/ta-p/2684801</guid>
      <dc:creator>surie</dc:creator>
      <dc:date>2019-07-02T14:38:21Z</dc:date>
    </item>
    <item>
      <title>Visual COBOL supports digital banking strategy and delivers 65% faster time-to-market</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/Visual-COBOL-supports-digital-banking-strategy-and-delivers-65/ta-p/1796134</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;DIV class="gridImage"&gt;&lt;A href="https://www.microfocus.com/media/case-study/die-software-cs.pdf" target="_blank" rel="noopener"&gt;&lt;IMG class="ready" src="https://d1tfz9268y8c5s.cloudfront.net/curated_articles/007/392/651/large/girl_with_coffee_at_laptop.JPG?1560357718" border="0" alt="Visual COBOL supports digital banking strategy and delivers 65% faster time-to-market" /&gt;&lt;/A&gt;
&lt;DIV class="gridImageOverlay"&gt;
&lt;DIV class="readMore"&gt;&lt;IMG class="siteIcon" src="https://www.google.com/s2/favicons?domain=https://www.microfocus.com/media/case-study/die-software-cs.pdf" border="0" width="16" height="16" /&gt; &lt;SPAN&gt;read more at Micro Focus&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;DIV class="gridBody"&gt;&lt;A class="title" href="https://www.microfocus.com/media/case-study/die-software-cs.pdf" target="_blank" rel="noopener"&gt;&lt;I class="fa fa-newspaper-o" aria-hidden="true"&gt;&lt;/I&gt; &lt;SPAN&gt;Visual COBOL supports digital banking strategy and delivers 65% faster time-to-market&lt;/SPAN&gt;&lt;/A&gt;
&lt;DIV class="modifiers "&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="summary"&gt;DIE SOFTWARE customer success! ...&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 Jun 2019 23:53:56 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/Visual-COBOL-supports-digital-banking-strategy-and-delivers-65/ta-p/1796134</guid>
      <dc:creator>surie</dc:creator>
      <dc:date>2019-06-17T23:53:56Z</dc:date>
    </item>
    <item>
      <title>How can I direct the output from a JVM compilation to a different directory?</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-can-I-direct-the-output-from-a-JVM-compilation-to-a/ta-p/1793337</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;I would like the .class file produced by the JVM compiler (cob -j) to be output to a different directory rather than be placed in the same directory as the source file.&lt;/P&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Solution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;You can use the command:&lt;/P&gt;
&lt;P&gt;cob -j -C iloutput\"/home/project/bin\"&amp;nbsp; program.cbl&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;: The directory /home/project /bin must already exist.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 31 May 2019 10:39:03 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-can-I-direct-the-output-from-a-JVM-compilation-to-a/ta-p/1793337</guid>
      <dc:creator>NickCook</dc:creator>
      <dc:date>2019-05-31T10:39:03Z</dc:date>
    </item>
    <item>
      <title>Function keys don't work when trying to animate a program using the PuTTY terminal emulator</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Function-keys-don-t-work-when-trying-to-animate-a-program-using/ta-p/1793363</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Problem.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;I use the PuTTY terminal emulator&amp;nbsp;&amp;nbsp;and when&amp;nbsp;I try to use the function keys whilst animating a program they do not work as they should.&lt;/P&gt;
&lt;P&gt;In particular the F2 key should toggle between the program code and the program output, but the key press has no effect at all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;Solution.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;In PuTTY configuration, select Terminal -&amp;gt;Keyboard and note that the default setting is ESC[~. This needs to be changed to VT100+. The anim function keys will then work as expected.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 31 May 2019 10:37:09 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Function-keys-don-t-work-when-trying-to-animate-a-program-using/ta-p/1793363</guid>
      <dc:creator>NickCook</dc:creator>
      <dc:date>2019-05-31T10:37:09Z</dc:date>
    </item>
    <item>
      <title>DevOps and API Development in the Cloud: Visual COBOL 5.0 Product Launch</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/DevOps-and-API-Development-in-the-Cloud-Visual-COBOL-5-0-Product/ta-p/1792455</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;DIV class="webcast-description-wrapper"&gt;
&lt;DIV&gt;&lt;A href="https://www.brighttalk.com/webcast/16907/358887" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 400px;"&gt;&lt;img src="https://dcvta86296.i.lithium.com/t5/image/serverpage/image-id/14747iF2AA471EFDE05AC6/image-size/medium?v=1.0&amp;amp;px=400" alt="curated_article_image20190515-31224-y6d2ey" title="curated_article_image20190515-31224-y6d2ey" /&gt;&lt;/span&gt;&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="simple-test-about-heading"&gt;&lt;STRONG&gt;About this webinar&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class="webcast-description"&gt;Join the Micro Focus COBOL product team for a closer look at the latest release of its distributed COBOL solution—Visual COBOL. Hear what’s new in version 5.0 and how to best leverage API development and DevOps in the Cloud. Have your questions ready for the product team as we explore the next generation of COBOL development in the Cloud.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class="webcast-description"&gt;&lt;SPAN&gt;Live online:&lt;/SPAN&gt; &lt;SPAN class="BTDate webcast-date" data-timestamp="1561561200" data-format="M j"&gt;Jun 26, 2019&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class="webcast-description"&gt;Presented by: &lt;SPAN class="webcast-presenter-information"&gt;Ed Airey and Scot Nielsen, Micro Focus&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN class="webcast-description"&gt;&lt;A href="https://www.brighttalk.com/webcast/16907/358887" target="_blank" rel="noopener"&gt;Register here&lt;/A&gt;.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 22 May 2019 18:06:27 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/DevOps-and-API-Development-in-the-Cloud-Visual-COBOL-5-0-Product/ta-p/1792455</guid>
      <dc:creator>surie</dc:creator>
      <dc:date>2019-05-22T18:06:27Z</dc:date>
    </item>
    <item>
      <title>AMC Tech Tips: Don’t know what’s been executed? Micro Focus has got you covered</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/AMC-Tech-Tips-Don-t-know-what-s-been-executed-Micro-Focus-has/ta-p/1792438</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&lt;A href="https://blog.microfocus.com/amc-tech-tips-cobol-execution-assistance/" target="_blank" rel="noopener"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 400px;"&gt;&lt;img src="https://dcvta86296.i.lithium.com/t5/image/serverpage/image-id/14615i2E21DA60FC48A4FB/image-size/medium?v=1.0&amp;amp;px=400" alt="curated_article_image20190501-29417-10c2ex8" title="curated_article_image20190501-29417-10c2ex8" /&gt;&lt;/span&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;By gnlam&lt;/P&gt;
&lt;P&gt;Working out which parts of a program have been executed and run can be a daunting task. Manually trying to work out the control flow is time consuming and error prone. In Micro Focus Visual COBOL and Enterprise Developer we have support for recording code coverage of native COBOL applications, making this task significantly easier. Code coverage is a measure of how much of an application is executed, usually as part of a test suite.&lt;/P&gt;
&lt;P&gt;This is great for identifying areas of code that may not be executed during a run of the application. And better still for deciding which areas are in need of further testing. Micro Focus supports this functionality in both Eclipse and &lt;A href="https://docs.microsoft.com/en-us/visualstudio/ide/?view=vs-2019" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Visual Studio&lt;/STRONG&gt;&lt;/A&gt; (VS) IDEs, but I will be showing VS as it is my IDE of choice.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.microfocus.com/amc-tech-tips-cobol-execution-assistance/" target="_blank" rel="noopener"&gt;Read more...&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 22 May 2019 17:25:37 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/AMC-Tech-Tips-Don-t-know-what-s-been-executed-Micro-Focus-has/ta-p/1792438</guid>
      <dc:creator>surie</dc:creator>
      <dc:date>2019-05-22T17:25:37Z</dc:date>
    </item>
    <item>
      <title>AMC Tech Tips: 4 Slick ways to accelerate COBOL code editing</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/AMC-Tech-Tips-4-Slick-ways-to-accelerate-COBOL-code-editing/ta-p/1790977</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 400px;"&gt;&lt;img src="https://dcvta86296.i.lithium.com/t5/image/serverpage/image-id/14615i2E21DA60FC48A4FB/image-size/medium?v=1.0&amp;amp;px=400" alt="curated_article_image20190501-29417-10c2ex8" title="curated_article_image20190501-29417-10c2ex8" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;By Ted John&lt;/P&gt;
&lt;P&gt;Maintaining COBOL code, especially apps of tens of thousands of lines or more, can sometimes feel like a chore. With Micro Focus’ COBOL development products &lt;A href="https://www.microfocus.com/products/visual-cobol" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Visual COBOL&lt;/STRONG&gt;&lt;/A&gt; and &lt;A href="https://www.microfocus.com/products/enterprise-developer" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Enterprise Developer&lt;/STRONG&gt;&lt;/A&gt; however, this a relatively painless and productive experience thanks to rich editing tools that significantly speed up the job of fixing and developing new COBOL programs.&lt;/P&gt;
&lt;P&gt;The capabilities I will focus on here can be found in both the Visual Studio and Eclipse variants of the product, and behave in a similar fashion to C# and Java apps. In this blog I will explain and illustrate some of the editing features available using &lt;EM&gt;Visual COBOL for &lt;A href="https://docs.microsoft.com/en-us/visualstudio/get-started/tutorial-editor?view=vs-2019" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Visual Studio&lt;/STRONG&gt;&lt;/A&gt;&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.microfocus.com/amc-tech-tips-4-slick-ways-to-accelerate-cobol-code-editing/" target="_blank" rel="noopener"&gt;Read more...&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 May 2019 15:52:52 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/AMC-Tech-Tips-4-Slick-ways-to-accelerate-COBOL-code-editing/ta-p/1790977</guid>
      <dc:creator>surie</dc:creator>
      <dc:date>2019-05-13T15:52:52Z</dc:date>
    </item>
    <item>
      <title>AMC Tech Tips: Creating COBOL code snippets</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/AMC-Tech-Tips-Creating-COBOL-code-snippets/ta-p/1790965</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" style="width: 400px;"&gt;&lt;img src="https://dcvta86296.i.lithium.com/t5/image/serverpage/image-id/14615i2E21DA60FC48A4FB/image-size/medium?v=1.0&amp;amp;px=400" alt="curated_article_image20190501-29417-10c2ex8" title="curated_article_image20190501-29417-10c2ex8" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;By Paula Willis&lt;/P&gt;
&lt;P&gt;The Micro Focus application development products from our Application Modernization and Connectivity business offer a range of capabilities for rapid application development. One example is our Code Snippets. This blog outlines how to use and create COBOL code snippets in &lt;A href="https://marketplace.visualstudio.com/items?itemName=EdAirey.VisualCOBOLforVisualStudio2017" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Visual Studio&lt;/STRONG&gt;&lt;/A&gt;, one of the two popular IDEs supported by Micro Focus Visual COBOL and Enterprise Developer.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.microfocus.com/creating-cobol-code-snippets/" target="_blank" rel="noopener"&gt;Read more...&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 13 May 2019 15:04:50 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Tips-Information/AMC-Tech-Tips-Creating-COBOL-code-snippets/ta-p/1790965</guid>
      <dc:creator>surie</dc:creator>
      <dc:date>2019-05-13T15:04:50Z</dc:date>
    </item>
    <item>
      <title>Error: Failed dependencies:</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Error-Failed-dependencies/ta-p/1771278</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Trying to install COBOL Server on the same machine as Visual COBOL dev Hub in rpm formatted files resulted in errors:&lt;/P&gt;
&lt;P&gt;rpm -i --prefix=/opt/microfocus/COBOLServer cobol_server_4.0_redhat_x86_64.rpm&lt;/P&gt;
&lt;P&gt;error: Failed dependencies:&lt;/P&gt;
&lt;P&gt;Micro_Focus_visualcobol_devhub conflicts with Micro_Focus_cobol_server-4.0.0.0-186407.x86_64&lt;/P&gt;
&lt;P&gt;Micro_Focus_cobol_server conflicts with (installed) Micro_Focus_visualcobol_devhub-4.0.0.0-186407.x86_64&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Resolution:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;To have two RPM products installed at the same time.&amp;nbsp;"nodeps" needs to be added to the following command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;rpm --nodeps -i --prefix=/opt/microfocus/COBOLServer cobol_server_4.0_redhat_x86_64.rpm&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The “--nodeps” command allows two RPM products to be installed on the machine when the –prefix option is used. Otherwise it is blocked as seen.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 10 May 2019 15:18:05 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Error-Failed-dependencies/ta-p/1771278</guid>
      <dc:creator>Peter_Kalfsbeek</dc:creator>
      <dc:date>2019-05-10T15:18:05Z</dc:date>
    </item>
    <item>
      <title>DBC database connectors performance when bulk loading data.</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/DBC-database-connectors-performance-when-bulk-loading-data/ta-p/1790188</link>
      <description>&lt;P&gt;Using 4GL_COMMIT_COUNT=1024 really increased performance when loading database.&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 14:50:36 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/DBC-database-connectors-performance-when-bulk-loading-data/ta-p/1790188</guid>
      <dc:creator>tonyt</dc:creator>
      <dc:date>2019-05-08T14:50:36Z</dc:date>
    </item>
    <item>
      <title>fork() : rts64 : Error 96 encountered in child process</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/fork-rts64-Error-96-encountered-in-child-process/ta-p/1771191</link>
      <description>&lt;DIV class="lia-message-template-symptoms-zone"&gt;
&lt;H2&gt;Symptoms&lt;/H2&gt;
&lt;P style="margin: 0cm 0cm 8pt;"&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif" size="3"&gt;In Server Express I could use the fork() call. Now, with Visual Cobol, I encounter ‘rts64 : Error 96 encountered in child process’ failure.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-message-template-diagnosis-zone"&gt;
&lt;H2&gt;Diagnosis&lt;/H2&gt;
&lt;P style="margin: 0cm 0cm 8pt;"&gt;&lt;FONT color="#000000" face="Calibri" size="3"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Error 96 was introduced in Visual Cobol in response to error situations which customers reported regarding thread synchronisation and deadlocks. There are, and always have been, good reasons for the limitation with fork(), and the principle has always applied – in all versions of Net Express, Server Express, and now Visual COBOL and Enterprise Developer. In practice, earlier versions such as Server Express did not trap improper uses of fork() and that appeared to work in a limited fashion, but this has become increasingly problematic over time as OS vendors tighten up over successive releases. With the latest products, it was realised that continuing the effort was not sustainable. Therefore raising the RTS 96 error early avoids a potentially long investigation on later runtime errors&lt;/FONT&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV class="lia-message-template-solution-zone"&gt;
&lt;H2&gt;Solution&lt;/H2&gt;
&lt;P&gt;The general advice, not specific to Micro Focus, is to avoid fork() and call, but instead use fork() and exec(). As an example, refer to the Posix documentation at:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://pubs.opengroup.org/onlinepubs/009695399/functions/fork.html" target="_blank" rel="noopener"&gt;http://pubs.opengroup.org/onlinepubs/009695399/functions/fork.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The Micro Focus documentation can be found here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.microfocus.com/documentation/visual-cobol/vc40pu8/DevHub/GUID-84954707-C2F6-4158-B83A-43DF35A28674.html" target="_blank" rel="noopener"&gt;https://www.microfocus.com/documentation/visual-cobol/vc40pu8/DevHub/GUID-84954707-C2F6-4158-B83A-43DF35A28674.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Refer to Section&amp;nbsp; 'COBRT096 Invalid use of fork() (Fatal)' :&lt;/P&gt;
&lt;P&gt;“If a process has used COBOL functionality, it can only safely call fork() if the child then safely calls one of the exec() set of APIs”.&lt;/P&gt;
&lt;P&gt;Alternatively, the&amp;nbsp;CBL_EXEC_RUN_UNIT&amp;nbsp;API can be used instead to create a child process. See here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.microfocus.com/documentation/enterprise-developer/ed40pu8/ED-Eclipse/HRCLRHCALL21.html" target="_blank" rel="noopener"&gt;https://www.microfocus.com/documentation/enterprise-developer/ed40pu8/ED-Eclipse/HRCLRHCALL21.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This is a positive step in contributing to stability for customers when deploying Micro Focus Products.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 30 Apr 2019 12:43:25 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/fork-rts64-Error-96-encountered-in-child-process/ta-p/1771191</guid>
      <dc:creator>NickCook</dc:creator>
      <dc:date>2019-04-30T12:43:25Z</dc:date>
    </item>
    <item>
      <title>OpenJDK version of Java found.  This release of Java is not supported by cesadmintool</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/OpenJDK-version-of-Java-found-This-release-of-Java-is-not/ta-p/1771220</link>
      <description>&lt;DIV class="lia-message-template-content-zone"&gt;
&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;An error appears after installing Visual COBOL development Hub 4.0 when trying to run the cesadmintool.sh to install the licenses: OpenJDK version of Java found. This release of Java is not supported by cesadmintool.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;OpenJDK is supported from Patch Update 7 onwards which is available for download from our SupportLine website with your weblogin credentials: &lt;A href="https://supportline.microfocus.com/websync/productupdatessearch.aspx" target="_blank" rel="noopener"&gt;https://supportline.microfocus.com/websync/productupdatessearch.aspx&lt;/A&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 29 Apr 2019 10:37:21 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/OpenJDK-version-of-Java-found-This-release-of-Java-is-not/ta-p/1771220</guid>
      <dc:creator>Peter_Kalfsbeek</dc:creator>
      <dc:date>2019-04-29T10:37:21Z</dc:date>
    </item>
    <item>
      <title>Debugging Visual Cobol GUI class from a core dump file</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Debugging-Visual-Cobol-GUI-class-from-a-core-dump-file/ta-p/1741867</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 150%;"&gt;Problem:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;When debugging an application using a core dump from cblcore, the Visual Cobol GUI class library is seen as part of the call stack.&lt;/P&gt;
&lt;P&gt;How can this be debugged?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 150%;"&gt;Resolution:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The GUI class IDY files are needed in order to debug, so the class needs to be compiled to produce them.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Copy the "guicl" folder located in the directory below, into another directory.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P style="padding-left: 60px;"&gt;C:\Program Files (x86)\Micro Focus\Visual COBOL\cpylib\guicl\&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Open the contained project apiguim.cblproj with VCVS and compile it.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If windows.cpy is missing, search for it in C:\Program Files (x86)\Micro Focus\Visual COBOL\cpylib and copy it into the project directory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the compilation gives error&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;"LINK : fatal error LNK1181: cannot open input file 'imm32.lib'",&lt;/P&gt;
&lt;P&gt;make sure the IDE can find the following files:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;comctl32.lib&lt;/LI&gt;
&lt;LI&gt;comdlg32.lib&lt;/LI&gt;
&lt;LI&gt;shell32.lib&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For a Windows 10 machine, they are located in the following directory:&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.16299.0\um\x86&lt;/P&gt;
&lt;P&gt;The steps below describe how to link them in the project:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;On the Solution Explorer, open the Project Properties.&lt;/LI&gt;
&lt;LI&gt;Navigate to the COBOL Link tab and in the “Link with libs” field&lt;/LI&gt;
&lt;LI&gt;Enter the absolute paths to those libs (For Windows 10, these would be):&lt;/LI&gt;
&lt;/UL&gt;
&lt;P style="padding-left: 30px;"&gt;"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.16299.0\um\x86\Imm32.Lib"&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.16299.0\um\x86\ComCtl32.Lib"&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.16299.0\um\x86\ComDlg32.Lib"&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;"C:\Program Files (x86)\Windows Kits\10\Lib\10.0.16299.0\um\x86\shell32.lib"&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Save the changes and Rebuild the Solution.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 18 Oct 2019 08:17:41 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Debugging-Visual-Cobol-GUI-class-from-a-core-dump-file/ta-p/1741867</guid>
      <dc:creator>raquelc</dc:creator>
      <dc:date>2019-10-18T08:17:41Z</dc:date>
    </item>
    <item>
      <title>Patch Update uninstall reboots system</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Patch-Update-uninstall-reboots-system/ta-p/1757831</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size:150%;"&gt;Problem:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;When performing a silent uninstall of a Patch Update, prior to the&amp;nbsp;subsequent install of another Patch Update, the system reboots after the uninstall and the installation of the new Patch Update fails.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size:150%;"&gt;&lt;STRONG&gt;Resolution:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;For&amp;nbsp;Visual Cobol / Cobol Server versions 4.0 and earlier, the system reboot after the silent uninstall of a Patch Update it is unavoidable&lt;/P&gt;
&lt;P&gt;The workaround is to install the new Patch Update first and then uninstall the old Patch Update, thereby&amp;nbsp;the reboot will be performed only once the whole operation is complete.&lt;/P&gt;
&lt;P&gt;This issue will be addressed from version 5.0 onwards.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 14:34:43 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Patch-Update-uninstall-reboots-system/ta-p/1757831</guid>
      <dc:creator>PhillR</dc:creator>
      <dc:date>2019-01-21T14:34:43Z</dc:date>
    </item>
    <item>
      <title>Restricting Access to the Enterprise Server Web Administration Console</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Restricting-Access-to-the-Enterprise-Server-Web-Administration/ta-p/1750607</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin-left:30px;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;How do I restrict access to the Enterprise Server&amp;nbsp;Web Administration Console?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Solution&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;Follow these steps to restrict the Enterprise Server Web Administration Console:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI style="padding-left:30px;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;In a web browser, enter the URL to&amp;nbsp;open your Enterprise Server Web console. (&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;For example: &lt;A href="http://myserver.com:86/"&gt;http://myserver.com:86&lt;/A&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="padding-left:30px;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;From the menu on the&amp;nbsp;left, select &lt;STRONG&gt;Security&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="padding-left:30px;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;Select the&amp;nbsp;&lt;STRONG&gt;MF Directory Server&lt;/STRONG&gt; tab&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="padding-left:30px;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;Check the box next to&amp;nbsp;&lt;STRONG&gt;Restrict administration access&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="padding-left:30px;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;At the bottom of the page, click &lt;STRONG&gt;Apply&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="padding-left:30px;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;You will receive a prompt, asking that you enter the current authentication details for the "SYSAD" account. This is the default account set up&amp;nbsp;for securing the Enterprise Server Web Administration Console.&amp;nbsp;&amp;nbsp;The prompt reads: &lt;SPAN style="font-family:Calibri;"&gt;"A change in administration … has been requested"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="padding-left:30px;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;Enter &lt;STRONG&gt;User ID&lt;/STRONG&gt; that will secure the Console (the default user id is "SYSAD")&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="padding-left:30px;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;Enter &lt;STRONG&gt;Password&lt;/STRONG&gt; (the default password is also&amp;nbsp;"SYSAD")&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="padding-left:30px;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;If you wish, you can also change the default password for the SYSAD as you log in. To do so, e&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;nter the new password in both&amp;nbsp;new password fields (these fields may appear greyed out, but will accept entry)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="padding-left:30px;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;Click &lt;STRONG&gt;OK&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="padding-left:30px;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;On the left, select &lt;STRONG&gt;Log Off&lt;/STRONG&gt;. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="padding-left:30px;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;The &lt;SPAN style="font-family:Calibri;"&gt;Enterprise Server Web console&lt;/SPAN&gt; will be reloaded, and you will be i&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;mmediately prompted for logon, password&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="padding-left:30px;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;When the&amp;nbsp;&lt;SPAN style="font-family:Calibri;"&gt;&lt;SPAN style="font-size:medium;"&gt;login security for the console&amp;nbsp;has been&amp;nbsp;activated, a new&amp;nbsp;HTML "splash" page is displayed after login. The &lt;SPAN style="font-family:Calibri;"&gt;HTML for this page &lt;/SPAN&gt;is stored at &lt;STRONG&gt;$COBDIR/lang/default/greeting.htmf&lt;/STRONG&gt; (please note the&amp;nbsp;file's extension ends with lower case&amp;nbsp;"F", not lower case "L"). This file can be modified&amp;nbsp;to display a desired custom message.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P style="margin:0in 0in 0pt 0.75in;"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 0pt 0.25in;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;The steps above provide simple password protection for the &lt;SPAN style="font-family:Calibri;"&gt;Enterprise Server Web Administration Console&lt;/SPAN&gt;. For a more comprehensive approach to securing access, please see &lt;A href="https://community.microfocus.com/microfocus/mainframe_solutions/enterprise_server/w/knowledge_base/29065/how-to-set-up-secure-access-to-mfds-and-the-es-administration-web-page"&gt;this &lt;/A&gt;article.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 19:57:23 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Restricting-Access-to-the-Enterprise-Server-Web-Administration/ta-p/1750607</guid>
      <dc:creator>blairm</dc:creator>
      <dc:date>2018-10-09T19:57:23Z</dc:date>
    </item>
    <item>
      <title>Increasing the font size in ViewNow when debugging in Visual COBOL for Eclipse</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Increasing-the-font-size-in-ViewNow-when-debugging-in-Visual/ta-p/1745257</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;How can I increase the font size in ViewNow when debugging in Eclipse?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Solution:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;When using Visual COBOL for Eclipse to debug remote projects, the debugger launches xterm on the Unix machine to send the user interface to ViewNow. There is a way&amp;nbsp;to pass options to xterm to control the appearance of the X window in ViewNow.&lt;/P&gt;
&lt;P&gt;In a Debug Configuration, go to the Environment tab, and define a new Environment variable COBTERMOPTS. Here is an example:&lt;/P&gt;
&lt;TABLE border="0" align="left"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;Variable:&lt;/TD&gt;
&lt;TD&gt;COBTERMOPTS&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Value:&lt;/TD&gt;
&lt;TD&gt;"-font -adobe-*-*-r-*-*-20-*-*-*-*-*-*-* -bg white -fg blue"&lt;BR /&gt; (without the quotes)&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;The above is an example of specifying a font, background color and foreground color to xterm. This example has been tested on a RHEL 7.1 and SUSE 12 systems.&lt;/P&gt;
&lt;P&gt;You can first test outside of Eclipse to confirm that a given xterm option will work for you by specifying it as part of the xterm command. For example:&lt;/P&gt;
&lt;PRE&gt;export DISPLAY=XX.XX.XX.XX:Y&amp;nbsp;&amp;nbsp; (replace XX.XX.XX.XX with IP Address of your machine running ViewNow, and Y with port number ViewNow is using)
xterm -font -adobe-*-*-r-*-*-20-*-*-*-*-*-*-* &amp;amp;
&lt;/PRE&gt;
&lt;P&gt;If the above example does not work, please check with your System Administrator to confirm which fonts you have installed, or other options supported on your system to control the appearance of xterm.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Oct 2018 22:08:50 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Increasing-the-font-size-in-ViewNow-when-debugging-in-Visual/ta-p/1745257</guid>
      <dc:creator>blairm</dc:creator>
      <dc:date>2018-10-05T22:08:50Z</dc:date>
    </item>
    <item>
      <title>Issue: RPM Patch Update Installer for 4.0 Products may remove product</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Issue-RPM-Patch-Update-Installer-for-4-0-Products-may-remove/ta-p/1749015</link>
      <description>&lt;P&gt;Issue:&lt;/P&gt;
&lt;P&gt;When using the “-U” option with the 4.0 Patch Update product, the base product is removed leaving no product files on the machine.&lt;/P&gt;
&lt;P&gt;Example Install Scenario:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Customer has Micro Focus Development Hub 4.0 installed.&lt;/LI&gt;
&lt;LI&gt;They want to install Micro Focus Development Hub 4.0 Patch Update 1.&lt;/LI&gt;
&lt;LI&gt;They run “rpm –U visualcobol_devhub_4.0_patchupdate01_redhat_x86_64.rpm”&lt;/LI&gt;
&lt;LI&gt;This runs without error but once complete there are no product files on the machine.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Code was added into the 4.0 RPM installer to remove any files left behind in the installer directory when the product was removed.&amp;nbsp; This was added to the post uninstall RPM section of the installer.&lt;/P&gt;
&lt;P&gt;When an upgrade is performed the base products post uninstall actions are triggered and so the tidy code is run, resulting in all the product files being removed.&lt;/P&gt;
&lt;P&gt;Fix:&lt;/P&gt;
&lt;P&gt;Code has now been added to the tidy script to ensure it only runs on a true uninstall and not during an upgrade.&lt;/P&gt;
&lt;P&gt;Affects:&lt;/P&gt;
&lt;P&gt;This issue affects upgrading from the following products.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;4.0 GA&lt;/LI&gt;
&lt;LI&gt;4.0 Patch Update 1&lt;/LI&gt;
&lt;LI&gt;4.0 Patch Update 2&lt;/LI&gt;
&lt;LI&gt;4.0 Patch Update 3&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;This issue has been fixed in Patch Update 4 but because the uninstall function is run from the previous installed product this issue will only go away once Patch Update 4 is the base product and is being upgraded to Patch Update 5 or higher.&lt;/P&gt;
&lt;P&gt;Workaround:&lt;/P&gt;
&lt;P&gt;If the customer has installed a Patch Update via RPM -U and found the product is now missing they need to perform the following steps.&lt;/P&gt;
&lt;P&gt;The product files have been removed from the machine but RPM still has the product installed.&amp;nbsp; So the RPM database need to be updated.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;rpm –qa | grep Micro&lt;/LI&gt;
&lt;LI&gt;rpm -e &amp;lt;package name from above command that pertains to the product being updated&amp;gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;This will remove the product from the RPM database and save any confusion in the future.&lt;/P&gt;
&lt;P&gt;Now just run the Patch Update installer with the normal options used for an install.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;rpm –I &amp;lt; Patch Update RPM file&amp;gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The&amp;nbsp;Patch update is a full install so all files found in the GA product plus those fixed and delivered in the Patch Update are installed.&lt;/P&gt;
&lt;P&gt;If the customer has not yet run the Upgrade process they just need to remove the currently installed product and then install.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;rpm –qa | grep Micro&lt;/LI&gt;
&lt;LI&gt;rpm -e &amp;lt;package name from above command&amp;gt;&lt;/LI&gt;
&lt;LI&gt;rpm –I &amp;lt; Patch Update RPM file&amp;gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 04 Oct 2018 19:45:39 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Issue-RPM-Patch-Update-Installer-for-4-0-Products-may-remove/ta-p/1749015</guid>
      <dc:creator>Chris Glazier</dc:creator>
      <dc:date>2018-10-04T19:45:39Z</dc:date>
    </item>
    <item>
      <title>Cesadmintool:  Java version 1.6.0_161 in the following location is incompatible.</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Cesadmintool-Java-version-1-6-0-161-in-the-following-location-is/ta-p/1747266</link>
      <description>&lt;H2 class="sectiontitle"&gt;Problem:&lt;/H2&gt;
&lt;DIV class="section"&gt;
&lt;P&gt;Unable to install new licenses with version 4.0&amp;nbsp;as it is impossible to run the cesdamintool.sh.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It keeps&amp;nbsp;showing&amp;nbsp;the message: "incompatible java version, needs 1.5 or later."&lt;/P&gt;
&lt;P&gt;Even&amp;nbsp;with java version&amp;nbsp;1.6&amp;nbsp;being installed,&amp;nbsp;"Cesadmintool:&amp;nbsp; Java version 1.6.0_161 in the following location is incompatible." is displayed.&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV class="section"&gt;
&lt;H2 class="sectiontitle"&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;This is an incorrect&amp;nbsp;message displayed by the installer because&amp;nbsp;Java 1.7 is now the lowest version supported.&lt;/P&gt;
&lt;P&gt;Unfortunately the scripts logic was updated to detect the new version of java but the message displayed was not.&lt;/P&gt;
&lt;P&gt;So there is the need to update to Java 1.7, ideally 1.8 so it will include the latest security fixes etc.&lt;/P&gt;
&lt;P&gt;This is fixed in patch update 3 and later to correct this wrong message displayed.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Sep 2018 09:59:54 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Cesadmintool-Java-version-1-6-0-161-in-the-following-location-is/ta-p/1747266</guid>
      <dc:creator>PhillR</dc:creator>
      <dc:date>2018-09-26T09:59:54Z</dc:date>
    </item>
    <item>
      <title>License files are by default created in /tmp directory. Can this be changed?</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/License-files-are-by-default-created-in-tmp-directory-Can-this/ta-p/1750645</link>
      <description>&lt;H2 class="sectiontitle"&gt;Problem:&lt;/H2&gt;
&lt;DIV class="section"&gt;
&lt;P&gt;If the&amp;nbsp;/tmp directory is cleaned up, it will remove license related files which are by default created in the /tmp directory.&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV class="section"&gt;
&lt;H2 class="sectiontitle"&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;There are two types of file stored in /tmp by default.&lt;/P&gt;
&lt;P&gt;The socket file which is used to communicate between mfcesd and the COBOL apps.&lt;/P&gt;
&lt;P&gt;This&amp;nbsp;file can be relocated by setting &lt;STRONG&gt;socketdir&lt;/STRONG&gt; (e.g. socketdir=/var/microfocuslicensing/socket) in &lt;STRONG&gt;ces.ini&lt;/STRONG&gt; (needs version 10000.2.02090 or later&amp;nbsp;&lt;STRONG&gt;&lt;U&gt;and&lt;/U&gt;&lt;/STRONG&gt;&amp;nbsp;the folder will need to be created with 666 permissions ). &amp;nbsp;NOTE: The file is abstract on Linux systems so there should be no&amp;nbsp;issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The second type is the lock file (&lt;STRONG&gt;mfcesd.lock&lt;/STRONG&gt;).&lt;/P&gt;
&lt;P&gt;This is used to prevent a second copy of mfcesd from running and to help identify the mfcesd process when stopping it vis stopmfesd.sh etc.&lt;/P&gt;
&lt;P&gt;This file being removed&amp;nbsp;is less important, but you need to be&amp;nbsp;aware this may cause issues with starting/stopping mfcesd.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Sep 2018 09:44:30 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/License-files-are-by-default-created-in-tmp-directory-Can-this/ta-p/1750645</guid>
      <dc:creator>PhillR</dc:creator>
      <dc:date>2018-09-26T09:44:30Z</dc:date>
    </item>
    <item>
      <title>Example of Producing User-generated COBOL Run-Time System Errors</title>
      <link>https://community.microfocus.com/t5/4-0-Samples/Example-of-Producing-User-generated-COBOL-Run-Time-System-Errors/ta-p/1689860</link>
      <description>&lt;P&gt;&lt;U&gt;This example has been tested with Enterprise Developer 4.0 and with Visual COBOL 4.0 for Eclipse and Visual Studio.&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;In situations where an application fails with an error condition that it cannot recover from, you might want the application to terminate the process in such a way that error processing occurs. For such scenarios, Micro Focus provides the CBL_RUNTIME_ERROR library routine that enables you to display a custom message.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You need to call the CBL_RUNTIME_ERROR library routine from your code and provide a message string to indicate the error. The API that uses this routine takes a flags parameter. Setting the flag to 0 forces the application to terminate and generate the specified user COBOL Run-Time System error displayed as an RTS 150 message. The message enables the user to determine which (of potentially several) error condition caused the termination.&lt;/P&gt;
&lt;P&gt;If the core_on_error tunable is also set, CBL_RUNTIME_ERROR makes it easier to debug application errors from a production environment.&lt;/P&gt;
&lt;P&gt;CBL_RUNTIME_ERROR is a cross-platform library routine and can be used on both Windows and UNIX/Linux.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The following is an example of how to call this routine from your code:&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; identification division.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; program-id. RTSERR1.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; environment division.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; configuration section.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; data division.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; working-storage section.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01 ws-flags&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; pic x(4) comp-5.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01 ws-error-str&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pic x(255).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; procedure division.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;display "This program will generate a COBOL Runtime"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&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;" error to force termination."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;move 0 to ws-flags&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; **** Null Terminated String for text is required.&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;move z"Application Generated Runtime Error" to ws-error-str&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;call "CBL_RUNTIME_ERROR" using by value ws-flags&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&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;&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;&amp;nbsp;by reference ws-error-str&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;end-call&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;&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;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;display "This will never be reached as RTS Error handling is"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&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;" invoked."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;goback.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end program RTSERR1.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This code produces an error message at run time:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Execution error : file 'RTSERR1'&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;error code: 150, pc=0, call=1, seg=0&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;150&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Program abandoned at user request (Application Generated Runtime Error)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 03:12:03 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/4-0-Samples/Example-of-Producing-User-generated-COBOL-Run-Time-System-Errors/ta-p/1689860</guid>
      <dc:creator>TatyanaP</dc:creator>
      <dc:date>2018-08-03T03:12:03Z</dc:date>
    </item>
    <item>
      <title>After Installation, Error Opening Workspace in Visual COBOL for Eclipse 3.0 on Windows Server 2016</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/After-Installation-Error-Opening-Workspace-in-Visual-COBOL-for/ta-p/1738821</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;After installation, when opening any workspace&amp;nbsp;you receive the following error.&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;"TSUIN0126 At least one exception occurred during the initialization of the AWM meta model. See error log for more information."&lt;/SPAN&gt;&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;This error&amp;nbsp;can be&amp;nbsp;caused by a bug in&amp;nbsp;the version of Eclipse that&amp;nbsp;is delivered with Visual COBOL&amp;nbsp;3.0, which may not recognize Windows Server 2016 as a valid operating system.&amp;nbsp;This can be resolved by manually specifying an Operating System version that Eclipse will recognize, following these steps:&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;1) Open "C:\Users\Public\Micro Focus\Visual COBOL\eclipse\eclipse.ini"&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;2) Add the following to the bottom of the file&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;-Dos.name=Windows Server 2015 R2&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;3) Save the file and then reload Eclipse&lt;/P&gt;
&lt;P&gt;Note: This problem does not occur in Visual COBOL for Eclipse 4.0.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2018 18:59:39 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/After-Installation-Error-Opening-Workspace-in-Visual-COBOL-for/ta-p/1738821</guid>
      <dc:creator>Chris Glazier</dc:creator>
      <dc:date>2018-07-12T18:59:39Z</dc:date>
    </item>
    <item>
      <title>Licensing error 244 occurs when running native applications with COBOL Server 4.0</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Licensing-error-244-occurs-when-running-native-applications-with/ta-p/1750741</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;Running a native COBOL application from a network server with COBOL Server 4.0 works fine the first time. Any subsequent runs fail with the following:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;Execution error : file ''&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;error code: 244, pc=0, call=1, seg=0&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;244 Licensing initialization error&lt;/CODE&gt;&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;The Micro Focus development team is looking into this issue, and the workaround in the meantime is to add the following entry in the &lt;STRONG&gt;.mfcfg&lt;/STRONG&gt; file:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;SETENV MFCES_INIT_LOCATION=\\&lt;EM&gt;ServerName&lt;/EM&gt;\&lt;EM&gt;MicroFocusSrv&lt;/EM&gt;\Bin\ces.ini&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;where &lt;EM&gt;&lt;CODE&gt;Servername&lt;/CODE&gt; &lt;/EM&gt;is the name or IP address of the server and &lt;EM&gt;&lt;CODE&gt;MicroFocusSrv&lt;/CODE&gt; &lt;/EM&gt;is the network share name on the COBOL Server 4.0 installation folder.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 15:01:01 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Licensing-error-244-occurs-when-running-native-applications-with/ta-p/1750741</guid>
      <dc:creator>Fano_MF</dc:creator>
      <dc:date>2018-06-26T15:01:01Z</dc:date>
    </item>
    <item>
      <title>COBOL calling a C function within a library using the INITCALL directive.</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/COBOL-calling-a-C-function-within-a-library-using-the-INITCALL/ta-p/1736927</link>
      <description>&lt;H2 class="sectiontitle"&gt;Problem:&lt;/H2&gt;
&lt;DIV class="section"&gt;
&lt;P&gt;On Linux/Unix, a COBOL program can call a C function within a library using INITCALL, but on Windows, it gives error: 173 Called program file not found in drive/directory.&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV class="section"&gt;
&lt;H2 class="sectiontitle"&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;INITCALL loads the dll/so, but it needs to know what entry is being called within it.&amp;nbsp; One way to achieve this is by having the same entry name as the binary module itself.&amp;nbsp; However, there might be several entries in the dll/so that would need to be called separately. In this scenario, INITCALL behaves differently in Linux/Unix compared to Windows.&lt;/P&gt;
&lt;P&gt;When the entry and the shared object name are different, on Linux/Unix, the entry can be called by using the "-e name" flag at compilation time.&lt;/P&gt;
&lt;P&gt;On Windows, if the Cobol program cannot find an entry with the same name as the dll/so, the first entry in ordinal position is called. To change this behaviour, any entry within the dll that is to be called by COBOL must be exported. For this, a .def file must be created for the dll containing the relevant entry points. Example:&lt;/P&gt;
&lt;P&gt;EXPORTS&lt;/P&gt;
&lt;P&gt;Entry1&lt;/P&gt;
&lt;P&gt;Entry2&lt;/P&gt;
&lt;P&gt;Entry3&lt;/P&gt;
&lt;P&gt;…&lt;/P&gt;
&lt;P&gt;Then, the .def file must be compiled together with the C source when creating the dll:&lt;/P&gt;
&lt;P&gt;cl /LD program.c entryfile.def&lt;/P&gt;
&lt;P&gt;Note that the Cobol program and the dll must be in the same directory or on %PATH%.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 15 Jun 2018 12:48:31 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/COBOL-calling-a-C-function-within-a-library-using-the-INITCALL/ta-p/1736927</guid>
      <dc:creator>raquelc</dc:creator>
      <dc:date>2018-06-15T12:48:31Z</dc:date>
    </item>
    <item>
      <title>"ESPackage could not load" message shown when starting Visual COBOL for Visual Studio 2017, not all Visual COBOL components are loaded.</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/quot-ESPackage-could-not-load-quot-message-shown-when-starting/ta-p/1738605</link>
      <description>&lt;H1 class="name"&gt;&amp;nbsp;&lt;/H1&gt;
&lt;DIV class="content"&gt;
&lt;H2&gt;Problem:&amp;nbsp;&lt;/H2&gt;
&lt;P&gt;"ESPackage could not load" message shown when starting Visual COBOL for Visual Studio 2017, not all Visual COBOL components are loaded.&lt;/P&gt;
&lt;H2&gt;&amp;nbsp;&lt;BR /&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;To avoid this message ensure your Windows Operating System region settings are set as follows:&lt;BR /&gt; - English set as Windows display language&lt;BR /&gt; - In Windows regional settings &amp;gt; formats set to&amp;nbsp; "match windows display ()"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;DIV class="content"&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 28 May 2018 13:39:36 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/quot-ESPackage-could-not-load-quot-message-shown-when-starting/ta-p/1738605</guid>
      <dc:creator>KimH</dc:creator>
      <dc:date>2018-05-28T13:39:36Z</dc:date>
    </item>
    <item>
      <title>Creating Record Layout (.str) files from the command line with DFSTRCL</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Creating-Record-Layout-str-files-from-the-command-line-with/ta-p/1740215</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;The Record Layout Editor within the Classic Data File Tools enables the creation of structure files (.str) for use when viewing and editing records in a structured or formatted way within the Data File Editor. &lt;BR /&gt;&lt;BR /&gt;Typically a Record Layout File is created within a Visual COBOL project by right-clicking on the source file name within the solution explorer that contains the Data Division information you require, and selecting Create Record Layout File.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/stride.PNG" target="_blank"&gt;&lt;IMG src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/stride.PNG" alt=" " /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(&lt;EM&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;&lt;/EM&gt;: The program must be compiled and a .idy file must exist).&lt;BR /&gt;&lt;BR /&gt;However if there are several data files that require layouts, this process must be repeated for each file.&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;TABLE style="height:55px;" width="941"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="border-color:#000000;background-color:#bcf5f3;"&gt;&lt;EM&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;&lt;/EM&gt;: DFSTRCL&amp;nbsp;creates &lt;STRONG&gt;DEFAULT&lt;/STRONG&gt; record layout (.str) files, if conditional record layout files are required use the New Record Layout Wizard from&amp;nbsp; within the Data File Editor&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;The Data File Structure Command Line (&lt;STRONG&gt;DFSTRCL&lt;/STRONG&gt;) was added in Visual COBOL V2.3. The utility enables you to create &lt;STRONG&gt;DEFAULT&lt;/STRONG&gt; record layout (.str) files from .idy files directly from the command line, and must be run from a Visual COBOL command prompt. &lt;BR /&gt;DFSTRCL can be used to process a single debug information (.idy) file. Alternatively, it can be configured to perform batch processing using a parameters file passed at the command line using the /r parameter. Please refer to the Visual COBOL documentation for further details.&lt;BR /&gt;&lt;BR /&gt;In the example below a data file has two record layouts STUDENT-RECORD and COURSE-RECORD.&lt;BR /&gt;A default record layout based on the STUDENT-RECORD needs to be created, the .str will be saved in the same location as the .idy file.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/8562.cblsource.PNG" target="_blank"&gt;&lt;IMG src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/8562.cblsource.PNG" alt=" " /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The COBOL program must be compiled for debug&lt;/LI&gt;
&lt;LI&gt;Run DFSCTRL passing the necessary parameters: &lt;BR /&gt;&lt;BR /&gt;e.g. DFSTRCL STUDENTS.IDY /D STUDENT-RECORD &lt;BR /&gt;&amp;nbsp;(where /D is record name)&lt;/LI&gt;
&lt;LI&gt;Load the data file into the Data File Editor to view/edit in formatted mode &lt;BR /&gt;&lt;BR /&gt;e.g. MFDATATOOLS STUDENTS.DAT&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Click on the video to follow the necessary steps:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/8802.DFSTRCLDemo.mp4" target="_blank"&gt;8802.DFSTRCLDemo.mp4&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(&lt;STRONG&gt;&lt;EM&gt;Note&lt;/EM&gt;&lt;/STRONG&gt;: If conditional record layout files are required use the New Record Layout wizard from within the Data File Editor)&lt;/P&gt;</description>
      <pubDate>Thu, 07 Mar 2019 09:49:33 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Creating-Record-Layout-str-files-from-the-command-line-with/ta-p/1740215</guid>
      <dc:creator>Mark_B</dc:creator>
      <dc:date>2019-03-07T09:49:33Z</dc:date>
    </item>
    <item>
      <title>“java.lang.nullpointerexception” error shown when using COBOL Application Run Configuration - Visual COBOL for Eclipse 3.0</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/java-lang-nullpointerexception-error-shown-when-using-COBOL/ta-p/1749352</link>
      <description>&lt;H1 class="name"&gt;&amp;nbsp;&lt;/H1&gt;
&lt;DIV class="content"&gt;
&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;“java.lang.nullpointerexception” error shown when using COBOL Application Run Configuration - Visual COBOL for Eclipse 3.0&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;This is a known Eclipse IDE issue when&amp;nbsp;using a monitor with high DPI settings (e.g. 4k monitor), see Eclipse Bug report:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=495849"&gt;https://bugs.eclipse.org/bugs/show_bug.cgi?id=495849&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;To resolve this,&amp;nbsp;consider upgrading Eclipse from version 4.6.0 to version 4.6.3 where handling of monitors with high DPI is improved.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Mar 2018 12:43:12 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/java-lang-nullpointerexception-error-shown-when-using-COBOL/ta-p/1749352</guid>
      <dc:creator>PhillR</dc:creator>
      <dc:date>2018-03-15T12:43:12Z</dc:date>
    </item>
    <item>
      <title>"The ordinal 77 could not be loaded in dynamic link library utils.dll” shown when starting Visual COBOL for Eclipse.</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/quot-The-ordinal-77-could-not-be-loaded-in-dynamic-link-library/ta-p/1748897</link>
      <description>&lt;H1 class="name"&gt;&amp;nbsp;&lt;/H1&gt;
&lt;DIV class="content"&gt;
&lt;H2&gt;Problem:&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;"The ordinal 77 could not be loaded in dynamic link library utils.dll” shown when starting Visual COBOL for Eclipse.&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;This can be related to other software being installed on the same machine that also uses the same utils.dll file which the Visual COBOL Product uses for normal operation. As an example the Dell Unified Wireless Suite uses a utils.dll, if you are using this Dell software you can consider to uninstall this and installing just the wireless card driver as per &lt;A href="http://en.community.dell.com/support-forums/laptop/f/3518/t/19595964"&gt;http://en.community.dell.com/support-forums/laptop/f/3518/t/19595964&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The issue is caused by a filename clash and the 3rd party product not locating its version of this file correctly.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 15 Mar 2018 12:37:20 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/quot-The-ordinal-77-could-not-be-loaded-in-dynamic-link-library/ta-p/1748897</guid>
      <dc:creator>KimH</dc:creator>
      <dc:date>2018-03-15T12:37:20Z</dc:date>
    </item>
    <item>
      <title>Visual COBOL EJB Demo for JBoss EAP 6.4 Java 8</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Files/Visual-COBOL-EJB-Demo-for-JBoss-EAP-6-4-Java-8/ta-p/1689563</link>
      <description>&lt;P&gt;A version of the EJB Demo with project files updated for Java 8 and JBoss EAP 6.4 (JBoss 7.5).&lt;/P&gt;
&lt;P&gt;Visual COBOL 3.0 and Visual COBOL 4.0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 09:26:46 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Files/Visual-COBOL-EJB-Demo-for-JBoss-EAP-6-4-Java-8/ta-p/1689563</guid>
      <dc:creator>Steven_Lalewicz</dc:creator>
      <dc:date>2018-02-07T09:26:46Z</dc:date>
    </item>
    <item>
      <title>Run-time System Error Message - COBRT245 - There are no valid product licenses (Fatal),  occurs when running application from a remote machine.</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Run-time-System-Error-Message-COBRT245-There-are-no-valid/ta-p/1751873</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;I have shipped Selected Files from COBOL Server together with my application files. When I run the application from a remote PC the RT Error 245 occurs.&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;TABLE style="height:70px;" width="945"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD style="border-color:#000000;background-color:#bcf5f3;"&gt;&lt;EM&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;&lt;/EM&gt;: Micro Focus recommends that you ship the whole of COBOL Server with your application. However to provide backward compatibility, you can still select and ship specific files.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;Follow instructions in the Knowledgebase Article: &lt;A href="https://community.microfocus.com/microfocus/cobol/visual_cobol/w/knowledge_base/28745/network-deployment-of-visual-cobol-2-3-native-applications"&gt;&lt;STRONG&gt;Network deployment of Visual COBOL 2.3 native applications&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For this type of installation/configuration the progname.exe.mfcfg should contain the following two lines:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;SET BINPATH=\\ServerName\COBOLsrv&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;SET CESDYNAMIC=ces.ini&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 18:19:25 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Run-time-System-Error-Message-COBRT245-There-are-no-valid/ta-p/1751873</guid>
      <dc:creator>Mark_B</dc:creator>
      <dc:date>2017-12-14T18:19:25Z</dc:date>
    </item>
    <item>
      <title>Installing the Oracle SCOTT schema for testing with Visual COBOL</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Installing-the-Oracle-SCOTT-schema-for-testing-with-Visual-COBOL/ta-p/1745979</link>
      <description>&lt;H2&gt;&lt;SPAN style="font-family:inherit;"&gt;Problem:&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&gt;I have installed &lt;STRONG&gt;Oracle 11g&lt;/STRONG&gt; &lt;STRONG&gt;Express&lt;/STRONG&gt; and &lt;STRONG&gt;Pro*COBOL&lt;/STRONG&gt; precompiler to test this COBOL program with embedded SQL that uses the &lt;STRONG&gt;SCOTT schema&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&gt;IDENTIFICATION DIVISION.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROGRAM-ID.&amp;nbsp; ORATEST.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENVIRONMENT DIVISION.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATA DIVISION.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WORKING-STORAGE SECTION.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;EXEC SQL INCLUDE SQLCA END-EXEC&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;EXEC SQL BEGIN DECLARE SECTION END-EXEC.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;01&amp;nbsp; USERNAME&amp;nbsp;&amp;nbsp; PIC X(10).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;01&amp;nbsp; PASSWD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PIC X(10).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;EXEC SQL END DECLARE SECTION END-EXEC.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROCEDURE DIVISION.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;LOGON.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&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;MOVE "SCOTT" TO USERNAME&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&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;MOVE "TIGER" TO PASSWD&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&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;EXEC SQL&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&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;&amp;nbsp;&amp;nbsp;CONNECT&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&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;&amp;nbsp;&amp;nbsp;:USERNAME IDENTIFIED BY :PASSWD&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&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;END-EXEC.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&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;DISPLAY SQLCODE&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:inherit;"&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;STOP RUN.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;However when I run my program I receive an error &lt;STRONG&gt;ORA-01017: invalid username/password; logon denied&lt;/STRONG&gt;, what is wrong?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/fail.png"&gt;&lt;IMG src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/fail.png" alt=" " /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;The SCOTT schema contains a number of tables that can be used for testing purposes, and needs to be installed.&lt;/P&gt;
&lt;P&gt;The follow these steps to install the schema:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Open a command prompt&lt;/LI&gt;
&lt;LI&gt;Change directory to &lt;STRONG&gt;C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin&lt;/STRONG&gt;&lt;BR /&gt; this directory contains a number of SQL scripts including &lt;STRONG&gt;SCOTT.SQL&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;Start &lt;STRONG&gt;SQLPlus&lt;/STRONG&gt; as follows:&lt;BR /&gt; &lt;BR /&gt; &lt;STRONG&gt;SQLPLUS /AS SYSDBA&lt;/STRONG&gt; (this logs onto the database as SYSDBA in order to carry out some admin tasks :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/connas.png"&gt;&lt;IMG src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/connas.png" alt=" " /&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Having successfully logged on, the SCOTT.SQL script needs to be run as follows:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;@SCOTT&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/runscript.png"&gt;&lt;IMG src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/runscript.png" alt=" " /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Now check the tables exist by running the following query:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;SELECT TABLE_NAME FROM DBA_TABLES WHERE OWNER=’SCOTT’&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/scotttables.png"&gt;&lt;IMG src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/scotttables.png" alt=" " /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Now run the program again - successfully:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/success.png"&gt;&lt;IMG src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/success.png" alt=" " /&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2017 19:40:49 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Installing-the-Oracle-SCOTT-schema-for-testing-with-Visual-COBOL/ta-p/1745979</guid>
      <dc:creator>Mark_B</dc:creator>
      <dc:date>2017-10-31T19:40:49Z</dc:date>
    </item>
    <item>
      <title>Cannot start server/region: CASCF0052S casstart: Error reading console daemon configuration data</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Cannot-start-server-region-CASCF0052S-casstart-Error-reading/ta-p/1746885</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;On Linux/UNIX, a server/region in Enterprise Server (ES) would not start.&amp;nbsp; The error message was: CASCF0052S casstart: Error reading console daemon configuration data&lt;/P&gt;
&lt;H2&gt;Solution:&lt;/H2&gt;
&lt;P&gt;Here is a link into the documentation showing an explanation:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://documentation.microfocus.com/help/index.jsp?topic=%2Fcom.microfocus.eclipse.infocenter.visualcobol.vs2012%2FGUID-6081411C-F6E2-42BC-8FD8-3C748C9C05A8.html"&gt;http://documentation.microfocus.com/help/index.jsp?topic=%2Fcom.microfocus.eclipse.infocenter.visualcobol.vs2012%2FGUID-6081411C-F6E2-42BC-8FD8-3C748C9C05A8.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It is a permissions problem with the "system directory" of the server/region, caused by trying to start the server/region using a different Linux/UNIX user-id than the user-id used when the server/region was last started.&lt;BR /&gt;&lt;BR /&gt;The system directory is where files such as the console.log, log-1.html, etc. are kept.&amp;nbsp; The directory is created and owned by the user-id that last started the server/region, and if you try to start the server/region with a different user-id, there will be a permissions problem on the system directory.&lt;BR /&gt;&lt;BR /&gt;The quickest way to overcome this problem is to remove or re-name the existing system directory.&amp;nbsp; On disk the system directory has the same name as the server/region, and by default it is located in /var/mfcobol/es, though the location can be configured using the "casperm" command or by modifying the file $COBDIR/etc/cas/cas.cfg.&amp;nbsp; To reveal the current location, enter:&lt;/P&gt;
&lt;P&gt;grep CASROOT $COBDIR/etc/cas/cas.cfg&lt;BR /&gt;&lt;BR /&gt;Example:&lt;/P&gt;
&lt;PRE&gt;$ grep CASROOT $COBDIR/etc/cas/cas.cfg&lt;BR /&gt;CASROOT=/var/mfcobol/es&lt;BR /&gt;$ cd /var/mfcobol/es&lt;BR /&gt;$ ls&lt;BR /&gt;ESDEMO&lt;BR /&gt;$ mv ESDEMO ESDEMO-old&lt;/PRE&gt;
&lt;P&gt;After the existing system directory is removed or re-named, then when the server/region is next started, it will create a new system directory, and will start successfully.&lt;BR /&gt;&lt;BR /&gt;If you start the server/region by clicking the "Start" button on the ES Admin page, then the user-id will be the "Default startup process user ID" that you see on the Start page.&amp;nbsp; But if you use "casstart" or "casstop" from the command line, you could possibly be logged in as a different user-id.&amp;nbsp; The long-term solution to this problem is to use the same user-id to start the server/region each time.&amp;nbsp; If you want to use "casstart" or "casstop", and sometimes you also want to use the "Start" and "Stop" buttons on the ES Admin page, then when you use "casstart" or "casstop", make sure you are logged in as the "Default startup process user ID" from the Start page.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 21:43:20 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Cannot-start-server-region-CASCF0052S-casstart-Error-reading/ta-p/1746885</guid>
      <dc:creator>Dan Wright</dc:creator>
      <dc:date>2017-10-30T21:43:20Z</dc:date>
    </item>
    <item>
      <title>XML-PARSE fails with exception 791043 when compiling using the XMLPARSE(XMLSS) directive</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/XML-PARSE-fails-with-exception-791043-when-compiling-using-the/ta-p/1748482</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;Programs that use the XML-PARSE directive, fail to compile with an exception 791043 in Visual COBOL version 2.3 Update 2 and 3.0&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;In Visual COBOL 2.3 Update 2 and 3.0, the new parser used by XML-PARSE in XMLSS mode does not recognise the encoding "Windows-1252".&lt;BR /&gt; &lt;BR /&gt;Changing the XMLPARSE directive to use&amp;nbsp;XMLPARSE(COMPAT)&amp;nbsp;or changing the XSD's encoding from "Windows-1252" to "ISO-8859-15" can be used as a workaround.&lt;/P&gt;
&lt;P&gt;A fix for this compilation error will be available in the 4.0 version of Visual COBOL.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Oct 2017 16:31:46 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/XML-PARSE-fails-with-exception-791043-when-compiling-using-the/ta-p/1748482</guid>
      <dc:creator>Matthew Coronado</dc:creator>
      <dc:date>2017-10-30T16:31:46Z</dc:date>
    </item>
    <item>
      <title>Dialog System application fails with RTS 173 on mfdir2</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Dialog-System-application-fails-with-RTS-173-on-mfdir2/ta-p/1743797</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;A Dialog System application fails with the following error when it does a CALLOUT to "dsdir":&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:'courier new', courier;"&gt;Load error: file 'mfdir2'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:'courier new', courier;"&gt;error code: 173, pc=0, call=1, seg=0,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:'courier new', courier;"&gt;173 Called program file not found in drive/directory.&lt;/SPAN&gt;&lt;/P&gt;
&lt;H2&gt;Solution:&lt;/H2&gt;
&lt;P&gt;This RTS 173 on 'mfdir2' occurs when the application is linked as 'Console Application' in Visual COBOL. It should be linked as 'Windows Application' instead.&lt;/P&gt;
&lt;P&gt;Here are the steps to resolve this issue:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;open the project in Visual Studio&lt;/LI&gt;
&lt;LI&gt;open the project properties&lt;/LI&gt;
&lt;LI&gt;select &lt;STRONG&gt;Windows Application&lt;/STRONG&gt; from the &lt;STRONG&gt;Output Type&lt;/STRONG&gt; drop-down under Application properties&lt;/LI&gt;
&lt;LI&gt;rebuild the project&lt;/LI&gt;
&lt;LI&gt;redeploy the application&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;The equivalent of the above from the command line is to use the &lt;STRONG&gt;-g&lt;/STRONG&gt; switch in the &lt;STRONG&gt;cbllink&lt;/STRONG&gt; command, e.g. &lt;SPAN style="font-family:'courier new', courier;"&gt;cbllink -g -v -re ...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 21:39:44 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Dialog-System-application-fails-with-RTS-173-on-mfdir2/ta-p/1743797</guid>
      <dc:creator>Fano_MF</dc:creator>
      <dc:date>2017-10-19T21:39:44Z</dc:date>
    </item>
    <item>
      <title>How to build the .exe in a different folder leaving the other generated files in the output path?</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-build-the-exe-in-a-different-folder-leaving-the-other/ta-p/1738794</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;When building a project, all output files are created in one location that is specified from the COBOL properties as &lt;EM&gt;Output Path&lt;/EM&gt;. Is there a way to create the .exe in a different folder leaving all the other generated files in the output path?&lt;/P&gt;
&lt;H2&gt;Solution:&lt;/H2&gt;
&lt;P&gt;It is not possible to have the .exe created in a different folder while the rest of the generated files get created in the output folder. However, a post-build event can be used to have the .exe file to be copied to another folder after a successful build.&lt;/P&gt;
&lt;P&gt;Here are the steps to create a post-build event that copies the .exe file to a folder (e.g. C:\Prod) after each successful build:&lt;BR /&gt;1. go to project properties&lt;BR /&gt;2. click on &lt;STRONG&gt;COBOL&lt;/STRONG&gt; properties&lt;BR /&gt;3. click on &lt;STRONG&gt;Build Events&lt;/STRONG&gt;&lt;BR /&gt;4. click on &lt;STRONG&gt;Edit Post-build&lt;/STRONG&gt;&lt;BR /&gt;5. type &lt;SPAN style="font-family:'courier new', courier;"&gt;copy&lt;/SPAN&gt; or &lt;SPAN style="font-family:'courier new', courier;"&gt;xcopy&lt;/SPAN&gt; (with a trailing space)&lt;BR /&gt;6. click on &lt;STRONG&gt;Macros&lt;/STRONG&gt; (to see all possible macro names)&lt;BR /&gt;7. double-click on &lt;STRONG&gt;TargetFileName&lt;/STRONG&gt;&lt;BR /&gt;8. type the target folder to have the following:&lt;BR /&gt;&lt;SPAN style="font-family:'courier new', courier;"&gt;xcopy $(TargetFileName) C:\Prod&lt;/SPAN&gt;&lt;BR /&gt;9. click on &lt;STRONG&gt;OK&lt;/STRONG&gt;&lt;BR /&gt;10. leave the &lt;STRONG&gt;Run the post-build event&lt;/STRONG&gt; drop-down with &lt;STRONG&gt;On successful build&lt;/STRONG&gt;&lt;BR /&gt;11. click on &lt;STRONG&gt;OK&lt;/STRONG&gt; to exit&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 21:04:32 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-build-the-exe-in-a-different-folder-leaving-the-other/ta-p/1738794</guid>
      <dc:creator>Fano_MF</dc:creator>
      <dc:date>2017-10-18T21:04:32Z</dc:date>
    </item>
    <item>
      <title>How to resolve the location of Dialog System's .icn side file?</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-resolve-the-location-of-Dialog-System-39-s-icn-side-file/ta-p/1741877</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;Back in Net Express, the location of the Dialog System's .icn side file had to be added to the COBDIR environment variable if it did not reside in the current folder.&lt;/P&gt;
&lt;P&gt;How does the Dialog System's .icn side file get resolved then in Visual COBOL if COBDIR is now strictly used for pointing&amp;nbsp;to the installation folder?&lt;/P&gt;
&lt;H2&gt;Solution:&lt;/H2&gt;
&lt;P&gt;In Visual COBOL or COBOL Server, the COBDATA environment variable can be used to resolve the Dialog System's .icn side file.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2017 20:32:18 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-resolve-the-location-of-Dialog-System-39-s-icn-side-file/ta-p/1741877</guid>
      <dc:creator>Fano_MF</dc:creator>
      <dc:date>2017-10-18T20:32:18Z</dc:date>
    </item>
    <item>
      <title>Error connecting to SQL Server - Connection is busy with results for another command</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Error-connecting-to-SQL-Server-Connection-is-busy-with-results/ta-p/1736717</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;'Connection is busy with results for another command ' error received when executing a COBOL application where the program tries to connect to an SQL Server database.&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;This SQL Server error message is thrown when there are&amp;nbsp;multiple connections going to the same database, through the same connection driver e.g. ODBC.&lt;/P&gt;
&lt;P&gt;The error is not specific to the COBOL language and can be resolved by enabling the MARS (&lt;SPAN class="shortdesc longdesc"&gt;multiple active results sets)&lt;/SPAN&gt; SQL directive.&lt;/P&gt;
&lt;P&gt;This can be set&amp;nbsp;at a database level and/or in the&amp;nbsp;SQL COBOL compilation directives by specifying &lt;STRONG&gt;SQL(MARS)&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:54:26 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Error-connecting-to-SQL-Server-Connection-is-busy-with-results/ta-p/1736717</guid>
      <dc:creator>Matthew Coronado</dc:creator>
      <dc:date>2017-10-17T08:54:26Z</dc:date>
    </item>
    <item>
      <title>Content is cut after a low-value when using a tool-tip during a debug session</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Content-is-cut-after-a-low-value-when-using-a-tool-tip-during-a/ta-p/1738945</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;There is an issue in tool-tip during a debug session when a variable contains a low-value. In this case, the shown content is cut after the low-value and you are not able to see the whole content. This also happens in the auto-window and the monitor-window.&lt;/P&gt;
&lt;P&gt;In Net Express the content was fully shown.&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;This behaviour is expected in Visual Studio.&lt;/P&gt;
&lt;P&gt;The tool-tip displays the value of the item as a string and strings are terminated by a null byte. If you hover over a buffer in a C/C++ program containing a null byte you see exactly the same behaviour.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The tool-tip has a magnifying glass and if you click the arrow next to it and select the Text Visualizer the entire content of the item is displayed when debugging native code, with the null byte shown as '.'.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2017 08:21:21 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Content-is-cut-after-a-low-value-when-using-a-tool-tip-during-a/ta-p/1738945</guid>
      <dc:creator>Robert Milligan</dc:creator>
      <dc:date>2017-10-17T08:21:21Z</dc:date>
    </item>
    <item>
      <title>Visual COBOL - What to do for missing cblrtssi.lib?</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Visual-COBOL-What-to-do-for-missing-cblrtssi-lib/ta-p/1755551</link>
      <description>&lt;H2&gt;Problem&lt;/H2&gt;
&lt;P&gt;With Net Express, to use the single threaded runtime, the&amp;nbsp; following .lib file would need to be linked to the affected cobol program:&lt;BR /&gt;"C:\Program Files (x86)\Micro Focus\Net Express 5.1\Base\Lib\cblrtssi.lib".&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt; In Visual COBOL this file is not present any more, so what is required?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Resolution&lt;/H2&gt;
&lt;P&gt;There are two types of the imported library of the COBOL runtime system in Net Express, one is for single-threaded runtime system (CBLRTSSI.LIB) and the other multi-threaded (CBLRTSMI.LIB).&lt;BR /&gt;&lt;BR /&gt;In Visual COBOL, since everything is multi-threaded, there is no single-thread imported library.&lt;BR /&gt;&lt;BR /&gt;For this reason, the solution is to link CBLRTSMI.LIB.&lt;/P&gt;
&lt;P&gt;This library can typically be found in "C:\Program Files\Micro Focus\Visual COBOL\lib" in 32-bit Windows or in "C:\Program Files (x86)\Micro Focus\Visual COBOL\lib" in 64-bit Windows, depending on where Visual COBOL is installed to.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 14:55:33 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Visual-COBOL-What-to-do-for-missing-cblrtssi-lib/ta-p/1755551</guid>
      <dc:creator>KimH</dc:creator>
      <dc:date>2017-10-03T14:55:33Z</dc:date>
    </item>
    <item>
      <title>Cannot install Visual COBOL - exits automatically with: echo $? outputs 0</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Cannot-install-Visual-COBOL-exits-automatically-with-echo/ta-p/1746724</link>
      <description>&lt;H3&gt;PROBLEM&lt;/H3&gt;
&lt;P&gt;When trying to install *.rpm file -&amp;nbsp;it exits without installing properly with the message:&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;echo $? outputs 0 and product has not been installed.&lt;/P&gt;
&lt;H2&gt;RESOLUTION&lt;/H2&gt;
&lt;P&gt;rpm -ivv&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; will provide&amp;nbsp;more information on what is going wrong.&lt;/P&gt;
&lt;P&gt;If it shows openjdk which outputs "openjdk version" instead of "java version", it means&amp;nbsp;it has&amp;nbsp;not detected the correct java installation.&lt;/P&gt;
&lt;P&gt;You will need the official Oracle java package for the *.rpm package to install properly.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 13:57:29 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Cannot-install-Visual-COBOL-exits-automatically-with-echo/ta-p/1746724</guid>
      <dc:creator>Peter_Kalfsbeek</dc:creator>
      <dc:date>2017-09-13T13:57:29Z</dc:date>
    </item>
    <item>
      <title>Visual COBOL/Enterprise Developer fails to install - Error shown: A matching Microsoft Visual Studio Shell (Isolated) language pack is required</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Visual-COBOL-Enterprise-Developer-fails-to-install-Error-shown-A/ta-p/1755639</link>
      <description>&lt;H2&gt;Problem&lt;/H2&gt;
&lt;P&gt;Visual COBOL or Enterprise 2.3.x can fail when installing on a Windows Operating Systems that use different locale to English.&lt;/P&gt;
&lt;P&gt;Reviewing the installation log file, typically located in path:&lt;BR /&gt;e.g.&lt;BR /&gt;%temp%\Micro_Focus_Enterprise_Developer_for_Visual_Studio_2012_20170515140705_0_vs2012intshell.log&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Entries such as the following are seen:&lt;BR /&gt;[1290:0F18][2017-05-16T11:21:13]: MUX:&amp;nbsp; Stop Block: IsoShellLPBlock : A matching Microsoft Visual Studio Shell (Isolated) language pack is required, but it is not installed on this computer. Please install the Microsoft Visual Studio Shell (Isolated) language pack for this language and retry.&lt;/P&gt;
&lt;H2&gt;&amp;nbsp;&lt;BR /&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;To resolve the issue the relevant language pack should be installed, see Microsoft’s download website e.g. URL: &lt;A href="https://www.microsoft.com/en-us/download/details.aspx?id=30671"&gt;https://www.microsoft.com/en-us/download/details.aspx?id=30671&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 11:52:34 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Visual-COBOL-Enterprise-Developer-fails-to-install-Error-shown-A/ta-p/1755639</guid>
      <dc:creator>KimH</dc:creator>
      <dc:date>2017-09-12T11:52:34Z</dc:date>
    </item>
    <item>
      <title>Visual COBOL/Enterprise Developer - In Eclipse how to run with profiler?</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Visual-COBOL-Enterprise-Developer-In-Eclipse-how-to-run-with/ta-p/1755633</link>
      <description>&lt;H2&gt;Problem&lt;/H2&gt;
&lt;P&gt;How to run a COBOL program with the profiler enabled in the Eclipse IDE&lt;/P&gt;
&lt;H2&gt;&amp;nbsp;&lt;BR /&gt;Resolution&lt;/H2&gt;
&lt;P&gt;To enable this&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;open the&amp;nbsp;Run Configuration used with the project,&lt;/LI&gt;
&lt;LI&gt;locate the dynamic analysis tab,&lt;/LI&gt;
&lt;LI&gt;locate the enable Profiler option “Enable Profiling”,&lt;/LI&gt;
&lt;LI&gt;Click OK/Run.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The .ipf file is then generated in a ..\Profiler folder in the project directory for analysis.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 11:46:37 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Visual-COBOL-Enterprise-Developer-In-Eclipse-how-to-run-with/ta-p/1755633</guid>
      <dc:creator>KimH</dc:creator>
      <dc:date>2017-09-12T11:46:37Z</dc:date>
    </item>
    <item>
      <title>Visual COBOL/Enterprise Developer for Eclipse - Compile only certain sources in project with target “all gnt/int files”</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Visual-COBOL-Enterprise-Developer-for-Eclipse-Compile-only/ta-p/1755642</link>
      <description>&lt;H2&gt;Problem&lt;/H2&gt;
&lt;P&gt;Using the Eclipse IDE&amp;nbsp; how can only certain sources within a project with target “all gnt/int files” be compiled?&lt;/P&gt;
&lt;H2&gt;&lt;BR /&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;This can be achieved by clicking on the relevant source files in the cobol explorer view and holding down the ctrl key to multi select the ones that should be compiled. Once the source files are selected, then right click on one of the selected source files and click the compile option.&lt;/P&gt;
&lt;P&gt;Only those selected source files will be compiled.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 11:40:51 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Visual-COBOL-Enterprise-Developer-for-Eclipse-Compile-only/ta-p/1755642</guid>
      <dc:creator>KimH</dc:creator>
      <dc:date>2017-09-12T11:40:51Z</dc:date>
    </item>
    <item>
      <title>Using Visual COBOL compiled application does not run on Windows XP or Windows 2003</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Using-Visual-COBOL-compiled-application-does-not-run-on-Windows/ta-p/1753968</link>
      <description>&lt;H2&gt;Problem&lt;/H2&gt;
&lt;P&gt;When running a Visual COBOL compiled application on Windows XP, it fails to start. Various errors can be shown, for example a "not a valid image" dialog.&lt;/P&gt;
&lt;H2&gt;&lt;BR /&gt;Resolution&lt;/H2&gt;
&lt;P&gt;Ensure that the application is&amp;nbsp;compiled&amp;nbsp;using the command:&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;cbllink –y&lt;/P&gt;
&lt;P&gt;Option&amp;nbsp;y specifies that the application is to be built so that it can also run on Windows XP and Windows Server 2003.&lt;/P&gt;
&lt;P&gt;If working within Visual Studio or the Eclipse IDE&amp;nbsp;this option can be added to the Additional Directives area.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 11:40:00 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Using-Visual-COBOL-compiled-application-does-not-run-on-Windows/ta-p/1753968</guid>
      <dc:creator>KimH</dc:creator>
      <dc:date>2017-09-12T11:40:00Z</dc:date>
    </item>
    <item>
      <title>How to package Dialog system screenset .gs files into a LBR file using Visual COBOL</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-package-Dialog-system-screenset-gs-files-into-a-LBR-file/ta-p/1741261</link>
      <description>&lt;H2&gt;Problem&amp;nbsp;&lt;/H2&gt;
&lt;P&gt;Visual COBOL Project contains .gs screenset files but these need to be packaged to one .lbr file.&lt;/P&gt;
&lt;P&gt;When building the project the following error may be encountered:&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;File obj\x86\Debug\&amp;lt;Filename&amp;gt; could not be copied, as the file was not found.&lt;/P&gt;
&lt;H2&gt;&amp;nbsp;&lt;BR /&gt;Resolution&lt;/H2&gt;
&lt;P&gt;All the screenset files present in the project , by default, would be marked as Build Action "none" in all the screenset file's properties.&lt;/P&gt;
&lt;P&gt;Change this property to Build Action "content", at the next build attempt the .lbr file will be generated without no error.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 11:35:27 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-package-Dialog-system-screenset-gs-files-into-a-LBR-file/ta-p/1741261</guid>
      <dc:creator>KimH</dc:creator>
      <dc:date>2017-09-12T11:35:27Z</dc:date>
    </item>
    <item>
      <title>Enterprise Server deployed Java Web Service Interface calls COBOL program in UPPER case. How do you call a program in lower case?</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Enterprise-Server-deployed-Java-Web-Service-Interface-calls/ta-p/1735676</link>
      <description>&lt;H2&gt;Problem&lt;/H2&gt;
&lt;P&gt;An Enterprise Server deployed Java Web Service Interface calls COBOL program in UPPER case, resulting in RTS 173 errors as the COBOL program is compiled to lower case.&lt;/P&gt;
&lt;P&gt;What needs to be done to set the Java Interface to call the COBOL program in lower case?&lt;/P&gt;
&lt;H2&gt;Resolution&lt;/H2&gt;
&lt;P&gt;Use the directive FOLD-CALL-NAME "LOWER" in&amp;nbsp;the project that deploys the Java Web Service Interface to resolve this issue.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 11:05:53 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Enterprise-Server-deployed-Java-Web-Service-Interface-calls/ta-p/1735676</guid>
      <dc:creator>KimH</dc:creator>
      <dc:date>2017-09-12T11:05:53Z</dc:date>
    </item>
    <item>
      <title>How to configure Shared Memory Pages and Shared Memory Cushion for a Server (region)</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-configure-Shared-Memory-Pages-and-Shared-Memory-Cushion/ta-p/1739250</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;Each Server (region) running under Enterprise Server shows, on its Server &amp;gt; Properties &amp;gt; General tab, settings named Shared Memory Pages and Shared Memory Cushion.&amp;nbsp; These have default values such as 512 and 32, for example.&amp;nbsp; But the values might need to be adjusted to be certain the Server has enough shared memory.&amp;nbsp; When a Server is running under&amp;nbsp;load and the&amp;nbsp;shared memory settings are exceeded, the following error&amp;nbsp;might appear&amp;nbsp;in the console.log:&amp;nbsp; 'CASKC0007W Shared memory storage constrained'.&amp;nbsp; How should a person decide what values to specify?&lt;/P&gt;
&lt;H2&gt;&lt;BR /&gt;Solution:&lt;/H2&gt;
&lt;P&gt;The product documentation contains charts to help estimate the amount of shared memory a Server might require, for example as shown on this page:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.eclipseux/BKCACACONFS011.html"&gt;http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.eclipseux/BKCACACONFS011.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But in practice Micro Focus end-users usually establish values for the Shared Memory Pages and Shared Memory Cushion heuristically, that is by trial and adjustment, instead of by making precise calculations.&lt;/P&gt;
&lt;P&gt;While a particular Server (region) is running,&amp;nbsp;go into&amp;nbsp;Server &amp;gt; Properties &amp;gt; Control &amp;gt; ES Monitor &amp;amp; Control (a. k. a.&amp;nbsp; ESMAC).&amp;nbsp; On the ESMAC screen, press the "Server" button at top-left, and view at the Server Information screen.&amp;nbsp; You can see:&lt;/P&gt;
&lt;P&gt;Shared Memory (number of 4k pages) -- this is the amount originally configured on the Server &amp;gt; Properties &amp;gt; General tab&lt;/P&gt;
&lt;P&gt;SM Total (in k) – just 4 times the 4k number above&lt;/P&gt;
&lt;P&gt;SM Cushion (in k) -- the active value of the cushion in k.&amp;nbsp; Notice that when configuring, you specify this number in units of 4k pages, but here it is shown in k.&lt;/P&gt;
&lt;P&gt;SM Free (in k) -- this is the number to pay attention to -- the amount not currently in use&lt;/P&gt;
&lt;P&gt;The number in parenthesis following the SM Free, is the FAQE chain length.&amp;nbsp; This is freed shared memory and is related to how the system manages the shared memory area.&amp;nbsp; When a block of shared memory is freed it is chained into the FAQE chain. Memory requests will get satisfied from this chain of blocks.&lt;/P&gt;
&lt;P&gt;The heuristic approach to setting shared memory for a Server is to set some initial values, run the region for a while, and check the "SM Free" and the "SM Cushion" in ESMAC to see how much is actually being used.&amp;nbsp; Add some additional load to the region, and watch the SM Free and the SM Cushion.&amp;nbsp; Adjust the values on the ES Admin &amp;gt; Server &amp;gt; Properties &amp;gt; General page, re-start the region, and test again.&amp;nbsp; Continue adjusting the values until the SM Free shows a comfortable value even when the region is under heavy load.&lt;/P&gt;
&lt;P&gt;You can allocate generous amounts.&amp;nbsp; Start by allocating 5120 4k pages.&amp;nbsp; That's 5120*4*1024 bytes = 20 meg.&amp;nbsp; By today's standards, 20 meg is a reasonable amount of memory for a process.&amp;nbsp; For example if the machine has 16 gig of RAM, 20 meg is 0.12% of RAM, that is, twelve hundredths of one percent.&amp;nbsp; And this memory is not allocated individually for each ES process such as mfcs, casmgr, SEPs, etc, instead this memory is allocated once and shared between ES processes.&amp;nbsp; You can use relatively high values without a performance impact.&amp;nbsp; Try 5120 with 10% cushion 512, then monitor the SM Free and the SM Cushion in ESMAC and decide whether the amount can be adjusted up or down.&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2017 04:05:44 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-configure-Shared-Memory-Pages-and-Shared-Memory-Cushion/ta-p/1739250</guid>
      <dc:creator>Dan Wright</dc:creator>
      <dc:date>2017-05-01T04:05:44Z</dc:date>
    </item>
    <item>
      <title>Unable to debug GNT in Windows 10</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Unable-to-debug-GNT-in-Windows-10/ta-p/1750928</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;Stepping on a CALL to a GNT simply runs through. The debugger is unable to step in the GNT or stop at any of the breakpoints in a GNT program.&lt;/P&gt;
&lt;P&gt;This problem occurs only in Windows 10, not in any other Windows versions.&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;Microsoft released a major update for Windows 10 in August or September 2016, which is called the "Windows 10 Anniversary update."&amp;nbsp;This update somehow broke the possibility of debugging GNT programs in Visual COBOL.&lt;/P&gt;
&lt;P&gt;To determine if you have the Windows 10 Anniversary update, click the Start&amp;nbsp;button, then&amp;nbsp;click&amp;nbsp;&lt;SPAN class="text-base"&gt;Settings&lt;/SPAN&gt; &amp;gt; &lt;SPAN class="text-base"&gt;System&lt;/SPAN&gt; &amp;gt; &lt;SPAN class="text-base"&gt;About&lt;/SPAN&gt;.&lt;/P&gt;
&lt;UL class="sbody-free_list"&gt;
&lt;LI&gt;If&amp;nbsp;the About window shows Version 1511 (OS Build 10565), it means the Windows 10 Anniversary update is not installed, and debugging GNT should work fine.&lt;/LI&gt;
&lt;LI&gt;If the About window&amp;nbsp;shows Version 1607 (OS Build 14393), it means the Windows 10 Anniversary update was already installed, and debugging GNT does not work.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Microsoft will release another major update of Windows 10 in spring of 2017, and we were unable to recreate the problem with the preview build starting with 14931.&lt;/P&gt;
&lt;P&gt;In the meantime, you might want to consider one of the following alternatives:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;remove Windows 10 Anniversary update&lt;/LI&gt;
&lt;LI&gt;compile the GNT to DLL&lt;/LI&gt;
&lt;LI&gt;use another machine running one of the supported environments (e.g. Windows 7, Windows 8.1, Windows Server 2012, etc.)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;It is not recommended to install the preview build of Windows 10 as it is still on a test phase.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 20:24:14 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Unable-to-debug-GNT-in-Windows-10/ta-p/1750928</guid>
      <dc:creator>Fano_MF</dc:creator>
      <dc:date>2017-03-17T20:24:14Z</dc:date>
    </item>
    <item>
      <title>When I launch a Dialog System application from a desktop shortcut the console window briefly appears and disappears before my application starts.</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/When-I-launch-a-Dialog-System-application-from-a-desktop/ta-p/1750721</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;HR /&gt;
&lt;P&gt;I have deployed Dialog System application that is launched from a shortcut on the desktop.&lt;/P&gt;
&lt;P&gt;The console window briefly appears and disappears before my application starts.&lt;/P&gt;
&lt;P&gt;I have a batch file that sets up some environment variables before running the application:&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;rem *&lt;BR /&gt;rem * Set COBDATA to find the screenset&lt;BR /&gt;rem * Use UNC with server IP address and share name&lt;BR /&gt;rem *&lt;BR /&gt;SET COBDATA=\\10.0.0.21\Appdir&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;rem * Enable Microsoft Visual Styles&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;SET MFVSSW=/f/c&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;rem * Now launch the application&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;START DSCUSTCLASSIC.EXE&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;exit&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;shortcut details:&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/0486.consoleflashbat1.png"&gt;&lt;IMG src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/0486.consoleflashbat1.png" alt=" " /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;H2&gt;Solution:&lt;/H2&gt;
&lt;HR /&gt;
&lt;P&gt;Change the Run property of the shortcut to &lt;STRONG&gt;Minimize&lt;/STRONG&gt; :&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/4520.consoleflashbat2.png"&gt;&lt;IMG src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/4520.consoleflashbat2.png" alt=" " /&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 18:20:44 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/When-I-launch-a-Dialog-System-application-from-a-desktop/ta-p/1750721</guid>
      <dc:creator>Mark_B</dc:creator>
      <dc:date>2017-03-17T18:20:44Z</dc:date>
    </item>
    <item>
      <title>Dialog System Error 18 occurs when running deployed application</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Dialog-System-Error-18-occurs-when-running-deployed-application/ta-p/1743820</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;HR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have deployed a Dialog System application to my server, however when I run the application from a client PC the following error appears:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/0068.dserror.png"&gt;&lt;IMG src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/0068.dserror.png" alt=" " /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;How can I avoid this?&lt;/P&gt;
&lt;H2&gt;Solution:&lt;/H2&gt;
&lt;HR /&gt;
&lt;P&gt;The solutions offered here assume that the COBOL Server and application deployment have followed the guidelines in the following article:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/microfocus/cobol/visual_cobol/w/knowledge_base/28745/network-deployment-of-visual-cobol-2-3-native-applications" target="_blank"&gt;Network deployment of Visual COBOL 2.3 native applications&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Set the environment variable &lt;STRONG&gt;COBDATA &lt;/STRONG&gt;to point to the folder where the screenset is located.&lt;/P&gt;
&lt;P&gt;There are two options that can be applied in order to make sure that the screenset is found.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Option 1:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;When building the application, add an Application.config file and add the detail for COBDATA as shown:&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/3201.cobdata.png"&gt;&lt;IMG src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/3201.cobdata.png" alt=" " /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;(&lt;STRONG&gt;&lt;EM&gt;Note:&lt;/EM&gt;&lt;/STRONG&gt; the Value \\10.0.0.21\Appdir represents the application deployment folder (shared) on the server)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Option 2:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;Set the environment variable &lt;STRONG&gt;COBDATA &lt;/STRONG&gt;on the client PC to point to the folder where the screenset is located on the server,&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;typically this can be set in a batch file that would the launch the application:&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;rem *&lt;BR /&gt;rem * Set COBDATA to find the screenset&lt;BR /&gt;rem * Use UNC with server IP address and share name&lt;BR /&gt;rem *&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;SET COBDATA=\\10.0.0.21\Appdir&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;rem * now set path etc...... and launch the application&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;or&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;rem *&lt;BR /&gt;rem * Set COBDATA to find the screenset&lt;BR /&gt;rem * Use UNC with server name and share name&lt;BR /&gt;rem *&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;SET COBDATA=\\MyServer\Appdir&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;rem * now set path etc...... and launch the application&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding-left:30px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 21:52:11 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Dialog-System-Error-18-occurs-when-running-deployed-application/ta-p/1743820</guid>
      <dc:creator>Mark_B</dc:creator>
      <dc:date>2017-03-16T21:52:11Z</dc:date>
    </item>
    <item>
      <title>How to use the ADISCTRL file in a different folder?</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-use-the-ADISCTRL-file-in-a-different-folder/ta-p/1743094</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;In general, the ADISCTRL file&amp;nbsp;is&amp;nbsp;placed in the same folder as the application, and it gets&amp;nbsp;picked up automatically at execution time. What if&amp;nbsp;this file is located in a different folder?&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;The main reason for having the ADISCTRL file in a different folder is when multiple applications are using this same file. It then becomes easier to manage one single file instead of managing the same&amp;nbsp;copy in each one of the application folders.&lt;/P&gt;
&lt;P&gt;There is one location in Visual COBOL or COBOL Server where the file can be&amp;nbsp;picked up automatically, and that location is %COBDIR%\etc\&lt;/P&gt;
&lt;P&gt;If the ADISCTRL file must be in a location other than the application folder and %COBDIR\etc, then&amp;nbsp;setting the dd_ADISCTRL environment variable to point to the ADISCTRL file (not to its location) will allow the COBOL runtime to find it, e.g. &lt;CODE&gt;SET dd_ADISCTRL=&lt;EM&gt;X:\Folder\SubFolder\&lt;/EM&gt;ADISCTRL&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Note: The COBDIR environment variable (i.e. %COBDIR%) can only be used to point to the location of the COBOL system folder in Visual COBOL or COBOL Server.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 17:25:59 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-use-the-ADISCTRL-file-in-a-different-folder/ta-p/1743094</guid>
      <dc:creator>Fano_MF</dc:creator>
      <dc:date>2017-03-16T17:25:59Z</dc:date>
    </item>
    <item>
      <title>Use REBUILD to convert to IDXFORMAT(8)</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Use-REBUILD-to-convert-to-IDXFORMAT-8/ta-p/1752572</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;HR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have an existing application that uses Indexed Sequential files - IDXFORMAT(3), and they are approaching their size limit.&lt;/P&gt;
&lt;P&gt;I need to continue to add additional records to the file.&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;HR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Use REBUILD to convert to IDXFORMAT(8)&lt;/H3&gt;
&lt;P&gt;By default Visual COBOL V2.3 creates indexed sequential files as IDXFORMAT(8) (large format),&lt;/P&gt;
&lt;P&gt;in addition FILEMAXSIZE(8) is also set by default.&lt;/P&gt;
&lt;P&gt;In order to convert existing files to other formats, use the &lt;STRONG&gt;Rebuild&lt;/STRONG&gt; utility.&lt;/P&gt;
&lt;P&gt;Rebuild is a file management utility invoked from the command prompt which enables you to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Reorganize an indexed file&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Rebuild a corrupt indexed file&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Convert files from one organization to another&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Validate an indexed file&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;In the example below Rebuild is used to display information about the file MUSTOCK.DAT using the /n parameter :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/8838.rebuildslashN.png"&gt;&lt;IMG src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/8838.rebuildslashN.png" alt=" " /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/EM&gt; the file format is IDX-3 - IDXFORMAT(3).&lt;/P&gt;
&lt;P&gt;In order to convert this file to IDXFORMAT(8) (large format) follow these steps:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Create a sub-directory to receive the new file (this is optional):&lt;BR /&gt;&lt;BR /&gt;md new&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;LI&gt;use the following Rebuild command line to create the new IDXFORMAT(8) file:&lt;BR /&gt;&lt;BR /&gt;REBUILD MUSTOCK.DAT,new\MUSTOCK.DAT /t:MF8&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/EM&gt; When working with Linux/UNIX:&lt;/P&gt;
&lt;P style="padding-left:60px;"&gt;mkdir new&lt;/P&gt;
&lt;P style="padding-left:60px;"&gt;rebuild MUSTOCK.DAT,new/MUSTOCK.DAT /t:MF8&lt;/P&gt;
&lt;P&gt;This will create a new copy of the file as IDXFORMAT(8) in the new sub-directory:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/0456.rebuild2.png"&gt;&lt;IMG src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/0456.rebuild2.png" alt=" " /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Display information about the new file MUSTOCK.DAT using the /n parameter :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/2480.rebuild3.png"&gt;&lt;IMG src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/2480.rebuild3.png" alt=" " /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/EM&gt; the file format is IDX-8 - IDXFORMAT(8).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For further information regarding IDXFORMAT and FILEMAXSIZE, please refer to the product documentation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For information with respect to File size limits for Server Express and Net Express please refer to this &lt;A href="https://community.microfocus.com/microfocus/mainframe_solutions/enterprise_server/w/knowledge_base/17683/file-size-limits-for-server-express-and-net-express"&gt;article&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 18:37:44 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Use-REBUILD-to-convert-to-IDXFORMAT-8/ta-p/1752572</guid>
      <dc:creator>Mark_B</dc:creator>
      <dc:date>2017-02-03T18:37:44Z</dc:date>
    </item>
    <item>
      <title>How do I access the Micro Focus Data Tools from within the Visual Studio IDE?</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-do-I-access-the-Micro-Focus-Data-Tools-from-within-the/ta-p/1747201</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;I want to use the Micro Focus Data Tools from within the Visual Studio IDE. How do I do this?&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;SPAN style="font-size:medium;"&gt;Add the MF Data Tools to the Tools menu within the IDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:Calibri;font-size:medium;"&gt;From within the Visual Studio IDE menu select &lt;EM&gt;&lt;STRONG&gt;Tools&lt;/STRONG&gt; &lt;/EM&gt;&amp;gt; &lt;EM&gt;&lt;STRONG&gt;External Tools&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:Calibri;font-size:medium;"&gt;In the External Tools dialog box, select &lt;EM&gt;&lt;STRONG&gt;Add&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:Calibri;font-size:medium;"&gt;Enter a name for the menu option in the Title box - &lt;EM&gt;&lt;STRONG&gt;MF Data Tools&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size:small;"&gt;In the Command box, enter the path to &lt;EM&gt;&lt;STRONG&gt;MFDATATOOLS.EXE&lt;/STRONG&gt;&lt;/EM&gt;, or select Browse to navigate to &lt;EM&gt;&lt;STRONG&gt;C:\Program Files (x86)\Micro Focus\Visual COBOL\bin\mfdatatools.exe&lt;/STRONG&gt; &lt;/EM&gt;(installation folder for Visual COBOL).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-size:small;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/externaltools.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/externaltools.PNG" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:Calibri;font-size:medium;"&gt;Select&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;OK&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:Calibri;font-size:medium;"&gt;A command for the tool, using the text you entered as the Title, now appears on the Tools menu. You can start the tool by choosing the new menu command.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:Calibri;font-size:medium;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/menuoption.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/menuoption.PNG" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:Calibri;font-size:medium;"&gt;The Micro Focus Data File Tools appear:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:Calibri;font-size:medium;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/dfed.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/dfed.PNG" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:Calibri;font-size:medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-size:small;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 16:38:19 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-do-I-access-the-Micro-Focus-Data-Tools-from-within-the/ta-p/1747201</guid>
      <dc:creator>Mark_B</dc:creator>
      <dc:date>2017-02-01T16:38:19Z</dc:date>
    </item>
    <item>
      <title>Installation fails with Error 0x80048bc7</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Installation-fails-with-Error-0x80048bc7/ta-p/1745603</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;Installing Visual COBOL 2.3 Update 2 for Visual Studio 2012&amp;nbsp;fails with Error 0x80048bc7 on Windows 10, and the installation log also reports Error 0x80070002 in the following entries:&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;e000: &lt;SPAN style="color:#0000ff;"&gt;Error 0x80070002&lt;/SPAN&gt;: Failed to find payload: visualcobolvisualstudio2012_232x86 in working path: C:\Users\********\AppData\Local\Temp\{f11aaffb-b9a5-4799-96a7-a30788065141}\visualcobolvisualstudio2012_232x86 and unverified path: C:\ProgramData\Package Cache\.unverified\visualcobolvisualstudio2012_232x86&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;e000: &lt;SPAN style="color:#0000ff;"&gt;Error 0x80070002&lt;/SPAN&gt;: Failed to cache payload: visualcobolvisualstudio2012_232x86&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;e314: Failed to cache payload: visualcobolvisualstudio2012_232x86 from working path: C:\Users\********\AppData\Local\Temp\{f11aaffb-b9a5-4799-96a7-a30788065141}\visualcobolvisualstudio2012_232x86, error: 0x80070002.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;e349: Application requested retry of payload: visualcobolvisualstudio2012_232x86, encountered error: 0x80070002. Retrying...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;e000: &lt;SPAN style="color:#ff0000;"&gt;Error 0x80048bc7&lt;/SPAN&gt;: Process returned error: 0x80048bc7&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;e000: &lt;SPAN style="color:#ff0000;"&gt;Error 0x80048bc7&lt;/SPAN&gt;: Failed to execute EXE package.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;e000: &lt;SPAN style="color:#ff0000;font-family:Courier New;"&gt;Error 0x80048bc7&lt;/SPAN&gt;: Failed to configure per-machine EXE package.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;i319: Applied execute package: vs2012isoshell, result: 0x80048bc7, restart: None&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;e000: &lt;SPAN style="color:#ff0000;"&gt;Error 0x80048bc7&lt;/SPAN&gt;: Failed to execute EXE package.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;e000: &lt;SPAN style="color:#ff0000;"&gt;Error 0x80048bc7&lt;/SPAN&gt;: UX aborted cache verify begin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;[...]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;i399: Apply complete, result: &lt;SPAN style="color:#ff0000;"&gt;0x80048bc7&lt;/SPAN&gt;, restart: None, ba requested restart:&amp;nbsp; No&lt;/SPAN&gt;&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;The McAfee anti-virus software for some reason causes the &lt;EM&gt;Error 0x80070002&lt;/EM&gt;, so disabling&amp;nbsp;this software temporarily before installing Visual COBOL resolves that error.&lt;/P&gt;
&lt;P&gt;As for the &lt;EM&gt;Error 0x80048bc7&lt;/EM&gt;, it means "Restart is required before installation can continue." See &lt;A href="https://msdn.microsoft.com/en-us/library/ee225238.aspx"&gt;https://msdn.microsoft.com/en-us/library/ee225238.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;On the machine where this problem occurred, there were some Windows 10 updates in pending and requiring a machine reboot. Restarting the machine does not initiate the update installation in Windows 10. The restart has to be done from Windows Update.&lt;/P&gt;
&lt;P&gt;After installing Windows updates, restarting the machine, and disabling the McAfee anti-virus temporarily, it was possible to install Visual COBOL successfully.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 13:56:09 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Installation-fails-with-Error-0x80048bc7/ta-p/1745603</guid>
      <dc:creator>Fano_MF</dc:creator>
      <dc:date>2017-01-18T13:56:09Z</dc:date>
    </item>
    <item>
      <title>Using Code Coverage with Visual COBOL</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Using-Code-Coverage-with-Visual-COBOL/ta-p/1752994</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;I need to show that I have tested all logical paths through a program.&lt;/SPAN&gt;&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;EM&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;&lt;/EM&gt;: This facility is supported in native COBOL only. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;/P&gt;
&lt;HR /&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size:medium;"&gt;Code Coverage&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;Visual COBOL provides support for code coverage of native COBOL applications directly from within the IDE. In order to produce reports, code coverage needs to be enabled within a project's properties, programs need to be compiled and run with code coverage to produce the relevant reports.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;Follow these instructions to enable code coverage and produce code coverage reports: &lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;Enable Code Coverage on the COBOL page in the properties of the project.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/codecoverset.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/codecoverset.PNG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;Rebuild the project to apply the changesThe application can now be run in code coverage mode by selecting &lt;B&gt;&lt;I&gt;Debug &amp;gt; Start With Micro Focus Code Coverage&lt;/I&gt;&lt;/B&gt;.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/STARTCODECOVER.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/STARTCODECOVER.PNG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;Running the application with code coverage will produce a &lt;B&gt;&lt;I&gt;Results.tcz&lt;/I&gt;&lt;/B&gt; file in the folder specified in &lt;B&gt;&lt;I&gt;Tools &amp;gt; Options &amp;gt; Micro Focus &amp;gt; Code Coverage &amp;gt; Results Options&lt;/I&gt;&lt;/B&gt;. This file provides statistics in the &lt;B&gt;&lt;I&gt;Micro Focus Code Coverage window&lt;/I&gt;&lt;/B&gt; and includes information about the percentage of the code that has been executed, as well using color to indicate areas of the code in the editor that have been executed or not executed. Code execution is logged for each program and sub-program. In addition HTML reports can be created from within the Micro Focus Code Coverage window. If the window is not visible, to display it click &lt;B&gt;&lt;I&gt;View &amp;gt; Micro Focus Code Coverage&lt;/I&gt;&lt;/B&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&amp;nbsp;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/CODECOVER1.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/CODECOVER1.PNG" border="0" /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;Double-clicking on a line within Code Coverage window will place the cursor on the relevant code within the Editor window.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;The color preferences for the colorization of covered and missed blocks can be changed in&amp;nbsp;&lt;B&gt;&lt;I&gt;Tools &amp;gt; Options &amp;gt; Environment &amp;gt; Fonts and Color:&lt;/I&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;B&gt;&lt;I&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/coloropts.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/coloropts.PNG" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/I&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:Calibri;font-size:medium;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;"&gt;The history of running the application with code coverage is saved in a History subfolder in the location of the Results.tcz file. The results from previous runs with code coverage can be loaded into the Micro Focus Code Coverage window (see below).&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:Calibri;font-size:medium;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/cchistory.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/cchistory.PNG" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;Micro Focus Code Coverage Window Toolbar&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/cctoolbar.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/cctoolbar.PNG" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/export.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/export.PNG" border="0" /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/export.PNG"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;Export code coverage information and save it as a .tcz results file.&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/import.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/import.PNG" border="0" /&gt;&lt;/A&gt;Import code coverage information from an existing .tcz results file.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/merge.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/merge.PNG" border="0" /&gt;&lt;/A&gt;Merge results files from different executions with code coverage, this will create a MergedCoverageFile_&lt;I&gt;datetime&lt;/I&gt;.tcz.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/toggle.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/toggle.PNG" border="0" /&gt;&lt;/A&gt;Toggle the code coverage colorization on or off in the editor.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/del.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/del.PNG" border="0" /&gt;&lt;/A&gt;Delete the Results_&lt;I&gt;datetime&lt;/I&gt;.tcz that is currently loaded, this will unload the file from the IDE and deletes it from disk.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/html.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/html.PNG" border="0" /&gt;&lt;/A&gt;Generate the code coverage HTML format reports. This creates the index report file, &lt;B&gt;&lt;I&gt;TCIndex.htm&lt;/I&gt;&lt;/B&gt;, and any of the reports in HTML format.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;"&gt;The IDE preferences determine whether to produce a single HTML report file or multiple reports (individual .HTM files produced for each program):&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/configreports.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/configreports.PNG" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;EM&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;"&gt;Single report file:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/htmlreport1.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/htmlreport1.PNG" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;SPAN&gt;Click on of the &lt;B&gt;&lt;I&gt;tcreport.htm&lt;/I&gt;&lt;/B&gt; link to view the report.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Multiple report files:&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;SPAN&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/htmlreport3.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/htmlreport3.PNG" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;SPAN&gt;Click on the links to view the individual reports.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Example report file:&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;SPAN&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/htmlreport2.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/htmlreport2.PNG" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;SPAN&gt;The report includes a summary of the percentage of statements, Call statements, blocks etc. that have been executed in the program:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;SPAN&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/CCSUMMARY.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/CCSUMMARY.PNG" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;SPAN&gt;For further information, please refer to the product documentation.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;SPAN style="font-family:Calibri;font-size:medium;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top:0in;margin-right:0in;margin-bottom:8pt;"&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;font-size:medium;"&gt;&lt;B&gt;&lt;I&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/I&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt 30px;"&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2016 17:46:09 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Using-Code-Coverage-with-Visual-COBOL/ta-p/1752994</guid>
      <dc:creator>Mark_B</dc:creator>
      <dc:date>2016-12-16T17:46:09Z</dc:date>
    </item>
    <item>
      <title>Java Consuming COBOL Web Service example</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Files/Java-Consuming-COBOL-Web-Service-example/ta-p/1689566</link>
      <description>&lt;P&gt;This file contains an example of Java consuming a COBOL Web Service.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2016 13:37:57 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Files/Java-Consuming-COBOL-Web-Service-example/ta-p/1689566</guid>
      <dc:creator>Chris Glazier</dc:creator>
      <dc:date>2016-12-15T13:37:57Z</dc:date>
    </item>
    <item>
      <title>Using CSI with Visual COBOL</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Using-CSI-with-Visual-COBOL/ta-p/1753049</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;How do I use&amp;nbsp;COBOL Source Information (&lt;B&gt;CSI&lt;/B&gt;) with Visual COBOL?&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size:medium;"&gt;Overview&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;COBOL Source Information (&lt;B&gt;CSI&lt;/B&gt;) is a well-established code analysis view of COBOL programs, and is available within Visual COBOL. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;CSI displays information about programs based on queries and displays the results in &lt;/SPAN&gt;the Micro Focus Code Analysis window&lt;SPAN style="font-size:small;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;CSI queries provide a wide range of information about a program, for example: &lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="margin-top:0in;margin-right:0in;margin-bottom:6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;Where data items are defined, used, and modified. &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="margin-top:0in;margin-right:0in;margin-bottom:6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;Where paragraphs and sections are executed. &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="margin-top:0in;margin-right:0in;margin-bottom:6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;Which procedures a paragraph or section executes. &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="margin-top:0in;margin-right:0in;margin-bottom:6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;Where subprograms are called. &lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="margin-top:0in;margin-right:0in;margin-bottom:6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;The copybook structure of&amp;nbsp;a program.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P style="margin-top:0in;margin-right:0in;margin-bottom:6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size:medium;"&gt;Running CSI Queries&lt;/SPAN&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-top:0in;margin-right:0in;margin-bottom:6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;There are a number of ways to run a CSI Query:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="margin-top:0in;margin-right:0in;margin-bottom:6pt;"&gt;Click the &lt;STRONG&gt;Quick Browse button&amp;nbsp;&lt;/STRONG&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/quickbrowseicon.jpg"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/quickbrowseicon.jpg" border="0" /&gt;&lt;/A&gt; on the COBOL toolbar.&lt;BR /&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;This invokes the CSI query control.&amp;nbsp;A&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size:small;"&gt;CSI query can be entered followed by&amp;nbsp;Enter. In the example below the Special Query &lt;STRONG&gt;COPY&lt;/STRONG&gt; has been entered:&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size:small;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/csiquerycontrol1.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/csiquerycontrol1.PNG" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;The query results&amp;nbsp;are displayed&amp;nbsp;in the Micro Focus Code Analysis window:&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/csi-copybookstr.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/csi-copybookstr.PNG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;There are a number of Special Queries that return a&amp;nbsp;range of information about a program. Please refer to the product documentation for further details.&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;In addition some of these Special Queries are available from the Micro Focus Code Analysis context menu.&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;STRONG&gt;COBOL verbs&lt;/STRONG&gt; and groups of verbs can also be typed into the CSI query control, for example to find all file operations: OPEN, CLOSE, READ, WRITE, DELETE, START, and REWRITE&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;the key word &lt;STRONG&gt;I-O&lt;/STRONG&gt; can be used:&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Alt+Q&lt;BR /&gt;&lt;/STRONG&gt;Placing the cursor on a data item and using the shortcut Alt+Q, will return information about where the item is defined, referenced, modified etc.:&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/csidataitem.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/csidataitem.PNG" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Placing the cursor on a section or paragraph name&amp;nbsp;and using the shortcut Alt+Q, will return information about where the section is executed from, what it executes and any data items used:&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/csisection.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/csisection.PNG" border="0" /&gt;&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Context menu&lt;BR /&gt;&lt;/STRONG&gt;Right click to invoke the context menu after placing the cursor on a section or paragraph name&amp;nbsp;or data item etc.:&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/context.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/context.PNG" border="0" /&gt;&lt;/A&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;Micro Focus Code Analysis window&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;There are a number of&amp;nbsp;different operations that&amp;nbsp;can be performed from Micro Focus Code Analysis Window:&lt;!-- --&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;B&gt;&lt;I&gt;Run a previous query &lt;/I&gt;&lt;/B&gt;- select a report from the list box to run it again. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;B&gt;&lt;I&gt;Rerun a query&lt;/I&gt;&lt;/B&gt; - Rerun a query. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;B&gt;&lt;I&gt;Hide copybooks from the report&lt;/I&gt;&lt;/B&gt; – exclude results for copybooks, toggle to show the details for all files listed in a report (includes copybooks). &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;B&gt;&lt;I&gt;Hide the details from the report &lt;/I&gt;&lt;/B&gt;– show / hide report details. Right-click and select Expand All / Collapse All. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;B&gt;&lt;I&gt;Navigate to the code &lt;/I&gt;&lt;/B&gt;- Double-click on a line in the window to navigate to that line in the source code in the editor. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;B&gt;&lt;I&gt;Arrange the results&lt;/I&gt;&lt;/B&gt; - Toggle between arranging the results - &lt;I&gt;Group By Program&lt;/I&gt; or &lt;I&gt;Group By Rule&lt;/I&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;B&gt;&lt;I&gt;Toggle highlighting of results in the code &lt;/I&gt;&lt;/B&gt;– show / hide highlighting in source code.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 8pt;"&gt;&lt;SPAN style="font-family:Calibri;"&gt;&lt;EM&gt;&lt;STRONG&gt;Copy lines from the report&lt;/STRONG&gt;&lt;/EM&gt; - highlight and copy results to the clipboard.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2016 18:25:49 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Using-CSI-with-Visual-COBOL/ta-p/1753049</guid>
      <dc:creator>Mark_B</dc:creator>
      <dc:date>2016-12-05T18:25:49Z</dc:date>
    </item>
    <item>
      <title>Using files defined as EXTERNAL with Visual COBOL</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Using-files-defined-as-EXTERNAL-with-Visual-COBOL/ta-p/1753191</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;Many Visual COBOL projects may use the same EXTERNAL&amp;nbsp;data files, this usually would require setting an environment variable for each file within an Application.config.&lt;/P&gt;
&lt;P&gt;How can&amp;nbsp;these file mappings&amp;nbsp;be achieved without the use of an Application.config?&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-size:medium;"&gt;Setting&amp;nbsp;EXTERNAL file variables within a Visual COBOL project&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-size:small;"&gt;In the example below, an entry needs to be added to an Application.config file (Environment) in order for the physical file assignment for the SELECT clause to be resolved:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-size:small;"&gt;&amp;nbsp;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/source.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/source.PNG" border="0" /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;If &lt;STRONG&gt;EXTERNAL&lt;/STRONG&gt; does not appear in the SELECT statement, the program &lt;SPAN style="text-decoration:underline;"&gt;&lt;STRONG&gt;must&lt;/STRONG&gt;&lt;/SPAN&gt; be compiled with the directive &lt;STRONG&gt;ASSIGN(EXTERNAL)&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/source2.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/source2.PNG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size:small;"&gt;To add an application configuration file, &lt;/SPAN&gt;&lt;SPAN style="font-size:small;"&gt;right-click your project in the Solution Explorer:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size:small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click &lt;STRONG&gt;Add&lt;/STRONG&gt; &amp;gt; &lt;STRONG&gt;New Item&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN style="font-size:small;"&gt;Select &lt;STRONG&gt;Application Configuration File&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="font-size:small;"&gt;Specify a &lt;STRONG&gt;filename&lt;/STRONG&gt; in the &lt;STRONG&gt;Name field &lt;/STRONG&gt;(or leave as is)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Click &lt;STRONG&gt;OK&lt;/STRONG&gt;&lt;SPAN style="font-size:small;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN style="font-size:small;"&gt;&lt;STRONG&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/7725.Appconfig.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/7725.Appconfig.PNG" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size:small;"&gt;Edit the Application.config; add the variable name and file name:&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;H2&gt;&lt;SPAN style="font-size:small;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/envar.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/envar.PNG" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size:small;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P&gt;&lt;SPAN style="font-size:small;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;STRONG&gt;Setting&amp;nbsp;EXTERNAL file variables within the environment&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size:small;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-size:small;"&gt;The environment variable can be set in the environment before launching Visual COBOL. An entry in the Application.config would not be necessary.&lt;/SPAN&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size:small;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-size:small;"&gt;When Visual COBOL is started, it will inherit the settings from the environment, a batch file or script can be used to set up various environment variables and file mappings etc. before launching Visual COBOL.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size:small;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-size:small;"&gt;The most straight-forward way to set the variables externally is to start a Visual COBOL command prompt, then set the file mapping and start Visual COBOL:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size:small;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-size:small;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/cmdprmpt.PNG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/cmdprmpt.PNG" border="0" /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size:small;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-size:small;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;H2&gt;&lt;SPAN style="font-size:small;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;SPAN style="font-size:small;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P style="color:#000000;font-weight:normal;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;STRONG&gt;Creating a script to set COBCPY and launch Visual Studio&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color:#000000;font-weight:normal;"&gt;REM *&lt;BR /&gt;REM * Set File mappings&amp;nbsp;externally then start Visual Studio&lt;BR /&gt;REM *&lt;BR /&gt;REM *&lt;BR /&gt;REM * Call createenv.bat to set the COBOL environment&lt;BR /&gt;REM *&lt;BR /&gt;CALL "C:\Program Files (x86)\Micro Focus\Visual COBOL\createenv.bat"&lt;BR /&gt;REM *&lt;BR /&gt;REM * Add file mappings&lt;BR /&gt;REM *&lt;BR /&gt;SET MASTDAT1=C:\ExternalFilesDemo\DATA\MASTER.DAT&lt;BR /&gt;REM *&lt;BR /&gt;REM * Start Visual Studio ( use MFDEVENVnn - where nn represents version of Visual Studio)&lt;BR /&gt;REM * Alternatively start Visual Studio using DEVENV ("C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\DEVENV:)&lt;BR /&gt;REM * The example above uses Visual Studio 2015.&lt;BR /&gt;REM *&lt;BR /&gt;mfdevenv14.0&lt;BR /&gt;REM *&lt;BR /&gt;REM * Close the command prompt&lt;BR /&gt;REM *&lt;BR /&gt;EXIT&lt;/P&gt;
&lt;H2 style="color:#000000;font-weight:normal;"&gt;&lt;/H2&gt;</description>
      <pubDate>Thu, 03 Nov 2016 18:45:05 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Using-files-defined-as-EXTERNAL-with-Visual-COBOL/ta-p/1753191</guid>
      <dc:creator>Mark_B</dc:creator>
      <dc:date>2016-11-03T18:45:05Z</dc:date>
    </item>
    <item>
      <title>The FaultFinder tool appears to be missing from Visual COBOL</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/The-FaultFinder-tool-appears-to-be-missing-from-Visual-COBOL/ta-p/1748613</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;Under Visual COBOL, the tool named FaultFinder appears to be absent.&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;The FaultFinder tool, which had been available in the Server Express and Net Express products, has been removed from the Visual COBOL and Server for COBOL products on both Windows and Linux/UNIX.&amp;nbsp; Here is a documentation link mentioning this:&lt;/P&gt;
&lt;P&gt;&lt;A title="http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.cobolruntime.win/GUID-B77D3A01-EB52-4775-99D8-0EFB9AAE8D37.html" href="http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.cobolruntime.win/GUID-B77D3A01-EB52-4775-99D8-0EFB9AAE8D37.html" target="_blank"&gt;http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.cobolruntime.win/GUID-B77D3A01-EB52-4775-99D8-0EFB9AAE8D37.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The main alternative diagnostic tool in place of FaultFinder is the Consolidated Tracing Facility:&lt;/P&gt;
&lt;P&gt;&lt;A title="http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.cobolruntime.win/HRCTRHUCTF01.html" href="http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.cobolruntime.win/HRCTRHUCTF01.html" target="_blank"&gt;http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.cobolruntime.win/HRCTRHUCTF01.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For Native COBOL applications, another alternative is Debugging Using a Core Dump. This is similar to FaultFinder, because it allows the state of an application to be saved to disk in a core dump file when the application crashes.&amp;nbsp; You can then use the dump file to help debug problems, as it indicates where in the source code the error occurred, along with the values of variables, expressions, and the contents of memory as they were at the moment the error occurred:&lt;/P&gt;
&lt;P&gt;&lt;A title="http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.vs2015/HHDGCHDEBG09.html" href="http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.vs2015/HHDGCHDEBG09.html" target="_blank"&gt;http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.vs2015/HHDGCHDEBG09.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Another alternative for Native COBOL applications is Just-In-Time Debugging, which allows a debugger to be connected to a running application at the moment an error occurs:&lt;/P&gt;
&lt;P&gt;&lt;A title="http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.vs2015/GUID-1DAAD120-1845-47DC-93B6-61276C7E2CD9.html" href="http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.vs2015/GUID-1DAAD120-1845-47DC-93B6-61276C7E2CD9.html" target="_blank"&gt;http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.vs2015/GUID-1DAAD120-1845-47DC-93B6-61276C7E2CD9.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If the application is running on a production machine separate from the workstation on which a developer is running the Visual Studio for Visual COBOL IDE, the application can be debugged using Remote Debugging, as described here:&lt;/P&gt;
&lt;P&gt;&lt;A title="http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.vs2015/GUID-797E8732-2483-494A-AA4E-B942A1F6A065.html" href="http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.vs2015/GUID-797E8732-2483-494A-AA4E-B942A1F6A065.html" target="_blank"&gt;http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.vs2015/GUID-797E8732-2483-494A-AA4E-B942A1F6A065.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For applications and services running under Enterprise Server, a person can take these debugging approaches:&lt;/P&gt;
&lt;P&gt;&lt;A title="http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.vs2015/HHDGCHDEBGF1.html" href="http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.vs2015/HHDGCHDEBGF1.html" target="_blank"&gt;http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.vs2015/HHDGCHDEBGF1.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 14:19:12 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/The-FaultFinder-tool-appears-to-be-missing-from-Visual-COBOL/ta-p/1748613</guid>
      <dc:creator>Dan Wright</dc:creator>
      <dc:date>2016-11-01T14:19:12Z</dc:date>
    </item>
    <item>
      <title>Error running cesadmintool.sh: "Java not present on PATH(or wrong version)"</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Error-running-cesadmintool-sh-quot-Java-not-present-on-PATH-or/ta-p/1737890</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;While trying to run the Micro Focus License Administration utility /var/microfocuslicensing/bin/cesadmintool.sh, the following error appeared:&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;         Micro Focus License Administration 
        ================================== 
 
        Java not present on PATH(or wrong version). 
        A 32bit Java 1.5 runtime is required to run the license 
        administration tool. 
        Please add java to your PATH and retry. 
&lt;/PRE&gt;
&lt;P&gt;At the time of the error, the Java version was reported as follows:&lt;/P&gt;
&lt;PRE&gt; # java -version 
openjdk version "1.8.0_71" 
OpenJDK Runtime Environment (build 1.8.0_71-b15) 
OpenJDK 64-Bit Server VM (build 25.71-b15, mixed mode) 
&lt;/PRE&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;As explained in the Release Notes, the Visual COBOL product and the Micro Focus License Administration utility require Oracle's Java Platform, Enterprise Edition (Java EE) 7 or Java 8.&amp;nbsp; The Visual COBOL product was not tested or certified with OpenJDK.&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;The solution is to download Oracle's Java EE from Oracle's Web site and install it anywhere on your machine, then set JAVA_HOME to its location, then set PATH to include $JAVA_HOME/bin, for example:&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;export PATH=$JAVA_HOME/bin:$PATH&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 14:18:33 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Error-running-cesadmintool-sh-quot-Java-not-present-on-PATH-or/ta-p/1737890</guid>
      <dc:creator>Dan Wright</dc:creator>
      <dc:date>2016-11-01T14:18:33Z</dc:date>
    </item>
    <item>
      <title>Compilation error: Operand time-of-day is not declared</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Compilation-error-Operand-time-of-day-is-not-declared/ta-p/1738034</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;When compiling a program, the following error is reported by the compiler:&lt;/P&gt;
&lt;P&gt;Operand time-of-day is not declared&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;In both the Server Express documentation and the Visual COBOL documentation, the special register TIME-OF-DAY is documented as being applicable to the OSVS dialect. In addition, the documentation generally says:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;TIME-OF-DAY&amp;nbsp;&amp;nbsp;&amp;nbsp; 9(6) DISPLAY&lt;/P&gt;
&lt;P&gt;The TIME-OF-DAY special register contains the value of the current time of day (24-hour clock) (as supplied by the COBOL execution environment), in the form: hhmmss where hh =hour, mm=minutes, and ss= seconds.&amp;nbsp; TIME-OF-DAY is valid only as the sending area of a MOVE statement.&lt;/P&gt;
&lt;P&gt;Based on the above, here is a sample program I wrote to test this:&lt;/P&gt;
&lt;PRE&gt;000001 IDENTIFICATION DIVISION.&lt;BR /&gt;000002 PROGRAM-ID. TOD-TEST.&lt;BR /&gt;000003 ENVIRONMENT DIVISION.&lt;BR /&gt;000004 CONFIGURATION SECTION.&lt;BR /&gt;000005 DATA DIVISION.&lt;BR /&gt;000006 WORKING-STORAGE SECTION.&lt;BR /&gt;000007 01 TIME-OF-DAY-WS PIC 9(6).&lt;BR /&gt;000008 PROCEDURE DIVISION.&lt;BR /&gt;000009&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MOVE TIME-OF-DAY TO TIME-OF-DAY-WS.&lt;BR /&gt;000010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DISPLAY 'TIME-OF-DAY IS ' TIME-OF-DAY-WS.&lt;BR /&gt;000011&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STOP RUN.
&lt;/PRE&gt;
&lt;P&gt;This compiles successfully under Visual COBOL, and also under Server Express, if and only if one the following compiler directives is specified: OSVS or DOSVS or DIALECT"OSVS" or DIALECT"DOSVS".&amp;nbsp; Here are example command lines:&lt;/P&gt;
&lt;PRE&gt;$&amp;gt; cob TOD-TEST.cbl&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;lt;-- Fails&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MOVE TIME-OF-DAY TO TIME-OF-DAY-WS.&lt;BR /&gt;*&amp;nbsp; 12-S********************&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; **&lt;BR /&gt;**&amp;nbsp;&amp;nbsp;&amp;nbsp; Operand TIME-OF-DAY is not declared&lt;BR /&gt;cob32: error(s) in compilation: TOD-TEST.cbl
&lt;BR /&gt;$&amp;gt; cob -C OSVS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOD-TEST.cbl&amp;nbsp; &amp;lt;-- Succeeds&lt;BR /&gt;$&amp;gt; cob -C DOSVS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOD-TEST.cbl&amp;nbsp; &amp;lt;-- Succeeds&lt;BR /&gt;$&amp;gt; cob -C DIALECT=OSVS&amp;nbsp; TOD-TEST.cbl&amp;nbsp; &amp;lt;-- Succeeds&lt;BR /&gt;$&amp;gt; cob -C DIALECT=DOSVS TOD-TEST.cbl&amp;nbsp; &amp;lt;-- Succeeds
&lt;/PRE&gt;
&lt;P&gt;To make it work with Visual COBOL, specify the OSVS compiler directive, or within a Visual COBOL for Eclipse project, under Properties &amp;gt; Micro Focus &amp;gt; Project Settings &amp;gt; COBOL, in the drop-down named "Language dialect", select "OS/VS COBOL".&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 14:16:40 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Compilation-error-Operand-time-of-day-is-not-declared/ta-p/1738034</guid>
      <dc:creator>Dan Wright</dc:creator>
      <dc:date>2016-11-01T14:16:40Z</dc:date>
    </item>
    <item>
      <title>An indexed file OPEN OUTPUT creates only the .dat file, not the .idx file on disk</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/An-indexed-file-OPEN-OUTPUT-creates-only-the-dat-file-not-the/ta-p/1739456</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;Using Visual COBOL, a program that opens an indexed file for OUTPUT creates just one file on disk, as opposed to the behavior in earlier versions of MF COBOL, where two disk files were created: a data file and an .idx file.&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;In Visual COBOL, the default IDXFORMAT is now IDX8, which creates just one disk file holding both the data and the index.&amp;nbsp; To override this default behavior and configure Visual COBOL to create IDX4 files instead, a person can specify idxformat=4 in the File Handler Configuration file, or use the IDXFORMAT"4" compiler directive, or specify $set idxformat"4" in source code.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2016 14:16:02 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/An-indexed-file-OPEN-OUTPUT-creates-only-the-dat-file-not-the/ta-p/1739456</guid>
      <dc:creator>Dan Wright</dc:creator>
      <dc:date>2016-11-01T14:16:02Z</dc:date>
    </item>
    <item>
      <title>Network deployment of Visual COBOL 2.3 native applications</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Network-deployment-of-Visual-COBOL-2-3-native-applications/ta-p/1755085</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;How to deploy native applications built with Visual COBOL 2.3, Visual COBOL 2.3 Update 1, and Visual COBOL 2.3 Update 2 on the network?&lt;/P&gt;
&lt;H2&gt;Solution:&lt;/H2&gt;
&lt;P&gt;The following instructions are based on a&amp;nbsp;64-bit Windows environment where:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the 32-bit software is installed in &lt;EM&gt;C:\Program Files (x86)&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;Windows keeps the 32-bit system files in &lt;EM&gt;C:\Windows\SysWOW64&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;Windows keeps the 64-bit system files in &lt;EM&gt;C:\Windows\System32&lt;/EM&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;On a 32-bit Windows environment, the software is installed in &lt;EM&gt;C:\Program Files&lt;/EM&gt;, and Windows keeps the system files in &lt;EM&gt;C:\Windows\System32&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Development requirements:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Compile the native COBOL programs with the dynamic link setting.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - click &lt;STRONG&gt;Properties&lt;/STRONG&gt; under project&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - click the &lt;STRONG&gt;Link&lt;/STRONG&gt;&amp;nbsp;property&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - select &lt;STRONG&gt;Dynamic&lt;/STRONG&gt; checkbox&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - rebuild solution&lt;/P&gt;
&lt;P&gt;There are two series of preparations to be done&amp;nbsp;on both server and client sides to allow the COBOL applications to be launched from client machines.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Server setup:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;1. Install &lt;STRONG&gt;COBOL Server &lt;/STRONG&gt;for the intended Visual Studio version &lt;EM&gt;(cs_23.exe, cs_231.exe, or cs_232.exe)&lt;/EM&gt;&lt;BR /&gt;2.&amp;nbsp;Go to&amp;nbsp;&lt;STRONG&gt;Start &amp;gt; All Programs &amp;gt; Micro Focus License Manager &amp;gt; License Administration&lt;/STRONG&gt;&lt;BR /&gt;3.&amp;nbsp;Install the license&lt;BR /&gt;4.&amp;nbsp;Click &lt;STRONG&gt;Options &amp;gt; Advanced Configuration&lt;/STRONG&gt;&lt;BR /&gt;5. Change the value for License Server with the current server's name or&amp;nbsp;IP address&lt;BR /&gt;6. Click &lt;STRONG&gt;Save&lt;/STRONG&gt; and close License Administration&lt;BR /&gt;7. Copy the following files to &lt;STRONG&gt;C:\Program Files (x86)\Micro Focus\COBOL Server\bin&lt;/STRONG&gt;:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\Program Files (x86)\Common Files\Safenet Sentinel\Sentinel RMS License Manager\WinNT\&lt;STRONG&gt;mfcesd.exe&lt;/STRONG&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\Program Files (x86)\Common Files\Safenet Sentinel\Sentinel RMS License Manager\WinNT\&lt;STRONG&gt;mfcesdchk.exe&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\ProgramData\Micro Focus\&lt;STRONG&gt;ces.ini&amp;nbsp;&lt;/STRONG&gt;(note: C:\ProgramData is hidden by default, so the "&lt;EM&gt;Show hidden files, folders, and drives" &lt;/EM&gt;option under &lt;EM&gt;Control Panel &amp;gt; Folder Options &lt;/EM&gt;has to be enabled to make it visible)&lt;BR /&gt;8. Copy&amp;nbsp;C:\Windows\SysWOW64\&lt;STRONG&gt;msvcr110.dll&lt;/STRONG&gt; from the development&amp;nbsp;machine&amp;nbsp;to &lt;STRONG&gt;C:\Program Files (x86)\Micro Focus\COBOL Server\bin&lt;/STRONG&gt;:&lt;BR /&gt;9.&amp;nbsp;If the COBOL application is built as 64-bit, copy C:\Windows\System32\&lt;STRONG&gt;msvcr110.dll&lt;/STRONG&gt; from the development&amp;nbsp;machine&amp;nbsp;to&amp;nbsp;&lt;STRONG&gt;C:\Program Files (x86)\Micro Focus\COBOL Server\bin64&lt;/STRONG&gt;:&lt;BR /&gt;10. Create a network share&amp;nbsp;(e.g. COBOLsrv) off &lt;STRONG&gt;C:\Program Files (x86)\Micro Focus\COBOL Server&lt;/STRONG&gt; and give read-only access to users&lt;BR /&gt;11. if the COBOL application is deployed on the server:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - Create a run-time launch file with a text editor as &lt;STRONG&gt;progname.exe.mfcfg&lt;/STRONG&gt; (where &lt;EM&gt;progname&lt;/EM&gt; is the same name as the .exe) with the following two lines:&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; SET SERVERPATH=\\&lt;EM&gt;ServerName&lt;/EM&gt;\COBOLsrv&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; SET CESDYNAMIC=ces.ini&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; where &lt;EM&gt;ServerName&lt;/EM&gt; should be replaced by the actual server's name or IP address.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; -&amp;nbsp;Place the run-time launch file in the same folder as the .exe file&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Client&amp;nbsp;setup:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;1. Set the &lt;STRONG&gt;PATH&lt;/STRONG&gt; on the&amp;nbsp;client machine&amp;nbsp;to include the COBOL Server's "bin"&amp;nbsp;and application folders:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - if the COBOL application is built as 32-bit:&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; PATH=\\&lt;EM&gt;ServerName&lt;/EM&gt;\COBOLsrv\bin;&amp;lt;AppFolder&amp;gt;;%PATH%&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; where &lt;EM&gt;ServerName&lt;/EM&gt;&amp;nbsp;is the actual server's name or IP address&lt;BR /&gt;&amp;nbsp;&amp;nbsp; where &lt;EM&gt;&amp;lt;AppFolder&amp;gt;&lt;/EM&gt;&amp;nbsp;is the actual application folder&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - if the COBOL application is built as 64-bit:&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; PATH=\\&lt;EM&gt;ServerName&lt;/EM&gt;\COBOLsrv\bin64;\\&lt;EM&gt;ServerName&lt;/EM&gt;\COBOLsrv\bin;&lt;EM&gt;&amp;lt;AppFolder&amp;gt;&lt;/EM&gt;;%PATH%&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; where &lt;EM&gt;ServerName&lt;/EM&gt;&amp;nbsp;is the actual server's name or IP address&lt;BR /&gt;&amp;nbsp;&amp;nbsp; where &lt;EM&gt;&amp;lt;AppFolder&amp;gt;&lt;/EM&gt;&amp;nbsp;is the actual application folder&lt;BR /&gt;2. Set&amp;nbsp;&lt;STRONG&gt;COBDIR&lt;/STRONG&gt;&amp;nbsp;to point to the COBOL Server's share name:&lt;BR /&gt;&lt;SPAN style="font-family:'courier new', courier;"&gt;&amp;nbsp; &amp;nbsp;COBDIR=\\&lt;EM&gt;ServerName&lt;/EM&gt;\COBOLsrv&lt;/SPAN&gt;&lt;BR /&gt;3. if the COBOL application is deployed on the client machine:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - Create a run-time launch file with a text editor as &lt;STRONG&gt;progname.exe.mfcfg&lt;/STRONG&gt; (where &lt;EM&gt;progname&lt;/EM&gt; is the same name as the .exe) with the following two lines:&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; SET SERVERPATH=\\&lt;EM&gt;ServerName&lt;/EM&gt;\COBOLsrv&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; SET CESDYNAMIC=ces.ini&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; where &lt;EM&gt;ServerName&lt;/EM&gt; should be replaced by the actual server's name or IP address.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; -&amp;nbsp;Place the run-time launch file in the same folder as the .exe file&lt;BR /&gt;4. Run the application&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 13:24:04 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Network-deployment-of-Visual-COBOL-2-3-native-applications/ta-p/1755085</guid>
      <dc:creator>Fano_MF</dc:creator>
      <dc:date>2016-10-24T13:24:04Z</dc:date>
    </item>
    <item>
      <title>Network deployment of Visual COBOL 2.2.1 &amp; 2.2.2 native applications</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Network-deployment-of-Visual-COBOL-2-2-1-amp-2-2-2-native/ta-p/1755081</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;How to deploy native applications built with Visual COBOL 2.2 Update 1 and Update 2 on the network?&lt;/P&gt;
&lt;H2&gt;Solution:&lt;/H2&gt;
&lt;P&gt;The following instructions are based on a&amp;nbsp;64-bit Windows environment where:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the 32-bit software is installed in &lt;EM&gt;C:\Program Files (x86)&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;Windows keeps the 32-bit system files in &lt;EM&gt;C:\Windows\SysWOW64&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;Windows keeps the 64-bit system files in &lt;EM&gt;C:\Windows\System32&lt;/EM&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;On a 32-bit Windows environment, the software is installed in &lt;EM&gt;C:\Program Files&lt;/EM&gt;, and Windows keeps the system files in &lt;EM&gt;C:\Windows\System32&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;There&amp;nbsp;is a new method of running an application over the network since Visual COBOL 2.2 Update 1. It consists of using the "runtime launch configuration file", which does not require to run mfcesd.exe explicitly from a .bat file from the client machines.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Development requirements:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Compile the native COBOL programs with the dynamic link setting.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - click &lt;STRONG&gt;Properties&lt;/STRONG&gt; under project&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - click the &lt;STRONG&gt;Link&lt;/STRONG&gt;&amp;nbsp;property&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - select &lt;STRONG&gt;Dynamic&lt;/STRONG&gt; checkbox&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - rebuild solution&lt;/P&gt;
&lt;P&gt;There are two series of preparations to be done&amp;nbsp;on both server and client sides to allow the COBOL applications to be launched from client machines.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Server setup:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;1. Install &lt;STRONG&gt;COBOL Server &lt;/STRONG&gt;for the intended Visual Studio version &lt;EM&gt;(cs201x_221.exe or cs201x_222.exe)&lt;/EM&gt;&lt;BR /&gt;2.&amp;nbsp;Go to&amp;nbsp;&lt;STRONG&gt;Start &amp;gt; All Programs &amp;gt; Micro Focus License Manager &amp;gt; License Administration&lt;/STRONG&gt;&lt;BR /&gt;3.&amp;nbsp;Install the license&lt;BR /&gt;4.&amp;nbsp;Click &lt;STRONG&gt;Options &amp;gt; Advanced Configuration&lt;/STRONG&gt;&lt;BR /&gt;5. Change the value for License Server with the current server's name or&amp;nbsp;IP address&lt;BR /&gt;6. Click &lt;STRONG&gt;Save&lt;/STRONG&gt; and close License Administration&lt;BR /&gt;7. Copy the following files to &lt;STRONG&gt;C:\Program Files (x86)\Micro Focus\COBOL Server 201x\bin&lt;/STRONG&gt;:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\Program Files (x86)\Common Files\Safenet Sentinel\Sentinel RMS License Manager\WinNT\&lt;STRONG&gt;mfcesd.exe&lt;/STRONG&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\Program Files (x86)\Common Files\Safenet Sentinel\Sentinel RMS License Manager\WinNT\&lt;STRONG&gt;mfcesdchk.exe&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\ProgramData\Micro Focus\&lt;STRONG&gt;ces.ini&amp;nbsp;&lt;/STRONG&gt;(note: C:\ProgramData is hidden by default, so the "&lt;EM&gt;Show hidden files, folders, and drives" &lt;/EM&gt;option under &lt;EM&gt;Control Panel &amp;gt; Folder Options &lt;/EM&gt;has to be enabled to make it visible)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\Windows\SysWOW64\&lt;STRONG&gt;msvcr100.dll&lt;/STRONG&gt;&lt;BR /&gt;8. Copy&amp;nbsp;one of the following files&amp;nbsp;(if applicable) from the development&amp;nbsp;machine&amp;nbsp;to &lt;STRONG&gt;C:\Program Files (x86)\Micro Focus\COBOL Server 201x\bin&lt;/STRONG&gt;:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\Windows\SysWOW64\&lt;STRONG&gt;msvcr110.dll&lt;/STRONG&gt; if the COBOL application was built as 32-bit with VS 2012&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\Windows\SysWOW64\&lt;STRONG&gt;msvcr120.dll&lt;/STRONG&gt; if the COBOL application was built as 32-bit with VS 2013&lt;BR /&gt;9.&amp;nbsp;Copy one of the following files&amp;nbsp;(if applicable) from the development&amp;nbsp;machine&amp;nbsp;to&amp;nbsp;&lt;STRONG&gt;C:\Program Files (x86)\Micro Focus\COBOL Server 201x\bin64&lt;/STRONG&gt;:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\Windows\System32\&lt;STRONG&gt;msvcr100.dll&lt;/STRONG&gt; if the COBOL application was built as 64-bit with VS 2010&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\Windows\System32\&lt;STRONG&gt;msvcr110.dll&lt;/STRONG&gt; if the COBOL application was built as 64-bit with VS 2012 &lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\Windows\System32\&lt;STRONG&gt;msvcr120.dll&lt;/STRONG&gt; if the COBOL application was built as 64-bit with VS 2013 &lt;BR /&gt;10. Create a network share&amp;nbsp;(e.g. COBOLsrv) off &lt;STRONG&gt;C:\Program Files (x86)\Micro Focus\COBOL Server 201x&lt;/STRONG&gt; and give read-only access to users&lt;BR /&gt;11. if the COBOL application is deployed on the server:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - Create a run-time launch file with a text editor as &lt;STRONG&gt;progname.exe.mfcfg&lt;/STRONG&gt; (where &lt;EM&gt;progname&lt;/EM&gt; is the same name as the .exe) with the following two lines:&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; SET SERVERPATH=\\&lt;EM&gt;ServerName&lt;/EM&gt;\COBOLsrv&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; SET CESDYNAMIC=ces.ini&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; where &lt;EM&gt;ServerName&lt;/EM&gt; should be replaced by the actual server's name or IP address.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; -&amp;nbsp;Place the run-time launch file in the same folder as the .exe file&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Client&amp;nbsp;setup:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;1. Set the &lt;STRONG&gt;PATH&lt;/STRONG&gt; on the&amp;nbsp;client machine&amp;nbsp;to include the COBOL Server's "bin"&amp;nbsp;and application folders:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - if the COBOL application is built as 32-bit:&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; PATH=\\&lt;EM&gt;ServerName&lt;/EM&gt;\COBOLsrv\bin;&amp;lt;AppFolder&amp;gt;;%PATH%&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; where &lt;EM&gt;ServerName&lt;/EM&gt;&amp;nbsp;is the actual server's name or IP address&lt;BR /&gt;&amp;nbsp;&amp;nbsp; where &lt;EM&gt;&amp;lt;AppFolder&amp;gt;&lt;/EM&gt;&amp;nbsp;is the actual application folder&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - if the COBOL application is built as 64-bit:&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; PATH=\\&lt;EM&gt;ServerName&lt;/EM&gt;\COBOLsrv\bin64;\\&lt;EM&gt;ServerName&lt;/EM&gt;\COBOLsrv\bin;&lt;EM&gt;&amp;lt;AppFolder&amp;gt;&lt;/EM&gt;;%PATH%&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; where &lt;EM&gt;ServerName&lt;/EM&gt;&amp;nbsp;is the actual server's name or IP address&lt;BR /&gt;&amp;nbsp;&amp;nbsp; where &lt;EM&gt;&amp;lt;AppFolder&amp;gt;&lt;/EM&gt;&amp;nbsp;is the actual application folder&lt;BR /&gt;2. Set &lt;STRONG&gt;COBDIR&lt;/STRONG&gt; to point to the COBOL Server's share name:&lt;BR /&gt;&lt;SPAN style="font-family:'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; PATH=\\&lt;EM&gt;ServerName&lt;/EM&gt;\COBOLsrv&lt;/SPAN&gt;&lt;BR /&gt;3. if the COBOL application is deployed on the client machine:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - Create a run-time launch file with a text editor as &lt;STRONG&gt;progname.exe.mfcfg&lt;/STRONG&gt; (where &lt;EM&gt;progname&lt;/EM&gt; is the same name as the .exe) with the following two lines:&lt;BR /&gt;&lt;SPAN style="font-family:'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; SET SERVERPATH=\\&lt;EM&gt;ServerName&lt;/EM&gt;\COBOLsrv&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:'courier new', courier;"&gt;&amp;nbsp;&amp;nbsp; SET CESDYNAMIC=ces.ini&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; where &lt;EM&gt;ServerName&lt;/EM&gt; should be replaced by the actual server's name or IP address.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; -&amp;nbsp;Place the run-time launch file in the same folder as the .exe file&lt;BR /&gt;4. Run the application&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The instructions for "Network deployment of Visual COBOL 2.2 native applications" are still valid to deploy Visual 2.2.1 and 2.2.2 native applications.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 13:22:53 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Network-deployment-of-Visual-COBOL-2-2-1-amp-2-2-2-native/ta-p/1755081</guid>
      <dc:creator>Fano_MF</dc:creator>
      <dc:date>2016-10-24T13:22:53Z</dc:date>
    </item>
    <item>
      <title>Network deployment of Visual COBOL 2.2 native applications</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Network-deployment-of-Visual-COBOL-2-2-native-applications/ta-p/1755089</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;How to deploy native applications built with Visual COBOL 2.2 on the network?&lt;/P&gt;
&lt;H2&gt;Solution:&lt;/H2&gt;
&lt;P&gt;The following instructions are based on a&amp;nbsp;64-bit Windows environment where:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the 32-bit software is installed in &lt;EM&gt;C:\Program Files (x86)&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;Windows keeps the 32-bit system files in &lt;EM&gt;C:\Windows\SysWOW64&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;Windows keeps the 64-bit system files in &lt;EM&gt;C:\Windows\System32&lt;/EM&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;On a 32-bit Windows environment, the software is installed in &lt;EM&gt;C:\Program Files&lt;/EM&gt;, and Windows keeps the system files in &lt;EM&gt;C:\Windows\System32&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;There are two series of preparations to be&amp;nbsp;done on both server and client sides to allow the COBOL applications to be launched from client machines.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Server setup:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;1. Install &lt;STRONG&gt;COBOL Server &lt;/STRONG&gt;for the intended Visual Studio version &lt;EM&gt;(cs201x_22.exe)&lt;/EM&gt;&lt;BR /&gt;2. Go to&amp;nbsp;&lt;STRONG&gt;Start &amp;gt; All Programs &amp;gt; Micro Focus License Manager &amp;gt; License Administration&lt;/STRONG&gt;&lt;BR /&gt;3.&amp;nbsp;Install the license&lt;BR /&gt;4.&amp;nbsp;Click &lt;STRONG&gt;Options &amp;gt; Advanced Configuration&lt;/STRONG&gt;&lt;BR /&gt;5. Change the value for License Server with the current server's name or&amp;nbsp;IP address&lt;BR /&gt;6. Click &lt;STRONG&gt;Save&lt;/STRONG&gt; and close License Administration&lt;BR /&gt;7. Copy the following files to &lt;STRONG&gt;C:\Program Files (x86)\Micro Focus\COBOL Server 201x\bin&lt;/STRONG&gt;:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\Program Files (x86)\Common Files\Safenet Sentinel\Sentinel RMS License Manager\WinNT\&lt;STRONG&gt;mfcesd.exe&lt;/STRONG&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\Program Files (x86)\Common Files\Safenet Sentinel\Sentinel RMS License Manager\WinNT\&lt;STRONG&gt;mfcesdchk.exe&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\ProgramData\Micro Focus\&lt;STRONG&gt;ces.ini&amp;nbsp;&lt;/STRONG&gt;(note: C:\ProgramData is hidden by default, so the "&lt;EM&gt;Show hidden files, folders, and drives" &lt;/EM&gt;option under &lt;EM&gt;Control Panel &amp;gt; Folder Options &lt;/EM&gt;has to be enabled to make it visible)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\Windows\SysWOW64\&lt;STRONG&gt;msvcr100.dll&lt;/STRONG&gt;&lt;BR /&gt;8. Copy&amp;nbsp;one of the following files&amp;nbsp;(if applicable) from the development&amp;nbsp;machine&amp;nbsp;to &lt;STRONG&gt;C:\Program Files (x86)\Micro Focus\COBOL Server 201x\bin&lt;/STRONG&gt;:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\Windows\SysWOW64\&lt;STRONG&gt;msvcr110.dll&lt;/STRONG&gt; if the COBOL application was built as 32-bit with VS 2012&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\Windows\SysWOW64\&lt;STRONG&gt;msvcr120.dll&lt;/STRONG&gt; if the COBOL application was built as 32-bit with VS 2013&lt;BR /&gt;9.&amp;nbsp;Copy one of the following files&amp;nbsp;(if applicable) from the development&amp;nbsp;machine&amp;nbsp;to&amp;nbsp;&lt;STRONG&gt;C:\Program Files (x86)\Micro Focus\COBOL Server 201x\bin64&lt;/STRONG&gt;:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\Windows\System32\&lt;STRONG&gt;msvcr100.dll&lt;/STRONG&gt; if the COBOL application was built as 64-bit with VS 2010&lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\Windows\System32\&lt;STRONG&gt;msvcr110.dll&lt;/STRONG&gt; if the COBOL application was built as 64-bit with VS 2012 &lt;BR /&gt;&amp;nbsp;&amp;nbsp; - C:\Windows\System32\&lt;STRONG&gt;msvcr120.dll&lt;/STRONG&gt; if the COBOL application was built as 64-bit with VS 2013 &lt;BR /&gt;10. Create a network share&amp;nbsp;(e.g. COBOLsrv) off &lt;STRONG&gt;C:\Program Files (x86)\Micro Focus\COBOL Server 201x&lt;/STRONG&gt; and give read-only access to users&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Client setup:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Here is the content of the batch file to launch 32-bit applications:&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;set COBDIR=\\ServerName_Or_IPaddress\COBOLSRV&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;set MFCES_INIT_LOCATION=%COBDIR%\Bin\ces.ini&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;rem comment out the following PATH for running 64-bit applications&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;set PATH=%COBDIR%\bin;%PATH%&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;rem uncomment the following PATH for running 64-bit applications&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;rem set PATH=%COBDIR%\bin64;%COBDIR%\bin;%PATH%&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;rem Checks if MF CES Daemon is running&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;mfcesdchk.exe &amp;gt;nul&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;if errorlevel 1 goto startlic&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;goto startapp&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;:startlic&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;rem&amp;nbsp; Starts MF CES Daemon&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;start /B mfcesd.exe -b&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;:checkloop&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;rem Checks if MF CES Daemon is running&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;mfcesdchk.exe &amp;gt;nul&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;if errorlevel 1 goto checkloop&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;:startapp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;rem Run your application&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2016 13:22:19 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Network-deployment-of-Visual-COBOL-2-2-native-applications/ta-p/1755089</guid>
      <dc:creator>Fano_MF</dc:creator>
      <dc:date>2016-10-24T13:22:19Z</dc:date>
    </item>
    <item>
      <title>Multi-dimensional Tables: Subscript out of Range</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Multi-dimensional-Tables-Subscript-out-of-Range/ta-p/1754353</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;When attempting to access a multi-dimensional table outside of its subscript range, a “subscript out of range” error is not always generated at runtime.&lt;/P&gt;
&lt;P&gt;Given&amp;nbsp;an array M_TABLE:&lt;/P&gt;
&lt;P&gt;01&amp;nbsp;&amp;nbsp;&amp;nbsp; M_TABLE OCCURS 8.&lt;/P&gt;
&lt;P style="margin-left:30px;"&gt;02&amp;nbsp;&amp;nbsp; D-TABLE OCCURS 8.&lt;/P&gt;
&lt;P style="margin-left:30px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 03&amp;nbsp;&amp;nbsp; TABLE_DATA&amp;nbsp;&amp;nbsp; PIC X(5).&lt;/P&gt;
&lt;P&gt;And the Procedure Division statement:&lt;/P&gt;
&lt;P&gt;MOVE “DATA”&amp;nbsp;&amp;nbsp; TO TABLE_DATA (x, y).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the values of x and y were 1 and 9 respectively,&amp;nbsp;a ‘subscript out of range’ error is not generated at runtime even though the value in&amp;nbsp;y is greater than the second dimension of the table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The compiler directives that affect subscripting are SSRANGE and BOUND.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.vs2013/HRCDRHCDIR6Q.html?resultof=%22%73%73%72%61%6e%67%65%22%20"&gt;http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.visualcobol.vs2013/HRCDRHCDIR6Q.html?resultof=%22%73%73%72%61%6e%67%65%22%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.enterprisedeveloper.vs2012/HRCDRHCDIR1H.html?resultof=%22%62%6f%75%6e%64%22%20"&gt;http://documentation.microfocus.com/help/topic/com.microfocus.eclipse.infocenter.enterprisedeveloper.vs2012/HRCDRHCDIR1H.html?resultof=%22%62%6f%75%6e%64%22%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The comments in the BOUND section state:&lt;/P&gt;
&lt;P class="p"&gt;For multi-dimensional tables, only the composite subscript is checked. If any of the individual subscripts or indices is beyond its limit, but the reference remains within the table, no error is produced.&lt;/P&gt;
&lt;P class="p"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p"&gt;In&amp;nbsp;the example above, as the&amp;nbsp;combined subscript (ie 1,9) is still within the physical bounds of the array, no error is produced at runtime,&amp;nbsp;and the data will still be stored within the tables boundaries. This action means that any data already stored in the table could be&amp;nbsp;overwritten and lost.&amp;nbsp;Unpredictable results may be obtained when this area of the table is accessed further in the program.&lt;/P&gt;
&lt;H2 class="p"&gt;Resolution&lt;/H2&gt;
&lt;P class="p"&gt;As the Micro Focus compiler and run time processor can allow an individual subscript&amp;nbsp;of a multi-dimensional table to be outside the range of its own occurrence, it is recommended that checking of subscripts is always&amp;nbsp;coded to ensure this situation does not occur.&lt;/P&gt;
&lt;P class="p"&gt;For example, in the above table:&lt;/P&gt;
&lt;P class="p"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p"&gt;IF (x &amp;lt; 1 OR &amp;gt; &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;
&lt;P class="p"&gt;OR (y &amp;lt; 1 OR &amp;gt; &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;
&lt;P class="p"&gt;THEN&lt;/P&gt;
&lt;P class="p"&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; PERFORM SUBSCRIPT_RANGE_ERROR&lt;/P&gt;
&lt;P class="p"&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; GO TO EXIT_PARA&lt;/P&gt;
&lt;P class="p"&gt;END_IF.&lt;/P&gt;
&lt;H2 class="p"&gt;&lt;/H2&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 14:47:47 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Multi-dimensional-Tables-Subscript-out-of-Range/ta-p/1754353</guid>
      <dc:creator>NickCook</dc:creator>
      <dc:date>2016-10-11T14:47:47Z</dc:date>
    </item>
    <item>
      <title>Error 5487 Failed to write the updated manifest to the resource of file</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Error-5487-Failed-to-write-the-updated-manifest-to-the-resource/ta-p/1736357</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;Although there were no compile and link errors, the build failed and displayed the following error message in the Output window:&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;Error 5487 Failed to write the updated manifest to the resource of file "obj\x86\Release\Program1.exe"&lt;/SPAN&gt;&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;This issue is caused by some antivirus software that prevents the .exe or .dll files to be created on the machine, so the solution has to be addressed with the vendor.&lt;/P&gt;
&lt;P&gt;In the meantime, the workaround is to disable the antivirus software during program build or to configure your antivirus software to exclude your project folder and its subfolders from its scan.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 13:32:24 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Error-5487-Failed-to-write-the-updated-manifest-to-the-resource/ta-p/1736357</guid>
      <dc:creator>Fano_MF</dc:creator>
      <dc:date>2016-10-05T13:32:24Z</dc:date>
    </item>
    <item>
      <title>imtkmake -genwsdl creates code for first endpoint but not for second endpoint</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/imtkmake-genwsdl-creates-code-for-first-endpoint-but-not-for/ta-p/1744648</link>
      <description>&lt;H2 style="padding:0cm 0cm 3pt;"&gt;&lt;B&gt;Problem&lt;/B&gt;&lt;/H2&gt;
&lt;P&gt;imtkmake -genwsdl generates code for the first endpoint, how can you make use of the second endpoint?&lt;/P&gt;
&lt;P&gt;In&amp;nbsp;a WSDL file used to generate the COBOL Proxy,&amp;nbsp; the service has different endpoints (See below).&lt;BR /&gt;&amp;lt;wsdl:service name="DosCom_1_SOAP.serviceagent"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;wsdl:port name="ControlerAdrPstlAssiste_1_s12-edpt" binding="tns:ControlerAdrPstlAssiste_1_s12-edptBinding"&amp;gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;soap1:address location="http://localhost:12345/esb/service/DosCom_1/ControlerAdrPstlAssiste_1_s12"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/wsdl:port&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;wsdl:port name="ControlerAdrPstlRNVP_1-edpt" binding="tns:ControlerAdrPstlRNVP_1-edptBinding"&amp;gt;&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; &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;lt;soap:address location="http://localhost:12345/esb/service/DosCom_1/ControlerAdrPstlRNVP_1"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/wsdl:port&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;wsdl:port name="ControlerAdrPstlAssiste_1-edpt" binding="tns:ControlerAdrPstlAssiste_1-edptBinding"&amp;gt;&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; &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;lt;soap:address location="http://localhost:12345/esb/service/DosCom_1/ControlerAdrPstlAssiste_1"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/wsdl:port&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;wsdl:port name="ControlerAdrPstlRNVP_1_s12-edpt" binding="tns:ControlerAdrPstlRNVP_1_s12-edptBinding"&amp;gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;soap1:address location="http://localhost:12345/esb/service/DosCom_1/ControlerAdrPstlRNVP_1_s12"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/wsdl:port&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/wsdl:service&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;H2 style="padding:0cm 0cm 3pt;"&gt;&lt;B&gt;Resolution&lt;/B&gt;&lt;/H2&gt;
&lt;P&gt;You will have to modify the WSDL manually&amp;nbsp;in order to keep only the second endpoint to have the proxy code to access&amp;nbsp; &lt;A href="http://localhost:12345/esb/service/DosCom_1/ControlerAdrPstlRNVP_1"&gt;http://localhost:12345/esb/service/DosCom_1/ControlerAdrPstlRNVP_1&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;wsdl:port name="ControlerAdrPstlRNVP_1-edpt" binding="tns:ControlerAdrPstlRNVP_1-edptBinding"&amp;gt;&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; &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;lt;soap:address location="http://localhost:12345/esb/service/DosCom_1/ControlerAdrPstlRNVP_1"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/wsdl:port&amp;gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 12:17:30 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/imtkmake-genwsdl-creates-code-for-first-endpoint-but-not-for/ta-p/1744648</guid>
      <dc:creator>Peter_Kalfsbeek</dc:creator>
      <dc:date>2016-10-05T12:17:30Z</dc:date>
    </item>
    <item>
      <title>return code of proxy is 2000 instead of 0</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/return-code-of-proxy-is-2000-instead-of-0/ta-p/1750828</link>
      <description>&lt;H2 style="padding:0cm 0cm 3pt;"&gt;&lt;B&gt;Problem&lt;/B&gt;&lt;/H2&gt;
&lt;P&gt;Compiling the proxy with SIGN(EBCDIC) directive, causes a return code returned by the proxy&amp;nbsp;of 2000 instead of 0.&amp;nbsp;The problem is linked with xs:integer definition in the WSDL file that generate S9(18) COBOL data definition.&lt;BR /&gt;If the SIGN(EBCDIC) is set, the content of the input S9(18) COBOL variables generate this SOAP Issue.&lt;/P&gt;
&lt;H2 style="padding:0cm 0cm 3pt;"&gt;&lt;B&gt;Resolution&lt;/B&gt;&lt;/H2&gt;
&lt;P&gt;Currently the generated client proxy must be SIGN(ASCII). SIGN(EBCDIC) is not supported for imtkmake webservices.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 10:02:11 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/return-code-of-proxy-is-2000-instead-of-0/ta-p/1750828</guid>
      <dc:creator>Peter_Kalfsbeek</dc:creator>
      <dc:date>2016-10-05T10:02:11Z</dc:date>
    </item>
    <item>
      <title>Unable to determine the status of the product license:  MFCES_ERROR_SECURITY_UNCONFIRMED</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Unable-to-determine-the-status-of-the-product-license-MFCES/ta-p/1750970</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;When opening a project, intermittently, the following error message might appear:&lt;BR /&gt;Unable to determine the status of the product license: Unable to retrieve error details for error MFCES_ERROR_SECURITY_UNCONFIRMED&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;See sample screenshot below for further details:&lt;BR /&gt;&lt;SPAN style="font-size:1.5em;"&gt;&amp;nbsp;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/error.png"&gt;&lt;IMG src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/error.png" border="0" alt=" " /&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;This error can occur if the Micro Focus CES Daemon is not started using the Local Windows&amp;nbsp; System account. Check that the Local System account is used to start this service.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 10:08:19 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Unable-to-determine-the-status-of-the-product-license-MFCES/ta-p/1750970</guid>
      <dc:creator>KimH</dc:creator>
      <dc:date>2016-06-15T10:08:19Z</dc:date>
    </item>
    <item>
      <title>Setting COBCPY outside of Visual COBOL project</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Setting-COBCPY-outside-of-Visual-COBOL-project/ta-p/1753429</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;Many Visual COBOL projects may use the same copybooks, this usually would require&amp;nbsp;setting the Copybook Paths within the properties of a project.&lt;/P&gt;
&lt;P&gt;How can the Copybook Paths be set for a Visual COBOL project externally in the environment?&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;&lt;SPAN style="color:#000000;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size:medium;"&gt;Setting up COBOL Copybook Paths within a Project&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:4.3pt 0in 0pt;"&gt;The location of copybooks can be specified in the project properties of a project, on the Copybooks tab, or adding them to the project as linked files or folders.&lt;/P&gt;
&lt;P style="margin:4.3pt 0in 0pt;"&gt;This would need to be set for each project within a solution.&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="color:#000000;font-weight:normal;"&gt;Select the &lt;B&gt;Copybook Paths &lt;/B&gt;tab and select the &lt;B&gt;New Line &lt;/B&gt;icon.&lt;/LI&gt;
&lt;LI style="color:#000000;font-weight:normal;"&gt;Enter the value or browse to location&lt;B&gt; &lt;/B&gt;and select the &lt;B&gt;Check Entries &lt;/B&gt;icon.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P style="color:#000000;font-weight:normal;margin-left:30px;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/cobcpy1.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/cobcpy1.png" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;H2 style="color:#000000;font-weight:normal;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P style="color:#000000;font-weight:normal;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;STRONG&gt;Setting up COBOL Copybook Paths within the environment&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The COBCPY environment variable can be set in the environment before launching Visual COBOL.&lt;/P&gt;
&lt;P&gt;When Visual COBOL is started, it will inherit the settings from the environment, a batch file or script can be used to set up various environment variables and file mappings etc. before launching Visual COBOL.&lt;/P&gt;
&lt;P&gt;In the example below Visual COBOL has been started and the COBCPYSAMP project has been loaded. The copybook search path has &lt;SPAN style="text-decoration:underline;"&gt;not&lt;/SPAN&gt; been defined.&lt;/P&gt;
&lt;P style="color:#000000;font-weight:normal;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;When the COBOL source program is loaded into the text editor the copybooks cannot be found. &lt;SPAN style="font-size:medium;"&gt;&lt;STRONG&gt;&lt;BR style="color:#000000;font-weight:normal;" /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color:#000000;font-weight:normal;margin-left:30px;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/3652.cobcpysamp1.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/3652.cobcpysamp1.png" border="0" /&gt;&lt;/A&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/cobcpysamp2.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/cobcpysamp2.png" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="color:#000000;font-weight:normal;"&gt;The most straight-forward way to set the COBCPY variable externally is to start a Visual COBOL command prompt, then set COBCPY and start Visual Studio:&lt;/P&gt;
&lt;P style="color:#000000;font-weight:normal;margin-left:30px;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/cobcpysamp5.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/cobcpysamp5.png" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="color:#000000;font-weight:normal;"&gt;When Visual COBOL is started, it will inherit the settings from the environment.&lt;/P&gt;
&lt;P&gt;In the example below Visual COBOL has been started and the COBCPYSAMP project has been loaded. The copybook search path has not been defined.&lt;/P&gt;
&lt;P style="color:#000000;font-weight:normal;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;When the COBOL source program is loaded into the text editor the copybooks&lt;SPAN style="text-decoration:underline;"&gt; are&amp;nbsp;&lt;/SPAN&gt;found. &lt;STRONG&gt;&lt;BR style="color:#000000;font-weight:normal;" /&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="color:#000000;font-weight:normal;margin-left:30px;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/3286.cobcpysamp3.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/3286.cobcpysamp3.png" border="0" /&gt;&lt;/A&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/cobcpysamp4.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/cobcpysamp4.png" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;H2 style="color:#000000;font-weight:normal;"&gt;&lt;/H2&gt;
&lt;P style="color:#000000;font-weight:normal;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;STRONG&gt;Creating a script to set COBCPY and launch Visual Studio&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color:#000000;font-weight:normal;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="color:#000000;font-weight:normal;"&gt;REM *&lt;BR /&gt;REM * Set COBCPY externally then start Visual Studio&lt;BR /&gt;REM *&lt;BR /&gt;REM *&lt;BR /&gt;REM * Call createenv.bat to set the COBOL environment&lt;BR /&gt;REM *&lt;BR /&gt;CALL "C:\Program Files (x86)\Micro Focus\Visual COBOL\createenv.bat"&lt;BR /&gt;REM *&lt;BR /&gt;REM * Add the project / solution copyfile location&lt;BR /&gt;REM *&lt;BR /&gt;SET COBCPY=C:\COBCPYSAMP\CPY;%COBCPY%&lt;BR /&gt;REM *&lt;BR /&gt;REM * Start Visual Studio ( use MFDEVENVnn - where nn represents version of Visual Studio)&lt;BR /&gt;REM * Alternatively start Visual Studio using DEVENV ("C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\DEVENV:)&lt;BR /&gt;REM * The example above uses Visual Studio 2015.&lt;BR /&gt;REM *&lt;BR /&gt;mfdevenv14.0&lt;BR /&gt;REM *&lt;BR /&gt;REM * Close the command prompt&lt;BR /&gt;REM *&lt;BR /&gt;EXIT&lt;/P&gt;
&lt;P style="color:#000000;font-weight:normal;"&gt;&lt;/P&gt;
&lt;P style="color:#000000;font-weight:normal;"&gt;&lt;/P&gt;
&lt;P style="color:#000000;font-weight:normal;"&gt;&lt;/P&gt;
&lt;H2 style="color:#000000;font-weight:normal;"&gt;&lt;/H2&gt;
&lt;P style="color:#000000;font-weight:normal;"&gt;&lt;/P&gt;
&lt;P style="color:#000000;font-weight:normal;"&gt;&lt;/P&gt;
&lt;P style="color:#000000;font-weight:normal;"&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 18:01:10 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Setting-COBCPY-outside-of-Visual-COBOL-project/ta-p/1753429</guid>
      <dc:creator>Mark_B</dc:creator>
      <dc:date>2016-06-02T18:01:10Z</dc:date>
    </item>
    <item>
      <title>How to set the default userID for remote reconnections in the Eclipse IDE</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-set-the-default-userID-for-remote-reconnections-in-the/ta-p/1742203</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;How to change the default userID for remote reconnections in the Eclipse IDE.&lt;/P&gt;
&lt;P&gt;When creating a new remote connection the userID field in the Eclipse IDE will be populated with the currently logged on Windows user ID.&amp;nbsp; This can lead to problems when connecting to a remote Linux/UNIX machine as the userID’s on those Operating Systems are case sensitive whereas this is not the case in a Windows environment.&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;The Eclipse IDE allows for the setting of the default userID values per remote connection type.&lt;BR /&gt;&lt;BR /&gt; To make these changes:&lt;BR /&gt;&lt;BR /&gt;Start the Eclipse IDE and from the pull-down menu, select Window\Preferences\Remote Systems to display the list of remote connections defined on the machine.&lt;BR /&gt;&lt;BR /&gt;The userID fields can be edited by clicking on them.&amp;nbsp; Click on the “Default User ID” field for the relevant remote connection and ensure the value exactly matches (case sensitive) the Linux userID.&amp;nbsp; Click OK to save the new settings which will now be used when creating a new remote connection in the Eclipse IDE.&lt;BR /&gt;&lt;BR /&gt;This same approach should be adopted for each connection type planned to be used, e.g. Micro Focus DevHub using RSE, Micro Focus DevHub using Samba, etc.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 13:45:59 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-set-the-default-userID-for-remote-reconnections-in-the/ta-p/1742203</guid>
      <dc:creator>KimH</dc:creator>
      <dc:date>2016-05-03T13:45:59Z</dc:date>
    </item>
    <item>
      <title>No revoke option seen in Visual COBOL Version 2.0 and above.</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/No-revoke-option-seen-in-Visual-COBOL-Version-2-0-and-above/ta-p/1755566</link>
      <description>&lt;H2 class="sectiontitle"&gt;Problem:&lt;/H2&gt;
&lt;DIV class="section"&gt;In&amp;nbsp;Visual COBOL 2.0 and earlier product versions, there was an option in the license system&amp;nbsp;to revoke a license, but with newer product versions there is only a remove option -&amp;nbsp;Why?&lt;/DIV&gt;
&lt;DIV class="section"&gt;
&lt;H2 class="sectiontitle"&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;Visual COBOL version 2.0 onwards&amp;nbsp;uses Pre-Authorised license technology and will be received in form of a license file.&lt;/P&gt;
&lt;P&gt;These are pre-authorised meaning revoking a license is not necessary.&lt;/P&gt;
&lt;P&gt;When Licencing Visual COBOL version 2.0 and later versions, use the aforementioned license file when, for example reinstalling the product.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Apr 2016 13:24:35 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/No-revoke-option-seen-in-Visual-COBOL-Version-2-0-and-above/ta-p/1755566</guid>
      <dc:creator>KimH</dc:creator>
      <dc:date>2016-04-18T13:24:35Z</dc:date>
    </item>
    <item>
      <title>How to configure CTF to capture events for RunUnits in COBOL</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-configure-CTF-to-capture-events-for-RunUnits-in-COBOL/ta-p/1739178</link>
      <description>&lt;H2 class="sectiontitle"&gt;Problem:&lt;/H2&gt;
&lt;DIV class="section"&gt;How to configure CTF to capture events for RunUnits in COBOL.&lt;BR /&gt;&lt;BR /&gt; This article assumes&amp;nbsp;an understanding of&amp;nbsp;CTF (Consolidated Tracing Facility), but requires additional tracing enabled for code executing within Run Units.&lt;/DIV&gt;
&lt;DIV class="section"&gt;CTF (Consolidated Tracing Facility) can capture events for Run Units but it is not clearly stated which emitters are needed to enable this.&lt;/DIV&gt;
&lt;DIV class="section"&gt;
&lt;H2 class="sectiontitle"&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;The&amp;nbsp;CTF Configuration file&amp;nbsp;should have the&amp;nbsp;the following emitters:&lt;/P&gt;
&lt;P&gt;mftrace.emitter.textfile#Format = $(RUNUNIT) $(TIME) $(THREAD) $(COMPONENT) $(EVENT) $(LEVEL) $(DATA)&lt;BR /&gt;&lt;SPAN style="font-size:12px;"&gt;mftrace.emitter.textfile#RununitID=True &lt;BR /&gt;mftrace.emitter.textfile#MultiProc=True&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 18 Apr 2016 13:24:27 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-configure-CTF-to-capture-events-for-RunUnits-in-COBOL/ta-p/1739178</guid>
      <dc:creator>KimH</dc:creator>
      <dc:date>2016-04-18T13:24:27Z</dc:date>
    </item>
    <item>
      <title>Unable to Install the MFLicenseServer on SUSE 12 SP1</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Unable-to-Install-the-MFLicenseServer-on-SUSE-12-SP1/ta-p/1751202</link>
      <description>&lt;P&gt;&lt;B&gt;Problem:&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;During the Visual COBOL or Enterprise&amp;nbsp;Developer&amp;nbsp;installation on SUSE 12 SP1&amp;nbsp;installation, the Visual COBOL product will be installed, but the MFLicenseServerInstall.sh call made during the installation will fail to extract the binaries necessary to install the licensing system. During debug, a pax: Bad Option: -O. error message&amp;nbsp;will be noted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Resolution:&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;At line 1989 in MFLicenseServerInstall.sh &lt;BR /&gt;Change the following line and remove ! from the if statment.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt; if [ "$platform.x" != "Linux_ppc.x" ]&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt; to&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt; if [ "$platform.x" ="Linux_ppc.x" ]&amp;nbsp;&lt;BR /&gt; &lt;BR /&gt;Then the installer should work and extract the binaries and complete successfully.&lt;/P&gt;
&lt;P&gt;This issue will be resolved in Visual COBOL and Enterprise Developer 2.3 Update 1 Hotfix1.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 13:01:42 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Unable-to-Install-the-MFLicenseServer-on-SUSE-12-SP1/ta-p/1751202</guid>
      <dc:creator>ppimental</dc:creator>
      <dc:date>2016-04-13T13:01:42Z</dc:date>
    </item>
    <item>
      <title>Debugging Using Core Dumps</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Debugging-Using-Core-Dumps/ta-p/1741857</link>
      <description>&lt;H2 style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;Problem:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;How to generate and debug core dump with Visual COBOL.&lt;/SPAN&gt;&lt;/P&gt;
&lt;H2 style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;Resolution:&amp;nbsp;&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;/P&gt;
&lt;DIV style="background:#daeef3;padding:4pt 5pt 5pt;border:1pt solid #1f497d;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P style="background:#daeef3;margin:3pt 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;&lt;STRONG&gt;Restriction: &lt;/STRONG&gt;The following information applies to &lt;STRONG&gt;NATIVE&lt;/STRONG&gt; code only.&lt;/SPAN&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size:small;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;When an application crashes, its state can be saved to disk in a core dump file. Once a core dump is generated, it can be loaded into the development environment where it can be examined. The dump file can be used to help debug problems, as it indicates where in the source code the error occurred, along with the values of variables, expressions, and the contents of memory as they were at the moment the error occurred. This is most useful in a production environment where it is unlikely that a debugger can be dynamically attached: the core dump can be obtained and then analyzed on another system. The source files and .IDY file(s) must be available for the program(s) that fail, as this allows the core dump to show as much information as possible regarding the state of the program at failure time. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="color:#000000;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size:medium;"&gt;Run-time Tunables&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;Some run-time behavior cannot be configured using the IDE; this must be configured using run-time tunables, which are set in a run-time configuration file. A text-based run-time configuration file should be created specifying the run-time tunables. Alternatively an application configuration file, &lt;B&gt;Application.config&lt;/B&gt; can be used (see below). Additionally a core dump file can be created using &lt;B&gt;CBLCORED&lt;/B&gt; (see below).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;The &lt;B&gt;COBCONFIG_&lt;/B&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size:small;"&gt;environment variable should be set to locate the configuration file, for example:&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;
&lt;TABLE cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD align="left" valign="top" style="padding:0in;border:#000000;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P style="margin:3pt 0in;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family:Courier New;"&gt;&lt;SPAN style="color:#4f6228;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color:#4f6228;"&gt;SET COBCONFIG_=C:\Config\COBCONFIG.CFG&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P style="margin:3pt 0in;"&gt;&lt;SPAN style="color:#000000;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size:small;"&gt;Configuration file contents&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;
&lt;TABLE cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD align="left" valign="top" style="padding:0in;border:#000000;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P style="margin:3pt 0in 3pt 0.25in;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-family:Courier New;"&gt;&lt;SPAN style="color:#4f6228;"&gt;SET CORE_ON_ERROR=131&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#4f6228;"&gt; SET CORE_FILENAME=”C:\\COREDUMP\\CORE\\core.%f.@%t.%d”&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;B&gt;&lt;SPAN style="font-size:small;"&gt;CORE_ON_ERROR&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="font-size:small;"&gt; - &lt;/SPAN&gt;Specifies the circumstances in which a core file is produced:&lt;/P&gt;
&lt;P style="margin:3pt 0in 3pt 0.5in;"&gt;0 - &lt;SPAN style="font-size:small;"&gt;The run-time system never produces a core file on any exception or run-time system error. This is the default behavior of the run-time system.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 3pt 0.5in;"&gt;&lt;SPAN style="font-size:small;"&gt;1 - The run-time system produces a core file when any exception is received that would normally produce a core file on the host system; for example, a run-time system error COBRT153, and so on.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 3pt 0.5in;"&gt;&lt;SPAN style="font-size:small;"&gt;2 - The run-time system produces a core file when any run-time system error occurs. After writing out the core file the process terminates immediately.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 3pt 0.5in;"&gt;&lt;SPAN style="font-size:small;"&gt;3 - The run-time system produces a snap shot core file when any run-time system error occurs. After writing out the core file the process continues as normal; for example, to display an RTS error message.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 3pt 0.5in;"&gt;&lt;SPAN style="font-size:small;"&gt;129 - Same as &lt;STRONG&gt;core_on_error=1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size:small;"&gt;, except no message box is displayed after the core file is created.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 3pt 0.5in;"&gt;130 - &lt;SPAN style="font-size:small;"&gt;Same as &lt;/SPAN&gt;&lt;SPAN style="font-size:small;"&gt;core_on_error=2&lt;/SPAN&gt;&lt;SPAN style="font-size:small;"&gt;, except no message box is displayed after the core file is created.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 3pt 0.5in;"&gt;&lt;SPAN style="font-size:small;"&gt;131 - Same as core_on_error=3&lt;/SPAN&gt;&lt;SPAN style="font-size:small;"&gt;, except no message box is displayed after the core file is created.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;B&gt;&lt;SPAN style="font-size:small;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;B&gt;&lt;SPAN style="font-size:small;"&gt;CORE_FILENAME - &lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="font-size:small;"&gt;Specifies the name of the file that will be produced when a core file is generated:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;Using the example above a file will be produced and placed in the directory C:\COREDUMP\CORE\ when a program &lt;B&gt;&lt;I&gt;153core&lt;/I&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size:small;"&gt; is run and produces a runtime error. The %f adds the base name of the program that encountered the error; %d adds the date and the %t adds the time to the filename.&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size:small;"&gt; By default the core file will be created in the same location as the executable files, however the file can be redirected to a specific location. On Windows platforms, in order to use the backslash in a path, it must be preceded with the escape character, which is also a backslash. The result would be: &lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;B&gt;C:\coredemo\core\core.153core.122536.20160401&lt;/B&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;B&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/cmd.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/cmd.png" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="color:#000000;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size:medium;"&gt;Configuring Debug Settings&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;Load the Visual Studio solution / Project that created the application.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;The Debug settings for the Visual Studio project need to be changed to&lt;B&gt;&lt;I&gt; Start external program &lt;/I&gt;&lt;/B&gt;and point to the core dump file&lt;/SPAN&gt;&lt;SPAN style="font-size:small;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/debugset.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/debugset.png" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;Start debugging; the state of the program when it crashed is displayed. The program can now examined at the point at which the crash occurred:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/vcdebug.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/vcdebug.png" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;H2 style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="color:#000000;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size:medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="color:#000000;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-size:medium;"&gt;Using an Application.config&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;&lt;SPAN style="font-size:small;"&gt;This can be used as an alternative method to the one described above.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;When building executables within the Visual Studio IDE, an Application.config file can be created in order to set various run-time tunables.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;The build process will create an &lt;SPAN style="font-family:courier new,courier;"&gt;&lt;STRONG&gt;&amp;lt;executable-base-name&amp;gt;.exe.mfgcf&lt;/STRONG&gt;&lt;/SPAN&gt; file in the&amp;nbsp;output folder, for example &lt;SPAN style="font-family:courier new,courier;"&gt;&lt;STRONG&gt;153core.exe.mfgcf&lt;/STRONG&gt;&lt;/SPAN&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/2projconfig.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/2projconfig.png" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;To set run-time configuration options, select the Run-time Configuration tab &amp;gt; Error Handling.&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="color:#000000;font-weight:normal;"&gt;
&lt;P style="color:#000000;font-weight:normal;"&gt;Set the &lt;B&gt;Core dump file name&lt;/B&gt; to required properties of the core_filename.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;Set the &lt;B&gt;Generate a core dump when a run-time error occurs&lt;/B&gt; = 131 (or any of the other core_on_error values as required).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/rtconfig.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/rtconfig.png" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Running the program from within the Visual Studio IDE (CTRL+F5):&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/5428.cmd2.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/5428.cmd2.png" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Or running the program from a Visual COBOL command prompt:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/6708.cmd3.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/6708.cmd3.png" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;The core dump will be created in the same location as the program executable, unless a specific path is specified,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;For example &lt;B&gt;C:\coredemo2\coredemo2\bin\x86\Debug\core.153core.20160407.120711&lt;/B&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;STRONG&gt;Configuring Debug Settings&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;Load the Visual Studio solution / Project that created the application.&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;The Debug settings for the Visual Studio project need to be changed to&lt;B&gt;&lt;I&gt; Start external program &lt;/I&gt;&lt;/B&gt;and point to the core dump file:&lt;/P&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/2287.debugset2.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/2287.debugset2.png" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;Start debugging; the state of the program when it crashed is displayed. The program can now examined at the point at which the crash occurred:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/8156.vcdebug2.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/8156.vcdebug2.png" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;H2 style="margin:0in 0in 6pt;"&gt;&lt;SPAN style="font-size:medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/H2&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;STRONG&gt;Using CBLCORED&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;STRONG&gt;&amp;nbsp;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;CBLCORED is a command line utility that can be enabled before running a COBOL application.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;In a COBOL Server production environment a core dump can be created and then analyzed on another system that has the development environment together with the source and .idy files available.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;/P&gt;
&lt;DIV style="background:#daeef3;padding:4pt 5pt 5pt;border:1pt solid #1f497d;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;When CBLCORED is run a dialog is displayed in order to determine how the utility will behave.&lt;/SPAN&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P style="background:#daeef3;margin:3pt 0in 6pt;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/0312.cblcored1.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/0312.cblcored1.png" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="color:#000000;font-weight:normal;"&gt;
&lt;P style="color:#000000;font-weight:normal;"&gt;&lt;B&gt;&lt;I&gt;Disabled&lt;/I&gt;&lt;/B&gt; - core dump not required.&lt;/P&gt;
&lt;/LI&gt;
&lt;LI style="color:#000000;font-family:'Arial',sans-serif;font-size:10pt;font-weight:normal;"&gt;
&lt;P style="color:#000000;font-family:'Arial',sans-serif;font-size:10pt;font-weight:normal;"&gt;&lt;B&gt;&lt;I&gt;Enabled with prompt&lt;/I&gt;&lt;/B&gt; – a message box is displayed when a core dump is about to be created, for example:&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/6138.cblcored2.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/6138.cblcored2.png" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI style="color:#000000;font-family:'Arial',sans-serif;font-size:10pt;font-weight:normal;"&gt;&lt;B&gt;&lt;I&gt;Enabled with no prompt&lt;/I&gt;&lt;/B&gt; – no message box displayed when a core dump is about to be created.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P style="color:#000000;font-family:'Arial',sans-serif;font-size:10pt;font-weight:normal;"&gt;When the program fails, a core dump file &lt;B&gt;&lt;I&gt;CBLCORE&lt;/I&gt;&lt;/B&gt; will be created in the same folder as the application:&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/8510.cblcored3.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/8510.cblcored3.png" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin:3pt 0in 6pt;"&gt;&lt;SPAN style="font-size:medium;"&gt;&lt;STRONG&gt;Configuring Debug Settings&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;Load the Visual Studio solution / Project that created the application.&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;The Debug settings for the Visual Studio project need to be changed to&lt;B&gt;&lt;I&gt; Start external program &lt;/I&gt;&lt;/B&gt;and point to the core dump file:&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/0638.cblcored4.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/0638.cblcored4.png" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;Start debugging; the state of the program when it crashed is displayed. The program can now examined at the point at which the crash occurred:&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/vcdebug.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/vcdebug.png" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/6648.coredemo.zip"&gt;6648.coredemo.zip&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/3034.coredemo2.zip"&gt;3034.coredemo2.zip&lt;/A&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 6pt;"&gt;&lt;SPAN style="font-size:small;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 16:19:48 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Debugging-Using-Core-Dumps/ta-p/1741857</guid>
      <dc:creator>Mark_B</dc:creator>
      <dc:date>2016-04-08T16:19:48Z</dc:date>
    </item>
    <item>
      <title>Profiling a Visual COBOL managed code application.</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Profiling-a-Visual-COBOL-managed-code-application/ta-p/1759453</link>
      <description>&lt;P&gt;Profiling a Visual COBOL managed code application.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt; This article aims to provide a "getting started" overview of a possible profiling option for use with a Visual COBOL Managed code Solutions. Note,&amp;nbsp;there are other 3&lt;SUP&gt;rd&lt;/SUP&gt; party .NET managed code profiler tools available to use, but this article only looks at using the profiler tool that ships with Visual Studio.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt; Visual COBOL offers a profiling tool for native Cobol but currently there is no equivalent profiling tool available for managed Cobol, for &amp;nbsp;.NET Framework based managed code applications.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Visual Studio Profiler can also be used to analyse Native code running within a managed Code Solution, but the profiler report is not as clear or easy to understand as many of the section names used in the Cobol Source are converted to internal .NET type names.&lt;/P&gt;
&lt;P&gt;Fortunately&amp;nbsp;the Visual Studio Profiler tool can still be used to great effect, as&amp;nbsp;drilling down through the report will show&amp;nbsp;the source code and same functionality as found with an only managed code project.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt; The Visual Studio Profiler can be used to analyse .NET COBOL applications, for example how long a certain code statements takes to execute.&lt;/P&gt;
&lt;P&gt;Each use case would be different, depending on the&amp;nbsp;issue to be&amp;nbsp;determined, but in general the Visual Studio profiling tools offers a good &amp;nbsp;level of detail in the report it generates.&lt;BR /&gt; &lt;BR /&gt; Please follow the series of screenshots below to see how to&amp;nbsp;get started with the Visual Studio Profiler:&lt;BR /&gt; 1. Ensure the&amp;nbsp;solution open in Visual COBOL for Visual Studio, is the one&amp;nbsp;to generate a profiler report against.&lt;BR /&gt; 2. On the Visual Studio menu click on Analysis &amp;gt; Run Code Analysis:&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/4251.1.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/4251.1.png" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;SPAN style="font-size:12px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;3. This opens the Code Analysis View. From here&amp;nbsp;right click on the relevant report Entry and click on Start Profiling:&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/6254.2.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/6254.2.png" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;SPAN style="font-size:12px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The profiling tool is now executing, gathering data, depending on the size of the application this can take a few minutes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. When complete, the report should be shown and visible as seen in the screenshot below:&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/7127.3.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/7127.3.png" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;SPAN style="font-size:12px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;5. This view shows a high-level overview of the&amp;nbsp;application. The next actions to take would be to select the components of the&amp;nbsp;application to&amp;nbsp;understand more about (profiling). For example,&amp;nbsp;to understand which part of the&amp;nbsp;application takes a long time to complete look at the Inclusive samples column, The screenshot below shows&amp;nbsp;that the Micro Focus Cobol File handler component took roughly 35 % of the total time the application took to complete:&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/4274.4.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/4274.4.png" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;6. Next,&amp;nbsp;click on that entry in the report to drill down to the Source code that took 35% of execution time, to&amp;nbsp;help understand what the code is doing here. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once selected, the report will spilt into several box shaped entries, with each box representing different parts of the&amp;nbsp;application, or methods contained.&lt;/P&gt;
&lt;P&gt;Continue to click on the first box in the report diagrams such as the one shown in the screenshot below&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/4111.5.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/4111.5.png" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;7. Keep on clicking the first box/square/Calling Functions box until the source code view is shown, such&amp;nbsp;as shown below:&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/4265.6.png"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/4265.6.png" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;SPAN style="font-size:12px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;8. This&amp;nbsp;shows&amp;nbsp;useful information, such as the highlighted Source Code statement with&amp;nbsp;percentage values next to each statement. These percentages give&amp;nbsp;more information regarding how long that part of the application took to execute, which&amp;nbsp;can help to understand performance issues, or to highlight&amp;nbsp;how to improve the&amp;nbsp;Cobol application’s process flow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This article is only intended to serve as a basic guide on how to get started with the Visual Studio profiler, to analyse Visual COBOL managed Code Applications. This tool has many more options and features. For further information for this tool, it is recommended to visit Microsoft’s resources to better understand it’s other features.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2016 09:48:06 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Profiling-a-Visual-COBOL-managed-code-application/ta-p/1759453</guid>
      <dc:creator>KimH</dc:creator>
      <dc:date>2016-04-07T09:48:06Z</dc:date>
    </item>
    <item>
      <title>How to install Rumba after Enterprise Developer has been installed?</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-install-Rumba-after-Enterprise-Developer-has-been/ta-p/1740799</link>
      <description>&lt;H2 class="sectiontitle"&gt;Problem:&lt;/H2&gt;
&lt;DIV class="section"&gt;How to install Rumba after Enterprise Developer has been installed?&lt;BR /&gt;&lt;BR /&gt;The Enterprise Developer Installation Wizard presents the option&amp;nbsp;to&amp;nbsp;install Rumba, by&amp;nbsp;enabling a checkbox to install the version of Rumba that is included in the Enterprise Developer Installation Package.&lt;/DIV&gt;
&lt;DIV class="section"&gt;If this is not selected on the initial Enterprise Developer installation, how can it be&amp;nbsp;installed&amp;nbsp;at a later stage?&lt;/DIV&gt;
&lt;DIV class="section"&gt;
&lt;H2 class="sectiontitle"&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;The options to consider are:&lt;/P&gt;
&lt;P&gt;Uninstall Enterprise Developer, then when installing Enterprise Developer to enable the install Rumba checkbox,&lt;/P&gt;
&lt;P&gt;Or&lt;/P&gt;
&lt;P&gt;Locate the Rumba installation file from the Micro Focus SupportLine website and install that separately.&lt;BR /&gt;&lt;BR /&gt;Note&amp;nbsp;that you may require a separate Rumba license for this option.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Apr 2016 09:44:44 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-install-Rumba-after-Enterprise-Developer-has-been/ta-p/1740799</guid>
      <dc:creator>KimH</dc:creator>
      <dc:date>2016-04-07T09:44:44Z</dc:date>
    </item>
    <item>
      <title>How to convert .NET COBOL Application from SQL ODBC to use SQL ADO technology?</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-convert-NET-COBOL-Application-from-SQL-ODBC-to-use-SQL/ta-p/1739367</link>
      <description>&lt;H2 class="sectiontitle"&gt;Problem:&lt;/H2&gt;
&lt;DIV class="section"&gt;Is it possible to&amp;nbsp;convert a&amp;nbsp;.NET COBOL Application from SQL ODBC to use SQL ADO technology? &lt;BR /&gt;&lt;BR /&gt; If planning to migrate or creating a COBOL application using .NET Framework managed code, it is recommended to consider using SQL ADO technology rather than ODBC Technology.&lt;/DIV&gt;
&lt;DIV class="section"&gt;ADO is designed to be used with managed code .NET Framework applications, giving potential easier integration and stability.&lt;/DIV&gt;
&lt;DIV class="section"&gt;
&lt;H2 class="sectiontitle"&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;In terms of&amp;nbsp;COBOL code changes,if you plan to make use of the additional ADO features change any&amp;nbsp;&lt;STRONG&gt;SQL(DBMAN=ODBC)&lt;/STRONG&gt; directives to&amp;nbsp;&lt;STRONG&gt;SQL(DBMAN=ADO)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Additionally, configure&amp;nbsp;the ADO Database Connection (similar concept to&amp;nbsp;configuring an ODBC connection).&lt;/P&gt;
&lt;P&gt;Do this via the ADO.NET Connection Editor tool that ships with Visual COBOL/Enterprise Developer (Accessible via the Windows Start Menu group for the Visual COBOL or Enterprise Developer Program Group &amp;gt; Data Tools &amp;gt; Data Connections).&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Once the&amp;nbsp;ADO connection is set up and&amp;nbsp;SQL DBMAN directive updated, then recompile the&amp;nbsp;application to start using ADO Technology. &lt;BR /&gt;&lt;BR /&gt; For more information regarding how ADO works,&amp;nbsp;try the ADO Sample Solution that ships with Visual COBOL/Enterprise Developer, usually located in path: Enterprise Developer: %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\sql\ado.net Visual COBOL: %PUBLIC%\Documents\Micro Focus\Visual COBOL\Samples\sql\ado.net&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Apr 2016 09:39:39 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-convert-NET-COBOL-Application-from-SQL-ODBC-to-use-SQL/ta-p/1739367</guid>
      <dc:creator>KimH</dc:creator>
      <dc:date>2016-04-07T09:39:39Z</dc:date>
    </item>
    <item>
      <title>How to setup a dynamic SQL ADO connection.</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-setup-a-dynamic-SQL-ADO-connection/ta-p/1742315</link>
      <description>&lt;H2 class="sectiontitle"&gt;Problem:&lt;/H2&gt;
&lt;DIV class="section"&gt;How to setup a dynamic SQL ADO connection.&lt;/DIV&gt;
&lt;DIV class="section"&gt;
&lt;H2 class="sectiontitle"&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;The code below demonstrates how to populate a String variable with an ADO Connection String.&lt;/P&gt;
&lt;P&gt;Use&amp;nbsp;this&amp;nbsp;string variable in the SQL CONNECT statement and the remainder of your SQL statements. &lt;BR /&gt;&lt;BR /&gt; - Start of sample code: &lt;BR /&gt;&lt;BR /&gt; - Create a variable ws-connection-str:&lt;BR /&gt; &lt;STRONG&gt;01 ws-connection-str pic x(5000)&lt;/STRONG&gt;. &lt;BR /&gt;&lt;BR /&gt;- Then in the procedure division:&lt;BR /&gt; &lt;BR /&gt; **** Create an ADO Connection String to establish the ADO.Net Connection.&lt;BR /&gt; &lt;STRONG&gt;string 'Data Source=localhost;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Initial Catalog=MFTest;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Integrated Security=False;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Persist Security Info=False;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'User ID=Thisismyuserid;' *&amp;gt; Specified User ID&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Password=thisismypassword;' *&amp;gt; Specified Password&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Enlist=True;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Pooling=True;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Min Pool Size=0;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Max Pool Size=100;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Asynchronous Processing=False;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Connection Reset=True;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'MultipleActiveResultSets=False;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Replication=False;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Connect Timeout=15;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Encrypt=False;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'TrustServerCertificate=False;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Load Balance Timeout=0;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Packet Size=8000;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Type System Version=Latest;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Application Name=".Net SqlClient Data Provider";'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'User Instance=False;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Context Connection=False;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'Transaction Binding="Implicit Unbind";'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'MultipleActiveResultSets=True;'&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; 'factory=System.Data.SqlClient;' *&amp;gt; Factory used to point to the&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; *&amp;gt; Provider Class we will use.&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; *&amp;gt; Additional settings documented in Microsoft Help &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; delimited by size &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; into ws-connection-str&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; end-string&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt; Next is the SQL Connect statement code: &lt;BR /&gt;&lt;BR /&gt; &lt;STRONG&gt;EXEC SQL &lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; CONNECT using :ws-connection-str&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; END-EXEC&lt;/STRONG&gt; &lt;BR /&gt; IF SQLCODE = 0&lt;BR /&gt; DISPLAY "Connected via a Connection String"&lt;BR /&gt; DISPLAY "The Connection string could be in code"&lt;BR /&gt; EXEC SQL &lt;BR /&gt; DISCONNECT CURRENT&lt;BR /&gt; END-EXEC&lt;BR /&gt; IF SQLCODE NOT = 0 &lt;BR /&gt; DISPLAY "DISCONNECT ERROR"&lt;BR /&gt; STOP RUN&lt;BR /&gt; END-IF&lt;BR /&gt; END-IF&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 07 Apr 2016 09:38:15 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-setup-a-dynamic-SQL-ADO-connection/ta-p/1742315</guid>
      <dc:creator>KimH</dc:creator>
      <dc:date>2016-04-07T09:38:15Z</dc:date>
    </item>
    <item>
      <title>How to call a second windows form from a first Windows form in a .NET Framework Application</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-call-a-second-windows-form-from-a-first-Windows-form-in-a/ta-p/1738813</link>
      <description>&lt;H2 class="sectiontitle"&gt;Problem:&lt;/H2&gt;
&lt;DIV class="section"&gt;How to call a second windows form from a first Windows form in a .NET framework application.&lt;/DIV&gt;
&lt;DIV class="section"&gt;
&lt;H2 class="sectiontitle"&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;Assuming the&amp;nbsp;Visual COBOL for Visual Studio .NET framework windows form application, has a second&amp;nbsp;form called Form2 -&amp;nbsp;call this Form2 Window by using code as follows: &lt;BR /&gt;&lt;BR /&gt; &lt;STRONG&gt;declare myform2 as type call2ndform.Form2 = new call2ndform.Form2&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN style="font-size:12px;"&gt;invoke myForm2::Show()&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;This&amp;nbsp;declares a new object called myform2 which then&amp;nbsp;can use the inherited properties and methods.&lt;/P&gt;
&lt;P&gt;In this case,&amp;nbsp;the Show() method which opens the Windows Form.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 Apr 2016 10:35:43 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/How-to-call-a-second-windows-form-from-a-first-Windows-form-in-a/ta-p/1738813</guid>
      <dc:creator>KimH</dc:creator>
      <dc:date>2016-04-05T10:35:43Z</dc:date>
    </item>
    <item>
      <title>COBOL to RDBMS Conversion demo</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Files/COBOL-to-RDBMS-Conversion-demo/ta-p/1689562</link>
      <description>&lt;P&gt;&lt;A href="https://www.microfocus.com/campaigns/cobol_rocks/mgdgxvctc20566/index.aspx" target="_blank"&gt;&lt;IMG src="/legacyfs/online/microfocus/communityserver.components.userfiles/00/00/00/21/10/attached files/3583.cobolrocks_banner937x289 copy.png" border="0" alt=" " /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This is the demo file for the fifth webcast in the&amp;nbsp;&lt;STRONG&gt;#COBOLrocks TechCast series&amp;nbsp;&lt;/STRONG&gt;(registration &lt;A href="https://www.microfocus.com/campaigns/cobol_rocks/mgdgxvctc20566/index.aspx" target="_blank"&gt;here&lt;/A&gt;) - F&lt;STRONG&gt;rom COBOL to a relational database - ISAM to RDBMS.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;There are three zip files for use within this RDBMS conversion demo. Please follow the instructions below:&lt;/P&gt;
&lt;P&gt;1.Extract the files from the NetExpress zip file to your Visual COBOL project - This is the raw demo&lt;BR /&gt;2.Use the MFData zip to point to the data files required&lt;BR /&gt;3.Convert.zip shows you the desired outcome as presented in the #COBOLrocks TechCast&lt;/P&gt;
&lt;P&gt;The attached ZIP file contains a readme.txt file with these instructions to help you follow through the exercise.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any questions? Follow&amp;nbsp;&lt;A href="https://community.microfocus.com/microfocus/cobol/visual_cobol/f/18/t/13291.aspx" target="_blank"&gt;this link&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2016 15:35:32 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Files/COBOL-to-RDBMS-Conversion-demo/ta-p/1689562</guid>
      <dc:creator>Melissa Burns</dc:creator>
      <dc:date>2016-03-22T15:35:32Z</dc:date>
    </item>
    <item>
      <title>Book Demo for #COBOLrocks TechCasts</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Files/Book-Demo-for-COBOLrocks-TechCasts/ta-p/1689561</link>
      <description>&lt;DIV class="content-fragment-page media-post" id="ctl00_ctl00_content_content_ctl00_page"&gt;
&lt;DIV class="layout"&gt;
&lt;DIV class="layout-content header-top-content-left-sidebar-right" id="ctl00_ctl00_content_content_ctl00_layout"&gt;
&lt;DIV class="layout-region content" id="ctl00_ctl00_content_content_ctl00_content"&gt;
&lt;DIV class="layout-region-inner content"&gt;
&lt;DIV class="content-fragment media-gallery-post full-border" id="fragment-4782"&gt;
&lt;DIV class="content-fragment-inner fiji-content-fragment-inner"&gt;
&lt;DIV class="content-fragment-content"&gt;
&lt;DIV class="full-post"&gt;
&lt;DIV class="post-content user-defined-markup"&gt;
&lt;P&gt;&lt;A href="https://www.microfocus.com/campaigns/cobol_rocks/mgdgxvctc20566/index.aspx" target="_blank"&gt;&lt;IMG src="/legacyfs/online/microfocus/communityserver.components.userfiles/00/00/00/21/10/attached files/3583.cobolrocks_banner937x289 copy.png" border="0" alt=" " /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This is the demo file for the second and fourth webcasts in the&amp;nbsp;&lt;STRONG&gt;#COBOLrocks TechCast series&amp;nbsp;&lt;/STRONG&gt;(register &lt;A href="https://www.microfocus.com/campaigns/cobol_rocks/mgdgxvctc20566/index.aspx"&gt;here&lt;/A&gt;) - #2: Upgrading from Net Express to Visual COBOL for Visual Studio; #4: Modernizing the COBOL UI experience.&lt;/P&gt;
&lt;P&gt;Please follow the instructions below to extract and use this demo:&lt;/P&gt;
&lt;H1&gt;Book Demo sample code&lt;/H1&gt;
&lt;P&gt;There are 2 samples to complement the COBOL TechFest :&lt;/P&gt;
&lt;P&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BookDemoVS – native book sample that has been imported from NetExpress&lt;/P&gt;
&lt;P&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BookDemoWpf – the book sample compiled to managed code with a WPF front end&lt;/P&gt;
&lt;H2&gt;Instructions&lt;/H2&gt;
&lt;P&gt;Unzip VCTechFestSample.zip&lt;/P&gt;
&lt;H3&gt;To Run BookDemoVS&lt;/H3&gt;
&lt;P&gt;This is the native BookDemo that has been imported from NetExpress&lt;/P&gt;
&lt;P&gt;Open solution VCTechFestSamples\BookDemoVS\BookDemo.sln&lt;/P&gt;
&lt;P&gt;Start debugging (F5)&lt;/P&gt;
&lt;P&gt;Enter&lt;/P&gt;
&lt;P&gt;Function : &lt;B&gt;&lt;I&gt;1&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;ISBN : &lt;B&gt;&lt;I&gt;00000000001&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;(10 zeros + 1)&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;To Run BookDemoWPF&lt;/H3&gt;
&lt;P&gt;This is the book sample compiled to managed code with a WPF front end&lt;/P&gt;
&lt;P&gt;Open solution VCTechFestSamples\BookDemoWpf\WpfBook.sln&lt;/P&gt;
&lt;P&gt;Start debugging (F5)&lt;/P&gt;
&lt;P&gt;Enter ISBN : &lt;B&gt;&lt;I&gt;00000000001&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;(10 zeros + 1)&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;I&gt;Read&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;I&gt;Next&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;&lt;I&gt;---&lt;/I&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="text-decoration:underline;"&gt;&lt;I&gt;&lt;BR /&gt;&lt;/I&gt;&lt;/SPAN&gt;The attached ZIP file contains a document with these instructions and screenshots to help you follow through the exercise.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any questions? Follow&amp;nbsp;&lt;A href="https://community.microfocus.com/microfocus/cobol/visual_cobol/f/18/t/13291.aspx" target="_blank"&gt;this link&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="favorite-post fiji-favorite-post evolution2-favorite-post"&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="full-post-footer"&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="content-fragment-footer"&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 22 Mar 2016 15:29:09 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Files/Book-Demo-for-COBOLrocks-TechCasts/ta-p/1689561</guid>
      <dc:creator>Melissa Burns</dc:creator>
      <dc:date>2016-03-22T15:29:09Z</dc:date>
    </item>
    <item>
      <title>From Server Express to Visual COBOL demo</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Files/From-Server-Express-to-Visual-COBOL-demo/ta-p/1689560</link>
      <description>&lt;P&gt;&lt;A href="https://www.microfocus.com/campaigns/cobol_rocks/mgdgxvctc20566/index.aspx" target="_blank"&gt;&lt;IMG src="/legacyfs/online/microfocus/communityserver.components.userfiles/00/00/00/21/10/attached files/3583.cobolrocks_banner937x289 copy.png" border="0" alt=" " /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This is the demo file for the third webcast in the &lt;STRONG&gt;#COBOLrocks TechCast series &lt;/STRONG&gt;(register &lt;A href="https://www.microfocus.com/campaigns/cobol_rocks/mgdgxvctc20566/index.aspx" target="_blank"&gt;here&lt;/A&gt;) - From Server Express to Visual COBOL for Eclipse.&lt;/P&gt;
&lt;P&gt;Please follow the instructions below to extract and use this demo:&lt;/P&gt;
&lt;P&gt;1. Extract the .tar file from the ZIP to chosen file location.&lt;/P&gt;
&lt;P&gt;2. Extract the .tar on the UNIX system with the command:&lt;BR /&gt;&lt;EM&gt;tar -xvf sxtovc_sx_locking_demo.tar&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;3. This will create the two directories shown in the video, &lt;STRONG&gt;sxapp&lt;/STRONG&gt; and &lt;STRONG&gt;sxcopyfiles&lt;/STRONG&gt;, containing the files for the demo application.&lt;/P&gt;
&lt;P&gt;Any questions? Follow &lt;A href="https://community.microfocus.com/microfocus/cobol/visual_cobol/f/18/t/13291.aspx" target="_blank"&gt;this link&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 04:51:35 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Files/From-Server-Express-to-Visual-COBOL-demo/ta-p/1689560</guid>
      <dc:creator>Melissa Burns</dc:creator>
      <dc:date>2016-03-18T04:51:35Z</dc:date>
    </item>
    <item>
      <title>Fundamentals of Visual COBOL and .NET demo</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Files/Fundamentals-of-Visual-COBOL-and-NET-demo/ta-p/1689559</link>
      <description>&lt;P&gt;&lt;A href="https://www.microfocus.com/campaigns/cobol_rocks/mgdgxvctc20566/index.aspx" target="_blank"&gt;&lt;IMG src="/legacyfs/online/microfocus/communityserver.components.userfiles/00/00/00/21/10/attached files/cobolrocks_banner937x289 copy.png" border="0" alt=" " /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;This is the demo file for the sixth webcast in the #COBOLrocks TechCast series (register &lt;A href="https://www.microfocus.com/campaigns/cobol_rocks/mgdgxvctc20566/index.aspx" target="_blank"&gt;here&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;Questions? Follow &lt;A href="https://community.microfocus.com/microfocus/cobol/visual_cobol/f/18/t/13291.aspx" target="_blank"&gt;this link&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2016 04:42:05 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Files/Fundamentals-of-Visual-COBOL-and-NET-demo/ta-p/1689559</guid>
      <dc:creator>Melissa Burns</dc:creator>
      <dc:date>2016-03-18T04:42:05Z</dc:date>
    </item>
    <item>
      <title>COBOL application fails with error code 245</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/COBOL-application-fails-with-error-code-245/ta-p/1736911</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;Although Micro Focus License Manager indicates COBOL Server licenses are installed, the COBOL application fails with the following error:&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;Execution error : file ''&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;error code: 245, pc=0, call=1, seg=0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;245&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; There are no valid product licenses&lt;/SPAN&gt;&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;Back in Net Express,&amp;nbsp;the COBOL runtime system files were exactly the same as in Server for COBOL, so it was possible to use either files to be deployed with COBOL applications. This practice is no longer valid in Visual COBOL and COBOL Server.&lt;/P&gt;
&lt;P&gt;The COBOL runtime system files in Visual COBOL and COBOL Server require their own specific license. That is, using the COBOL runtime system files from Visual COBOL requires Visual COBOL license, and using the COBOL runtime system files from COBOL Server requires COBOL Server license.&lt;/P&gt;
&lt;P&gt;COBOL Server is the deployment product, and only its files should be used for deployment.&lt;/P&gt;
&lt;P&gt;The above error is a result of running a COBOL application that uses COBOL runtime system files (e.g. CBLRTSM.DLL, CBLDWINM.DLL, etc.) from Visual COBOL on a deployment environment.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 15:57:16 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/COBOL-application-fails-with-error-code-245/ta-p/1736911</guid>
      <dc:creator>Fano_MF</dc:creator>
      <dc:date>2016-02-26T15:57:16Z</dc:date>
    </item>
    <item>
      <title>Cancel install of VCVS or VCE before finish leaves product not operational</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Cancel-install-of-VCVS-or-VCE-before-finish-leaves-product-not/ta-p/1746436</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P style="background:white;"&gt;Installing or upgrading Enterprise Developer [ED] or Visual COBOL [VC] on a clean machine and pressing the Cancel button towards the end (just before the completion of the installer), might leave traces of the product installed on the system.&lt;/P&gt;
&lt;H2&gt;Solution:&lt;/H2&gt;
&lt;P&gt;In order to install the product successfully in the event of cancellation, in ‘Programs and Features’ (Windows Control Panel) either&lt;/P&gt;
&lt;P&gt;&amp;nbsp; - perform a Repair to complete installation of the product, or&lt;/P&gt;
&lt;P&gt;&amp;nbsp; - to remove the product, select Uninstall.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 08:19:51 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Cancel-install-of-VCVS-or-VCE-before-finish-leaves-product-not/ta-p/1746436</guid>
      <dc:creator>PhillR</dc:creator>
      <dc:date>2016-02-15T08:19:51Z</dc:date>
    </item>
    <item>
      <title>Calling Managed COBOL from un-managed code</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Calling-Managed-COBOL-from-un-managed-code/ta-p/1743949</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;The Microsoft .NET Framework and ‘managed’ code usage seem to be everywhere. More and more companies are adopting the use of managed frameworks to provide greater flexibility in their development environments and take advantage of the numerous features and benefits of the framework. But what if your shop isn’t on the road to .NET yet or fully? What if you have an existing COBOL environment that is not managed but in ‘native’ mode? How do you interact with managed code? How can you extend the use of your current application to reach out and utilize the features others have derived and published from the .NET Framework?&lt;/P&gt;
&lt;P&gt;This article is an update of a previous article that was posted on the Micro Focus Community site in 2011 using NetExpress. This updated article will utilize the previous COBOL COM Server and client, but we will update the client from NetExpress to Visual COBOL. So let’s get started!&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The Approach&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The technology we will be using to enable the call to the managed environment is part of the .NET Interop technology and is known as COM Callable Wrapper or “CCW”. Basically what happens is the .NET class you create is registered as a COM server so the native COBOL program can call it as such using the COM support available in Visual COBOL. One benefit of this approach is that once the COM module is registered within the environment any client can then call the server. Our example we are using COBOL but you could also create a “C” or VB client to call the server.&lt;/P&gt;
&lt;P&gt;The demonstration consists of two parts, a managed Visual COBOL project called VCCOMServer and a native Net Express project called NXCOMClient. We are going to import the NetExpress project into Visual COBOL for Visual Studio so the developer will be working in one environment, Visual Studio. Please unzip the attached file VCCOMDemo.zip onto your hard drive, retaining the folder structure of the zip file. We’re going to start with the server program since it is already created and will require minimal effort to update.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Managed Code &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;When you unzip the supplied file you will have a directory called “VCCOMDemo” and it will contain two sub-directories, “NXCOMClient” and “VCCOMServer”&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/8372.Scrn01.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/8372.Scrn01.JPG" border="0" /&gt;&lt;/A&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;The VCCOMServer folder contains the managed code we will be using and defining as our COM server. Since the previous article was about using a managed environment we already have the managed code. If you select the VCCOMServer folder you will find a solution named “VCCOMServer.sln”, either double click on the solution file to open or from within Visual Studio navigate to the file and open it.&lt;/P&gt;
&lt;P&gt;The VCCOMServer solution has a single program, VCCOMServer.cbl that implements an interface to the class. We are not going to spend time reviewing the class or interface as the intent is to demonstrate how to enable the code to be called as a COM Wrapper from within Visual Studio.&lt;/P&gt;
&lt;P&gt;The secret is to tell Visual Studio when it builds the assembly, to register it as a COM assembly. This is conveniently done via a check box in the Project Properties. Double clicking on the ‘Properties’ entry and then selecting the ‘COBOL’ tab the following is presented&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/3276.Scrn02.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/3276.Scrn02.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Click on the ‘Advanced…’ button to display the settings and you will see the following&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/2046.Scrn03.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/2046.Scrn03.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;In our example the checkbox for ‘Register for COM interop’ is already selected. By enabling this checkbox the build process will, once compilation is successful and completed, register the object as a COM service. Behind the scenes this is invoking “Regasm.exe” with the parameters of ‘tlb’ and ‘codebase’. The parameter ‘codebase’&lt;STRONG&gt; &lt;/STRONG&gt;creates a Codebase entry in the registry. The Codebase entry specifies the file path for an assembly that is not installed in the global assembly cache or GAC. ‘tlb’ generates a type library from the specified assembly containing definitions of the accessible types defined within the assembly. You can review the ‘Regasm’ utility at &lt;A href="https://msdn.microsoft.com/en-us/library/tzat5yw6(v=vs.110).aspx"&gt;https://msdn.microsoft.com/en-us/library/tzat5yw6(v=vs.110).aspx&lt;/A&gt; for further information&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Once you have this setting enabled, save your work and rebuild the solution. The object will be registered as a ‘COM’ object and available in your environment. One note of caution, if you experience the following error when trying to register the object&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/2502.Scrn04.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/2502.Scrn04.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You will need to close Visual Studio and reopen it with Administrator privileges. Executing the Regasm utility requires a higher level of authentication and this is achieved by running Visual Studio as an Administrator.&lt;/P&gt;
&lt;P&gt;One additional note, when you are ready to promote your updates to production you will need to execute Regasm for the module via the command line. The Visual Studio implementation of Regasm is enabled for development and testing, you will need to execute Regasm to register your module for production use. In order to execute the Regasm utility you will need Administrator rights.&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You should be building your COM server assemblies using the exact target type of your client application when registering it for use with COM. This is because an in-process COM Server DLL is loaded into the process space of the client program so they need to be the same “bitism”. You should therefore use a target CPU of either x86 or x64 in your Visual Studio project properties and not “anyCPU” when it needs to be registered for COM.&lt;/P&gt;
&lt;P&gt;Prior to using these assemblies on a production computer they must first be registered on that computer using the Regasm tool. The file “Regasm.exe” comes with the .NET framework installation and can be found in the Microsoft.NET framework folder. There are different versions of regasm.exe available depending on the version of the .NET Framework you are targeting and whether the assembly is compiled for x86 or x64.&lt;/P&gt;
&lt;P&gt;You execute “regasm.exe” from an Administrative command prompt by using the hardcoded path to the correct version as shown below: &lt;BR /&gt;(for explanation of options please see &lt;A href="https://msdn.microsoft.com/en-us/library/tzat5yw6(v=vs.110).aspx)"&gt;https://msdn.microsoft.com/en-us/library/tzat5yw6(v=vs.110).aspx)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Targeting:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;.NET Framework 2.0, 3.0, or 3.5 for use with x86:&lt;BR /&gt;C:\Windows\Microsoft.NET\Framework\v2.0.50727\regasm.exe myDLL.dll /codebase&lt;/P&gt;
&lt;P&gt;.NET Framework 2.0, 3.0, or 3.5 for use with x64:&lt;BR /&gt;C:\Windows\Microsoft.NET\Framework64\v2.0.50727\regasm myDLL.dll /codebase&lt;/P&gt;
&lt;P&gt;.NET Framework 4.0 or higher for use with x86:&lt;BR /&gt;&lt;CODE&gt;C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe myDLL.dll /codebase&lt;/CODE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;.NET Framework 4.0 or higher for use with x64:&lt;BR /&gt;&lt;CODE&gt;C:\Windows\Microsoft.NET\Framework64\v4.0.30319\regasm.exe myDLL.dll /codebase&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;The Client&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Now that we have the server in place we can concentrate on the COBOL client that will be calling it. Our original solution was created using a previous version of the Micro Focus development environment called ‘NetExpress’. Visual COBOL is the current version of the NetExpress product reseated for the Visual Studio and Eclipse environments.&lt;/P&gt;
&lt;P&gt;In order to utilize the Visual Studio environment we will need to upgrade the NetExpress project file to a Visual Studio solution. This is accomplished using the ‘Import NetExpress Project’ within Visual COBOL&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/NetExImport.jpg"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/NetExImport.jpg" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;By selecting ‘File’ then ‘New’ and finally ‘Import NetExpress Project’ a wizard will appear to walk you through the steps of importing and converting the NetExpress project to a Visual Studio Solution. Completing the steps will result in an updated project. We have left the original NetExpress project in the zip file in case you would like to test the import feature on your own.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/2514.Scrn05.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/2514.Scrn05.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The client program is a standard procedural based program utilizing what may be a few new features of the COBOL language for you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/1121.Scrn06.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/1121.Scrn06.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The first item you see that you may not recognize is the ‘Class-Control’ header. The class-control header is an ISO2002 update to the language to enable the interaction with object-oriented classes and interface. In our example we are defining the server we would like to access, “VCCOMServer” as a class that is referenced by “$OLE$VCCOMServer.VCCOMServer”. If you’ll remember this was the name we assigned to our class-id in the server program.&lt;/P&gt;
&lt;P&gt;The next item you may not have seen too often is the verb ‘invoke’. The ‘invoke’ verb is similar to the ‘call’ statement in procedural COBOL except it calls a method in an object oriented class. In our sample we are calling the methods “new”, “testVCstring”, “testVCint”, “testVCFloat” and “testVCGroup”.&lt;/P&gt;
&lt;P&gt;There were no changes made to the client solution. We simply imported the NetExpress project, verified the properties and rebuilt the solution to generate the executable.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Execution&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I placed a breakpoint at the first line of code in the Procedure Division and then began debugging the program&lt;STRONG&gt;. &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/0624.Scrn07.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/0624.Scrn07.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you’ll notice my ‘Autos’ window at the bottom, the object reference ‘anInstance’ is set to spaces because I haven’t executed a line of code as of this point. When I make the initial step and ‘instantiate’ the server I then have an address or pointer to a memory location where my copy of the server is&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/4454.Scrn008.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/4454.Scrn008.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Instantiation is a formal way of saying I ‘made a copy of’ something. In this case I’ve made a copy of the VCCOMServer that I will be using and working with.&lt;/P&gt;
&lt;P&gt;Stepping through the code we see the different variables come into view on the Autos window showing their values&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/6560.Scrn09.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/6560.Scrn09.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Stepping through each of the method invocations we will see the following screen when complete&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/6646.Scrn10.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/6646.Scrn10.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Wrap-Up&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Calling managed COBOL from un-managed or native COBOL isn’t as scary or difficult as you may think. The secret is to make sure you register the managed code module for “COM interop”. In your existing procedural COBOL program you will need to add a ‘class-control’ header and then instantiate, or make a copy, of the module you wish to use. Then simply call the methods necessary using the ‘invoke’ verb. Using this technique you can also reference other managed code assemblies and provide new life to your procedural COBOL applications. Please remember when you are ready to promote your module to production to check with your IT Administrator about running the Regasm utility for your environment.&lt;/P&gt;
&lt;P&gt;The ZIP file has all the necessary source code for you to follow along and see how to update the properties we’ve described in the article. Read through the code; learn from it and use it in your projects.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/VCCOM.zip"&gt;VCCOM.zip&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you’d like to try out the samples and don’t have a copy of Micro Focus Visual COBOL, you can download the Personal Edition of Visual COBOL for free from the following link: &lt;A href="http://www.microfocus.com/visualcobolpe"&gt;http://www.microfocus.com/visualcobolpe&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Happy Coding!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 21:19:27 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Calling-Managed-COBOL-from-un-managed-code/ta-p/1743949</guid>
      <dc:creator>RickM</dc:creator>
      <dc:date>2016-02-12T21:19:27Z</dc:date>
    </item>
    <item>
      <title>Incorrect SQL statement syntax near: WITH</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Incorrect-SQL-statement-syntax-near-WITH/ta-p/1745205</link>
      <description>&lt;H2&gt;Problem:&lt;/H2&gt;
&lt;P&gt;The following complex query compiles fine in Net Express:&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; EXEC SQL&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;DECLARE cursor0 CURSOR FOR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT col1, col2,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CASE WHEN ...&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; THEN (SELECT COUNT(*) FROM table1 WHERE ...)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSE (SELECT COUNT(*) FROM table1 WHERE...&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; AND EXISTS (SELECT * FROM table2 WITH (NOLOCK) WHERE ...)) END, &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CASE WHEN ... END&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FROM Table0&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&amp;nbsp;&amp;nbsp; END-EXEC.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;When compiling the above in Visual COBOL 2.3&amp;nbsp;for Visual Studio, the following error occurs:&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:courier new,courier;"&gt;COBES0100 : Incorrect SQL statement syntax near: WITH&lt;/SPAN&gt;&lt;/P&gt;
&lt;H2&gt;Resolution:&lt;/H2&gt;
&lt;P&gt;The issue has already been addressed in &lt;EM&gt;Visual COBOL 2.3 Hotfix1&lt;/EM&gt; that is available at the Product Updates page of the &lt;A class="internal-link new-page" href="http://community.microfocus.com/micro_focus_staging/visual_cobol/w/knowledge_base/add.aspx?WikiParentPageID=28287&amp;amp;WikiPageKey=supportline.microfocus.com" title="Click to create new page titled: supportline.microfocus.com"&gt;Micro Focus SupportLine site&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;The fix is also included in the upcoming release of &lt;EM&gt;Visual COBOL 2.3 Update 1&lt;/EM&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 18:24:22 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Incorrect-SQL-statement-syntax-near-WITH/ta-p/1745205</guid>
      <dc:creator>Fano_MF</dc:creator>
      <dc:date>2016-02-09T18:24:22Z</dc:date>
    </item>
    <item>
      <title>Visual COBOL RM/Panels Conversion - Unix</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Files/Visual-COBOL-RM-Panels-Conversion-Unix/ta-p/1689554</link>
      <description>&lt;P&gt;Visual COBOL RM/Panels Conversion Source Files for Unix&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 09:14:02 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Files/Visual-COBOL-RM-Panels-Conversion-Unix/ta-p/1689554</guid>
      <dc:creator>Steven_Lalewicz</dc:creator>
      <dc:date>2016-02-01T09:14:02Z</dc:date>
    </item>
    <item>
      <title>Printing Duplex in Micro Focus Visual COBOL for .NET</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Printing-Duplex-in-Micro-Focus-Visual-COBOL-for-NET/ta-p/1758753</link>
      <description>&lt;P&gt;Micro Focus has always tried to provide a full, in-depth development environment for COBOL developers. In previous releases of Micro Focus NetExpress it was possible to send files to the printer and have them print in duplex mode. The technique used was to call a Micro Focus supplied process using the following format&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/PCPrinterReturn.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/PCPrinterReturn.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;and passing it a series of parameters similar to the following&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/PrinterProperties.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/PrinterProperties.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Unfortunately this process applies to a non-managed environment. More and more clients are moving to a managed environment under .NET. How then does one translate the above Micro Focus specific implementation of duplex printing to managed-COBOL?&lt;/P&gt;
&lt;P&gt;The following article shows how to use the properties available in the Print Document class to enable duplex printing in .NET and adapt the Microsoft approach to handling printers.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Print Document Class&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Before we dig into the specifics of implementing duplex printing we need to review the Print Document class. According to Microsoft the Print Document class&lt;STRONG&gt; “&lt;/STRONG&gt;&lt;I&gt;Defines a reusable object that sends output to a printer, when printing from a Windows Forms application.&lt;/I&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt;”&lt;/SPAN&gt; I used the following link to obtain information on the class: &lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;A href="https://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument(v=vs.110).aspx"&gt;&lt;SPAN style="color:#1364c4;"&gt;https://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument(v=vs.110).aspx&lt;/SPAN&gt;&lt;/A&gt;. &lt;/STRONG&gt;It is a part of the System.Drawing.Printing namespace.&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The class we are going to be most concerned with is ‘PrinterSettings’ and the link for the properties to the class in MSDN is &lt;A href="https://msdn.microsoft.com/en-us/library/system.drawing.printing.printersettings(v=vs.110).aspx"&gt;&lt;/A&gt;&lt;STRONG&gt;&lt;A href="https://msdn.microsoft.com/en-us/library/system.drawing.printing.printersettings(v=vs.110).aspx"&gt;&lt;SPAN style="color:#1364c4;"&gt;https://msdn.microsoft.com/en-us/library/system.drawing.printing.printersettings(v=vs.110).aspx&lt;/SPAN&gt;&lt;/A&gt; &lt;/STRONG&gt;The PrinterSettings class, as the name implies, enables control of the settings related to a printer. Reviewing the class you’ll see there are over 20 properties you can access and alter. We are going to be concentrating on the ‘Duplex’ property.&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you click on the ‘Duplex’ property in the above link you’ll be redirected to a page that explains the Duplex property contains an enumeration of available settings to enable duplexing. Wonderful! But what are these values? In the description of the Duplex property is a link to the enumerated values and selecting it yields a table with the following values:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/8713.Scrn00.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/8713.Scrn00.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;By default “most” printers are set to simplex. To enable duplex printing you simply need to readjust the setting prior to sending a file to the printer. Let’s see how to do that.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;WinForm&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;If you’re familiar with my articles you know I like to use a WinForm as a container for the information to be presented. The information in this article however can be used without a WinForm by simply instantiating the classes found in our example. Yes I still used a WinForm because it does lend a way to walk through the information and present the ideas.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/1462.Scrn01.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/1462.Scrn01.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Our form is a very simple screen with a label and button. The button has a ‘Click’ event that will begin our process of setting up the environment to enable duplex printing.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Preparation&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;For our example we are going to read in a file that has a sufficient number of pages to generate a multi-page printout. We will need to setup a StreamReader to read the file in. The StreamReader is actually only used to get our data for printing, it isn’t necessary to enable the duplex printing. We also need to establish some variables that are going to be used by the PrintDocument methods when invoked. The variables we will need apply to the font to be used when the document is printed as well as what color the document will be printed in. These variables will be established as ‘global’ variables for the class, established in the class working-storage section as:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/8054.Scrn02.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/8054.Scrn02.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Notice the use of the ‘type’ identifier? This construct enables us to define variables as different object types as used in .NET. Distributed developers have been using this technique for a long time and Micro Focus has enabled this technique in Visual COBOL.&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Button Click Event&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Our process is started when the user clicks on the button, or a button-click-event. When this occurs the first thing we are going to do is a bit more housekeeping to prepare for the actual print event. The housekeeping details we are going to take care of are select the file we are going to print, set the font to be used for printing and set the font color. These three tasks are accomplished with the following code:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/1830.Scrn03.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/1830.Scrn03.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;We next need to set the duplexing mode for the document to be printed. This is done in the ‘printDocument’ object we added to the form. Taking a look at the properties for this control show we have used the default name of ‘printDocument1’.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/2273.Scrn04.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/2273.Scrn04.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The properties we are going to set are not visible in the standard properties window. This is because the properties are actually part of an inherited class (PrinterSettings) the printDocument object uses. Let’s look at the code to set the duplex mode and then explain.&lt;/P&gt;
&lt;P&gt;Before we enable the duplex mode for your printer, let’s make sure the printer you’ve chosen can indeed print in duplex mode. To do that we are going to check the ‘CanDumplex’ property. The CanDuplex property contains a Boolean value of ‘true’ or ‘false’. If the printer selected can indeed print in duplex mode we will then set it to vertical. If the printer cannot print in duplex then we well verify the duplex mode is turned off by setting it to ‘simplex’ mode. Using an ‘if’ statement the code to check for the ability to duplex and then setting the proper mode looks like:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/8561.Scrn05.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/8561.Scrn05.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;We see our printDocument object, followed by the PrinterSettings class. As we enter the command intellisense provides us with the options available&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/7750.Scrn06.jpg"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/7750.Scrn06.jpg" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Selecting Duplex we can see we can either get the setting for the current duplex mode or set it. We are going to set it so we select Duplex and continue with adding the rest of our line. Remember, the Duplex property takes an enumeration as a value. To set it we simply use the ‘type’ construct and point to the enumerator value we would like. In our case this is ‘System.Drawing.Printing.Duplex::Vertical’.&lt;/P&gt;
&lt;P&gt;Now that we have set our duplex mode we next need to tell the runtime system what printer to send the output to. There are a number of ways to accomplish this. I chose to hard code a local printer in my environment that supports duplex mode&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/6874.Scrn07.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/6874.Scrn07.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;To update the sample to work in your environment, simply change the value in quotes from “HPD9C84D (HP Officeject Pro 8600)” to a printer that supports duplexing in your environment.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Time to Print!&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;We have set the properties to enable duplex printing, provided a file to print and printer to print to. The only left is to invoke the print function. This is done via printDocument control with the following line of code&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/Scrn008.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/Scrn008.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;When this line is executed the ‘PrintPage’ event is invoked for each page to be printed without invoking any user dialog. While the overall process may seem cumbersome once you understand it and have a working sample it can be re-used.&lt;/P&gt;
&lt;P&gt;To begin we will define some variables that will control positioning of our page:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/4401.Scrn09.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/4401.Scrn09.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The variables are defined as:&lt;/P&gt;
&lt;TABLE style="border:currentColor;" border="1" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="175" valign="top" style="padding:0in 5.4pt;border:1pt solid windowtext;width:131.4pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;Variable&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="463" valign="top" style="padding:0in 5.4pt;width:347.4pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="175" valign="top" style="padding:0in 5.4pt;width:131.4pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;ypos&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="463" valign="top" style="padding:0in 5.4pt;width:347.4pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;Position along the ‘y’ axis where we want to print the line&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="175" valign="top" style="padding:0in 5.4pt;width:131.4pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;topMargin&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="463" valign="top" style="padding:0in 5.4pt;width:347.4pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;As the name implies, the top margin of the page&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="175" valign="top" style="padding:0in 5.4pt;width:131.4pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;line-count&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="463" valign="top" style="padding:0in 5.4pt;width:347.4pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;How may lines have we printed&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="175" valign="top" style="padding:0in 5.4pt;width:131.4pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;lines-per-page&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="463" valign="top" style="padding:0in 5.4pt;width:347.4pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;How many lines do we want to print per page&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="175" valign="top" style="padding:0in 5.4pt;width:131.4pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;printLine&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="463" valign="top" style="padding:0in 5.4pt;width:347.4pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;The actual line of text to be printed&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;For our sample we have set the following values for each of the variables&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/5618.Scrn10.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/5618.Scrn10.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Notice how we set the value for topMargin? We used the information that was passed into the method about the current printer.&lt;/P&gt;
&lt;P&gt;We have wrapped our printing in a ‘perform’ loop. The loop will print a line a text until the number of lines printed exceeds the number of lines per page. The first line of code reads in a line to print from the file we defined earlier.&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/2335.Scrn11.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/2335.Scrn11.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;We then check using an ‘if’ statement if the line is null (empty) or if there is something to print. If there is something to print we need to determine where on the page we are by calculating the ypos value. The statement begins with the value of the top margin, adds in the number of lines printed times the height of the font being used&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/7484.Scrn12.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/7484.Scrn12.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The formula is from the PrintDocument Print method on MSDN found at the following location &lt;A href="https://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.print(v=vs.110).aspx"&gt;&lt;/A&gt;&lt;STRONG&gt;&lt;A href="https://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.print(v=vs.110).aspx"&gt;&lt;SPAN style="color:#1364c4;"&gt;https://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.print(v=vs.110).aspx&lt;/SPAN&gt;&lt;/A&gt;. &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The actual line pf code to print the line is&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/0003.Scrn13.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/0003.Scrn13.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;We are invoking the DrawString method from the Graphics class. At the end of each page we need to determine if there is more to print. Remember, the method only prints a page of text at a time and needs to loop through if there is more to print. To check if there is more to print we check to see if the line of code we just read is not blank (or null). If it is not then we set the Boolean property ‘HasMorePages’ to true with the following code&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/0358.Scrn14.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/0358.Scrn14.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;There really isn’t anything to show as the outcome other than the printed file! Download the sample and review it, update it to work at your location and you’ll see the process really isn’t that bad to enable duplex printing at your location if your printers support it. While you’re working on that try some of the other updates (color, font) to the print stream and see how you can tailor your printed output. Once you understand how, you can then see how you can tailor specific lines based on the content of the line. The possibilities are endless. Experiment, learn and most of all… have fun doing it!&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Wrap-Up&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Duplex printing in .NET can be accomplished thanks to the framework and the classes available. Understanding which class to use and how to manipulate it will take some time but once you get the hang of it you’ll see as a COBOL developer you can accomplish the same tasks in COBOL as others can in C# or VB.NET or any of the other .NET languages.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/PrintDuplex.zip"&gt;PrintDuplex.zip&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The ZIP file has all the necessary source code for you to follow along and see how to update the properties we’ve described in the article. Read through the code; learn from it and use it in your projects. Even though we used a WinForm to present the information, the same concepts apply to WPF or WebForms. Yes there may be differences but this should at least serve as a starting point to help you figure out how to manipulate similar properties in the other presentation environments. Also, if you have a property you’re not sure how to work with send it to us. Chances are if you’re having questions someone else is also and we’d like to help you figure it out&lt;INS cite="mailto:Rick%20Malek" datetime="2015-12-28T14:31"&gt;&lt;SPAN style="text-decoration:underline;"&gt;&lt;SPAN style="color:#008080;"&gt;!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/INS&gt;&lt;/P&gt;
&lt;P&gt;If you’d like to try out the samples and don’t have a copy of Micro Focus Visual COBOL, you can download the Personal Edition of Visual COBOL for free from the following link: &lt;A href="http://www.microfocus.com/visualcobolpe"&gt;&lt;SPAN style="color:#1364c4;"&gt;http://www.microfocus.com/visualcobolpe&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Happy Coding!&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 02:05:09 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Printing-Duplex-in-Micro-Focus-Visual-COBOL-for-NET/ta-p/1758753</guid>
      <dc:creator>RickM</dc:creator>
      <dc:date>2016-01-27T02:05:09Z</dc:date>
    </item>
    <item>
      <title>Adding Cultural Information to the DataTimePicker in Visual COBOL for .NET</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Adding-Cultural-Information-to-the-DataTimePicker-in-Visual/ta-p/1738393</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In a previous article we described how to utilize the .NET object ‘Date Time Picker’ in Visual COBOL. After reviewing the article Alwyn Royall (Mr), one of our UK Solutions Consultants provided some additional information about applying Cultural information to displaying dates. For those of you who work in a single location the thought of applying cultural information may not have crossed your mind. There are however applications that are used in a many different locations worldwide and the ability to present information, specifically date information, in a format they are used to seeing is huge benefit not only to the user but to the company receiving and processing the information. They are more assured the data will be correct and the end user finds the application easier to use.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;WinForm&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Alwyn has expanded the previously created WinForm to include a couple of new combo boxes. The new form now looks like the following:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/7382.Scrn01.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/7382.Scrn01.JPG" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;If you will notice the bottom of the form there are three new items added:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV align="center"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;
&lt;TABLE style="border:currentColor;" border="1" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="204" valign="top" style="padding:0in 5.4pt;border:1pt solid windowtext;width:1.7in;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;B&gt;Item&lt;/B&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="435" valign="top" style="padding:0in 5.4pt;width:261pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;B&gt;Description&lt;/B&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="204" valign="top" style="padding:0in 5.4pt;width:1.7in;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;Date Pattern&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="435" valign="top" style="padding:0in 5.4pt;width:261pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;How to display the date time information&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="204" valign="top" style="padding:0in 5.4pt;width:1.7in;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;Country Format&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="435" valign="top" style="padding:0in 5.4pt;width:261pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;What country specific format will be applied&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="204" valign="top" style="padding:0in 5.4pt;width:1.7in;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;Result&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="435" valign="top" style="padding:0in 5.4pt;width:261pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;The output from applying the culture information&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P&gt;The process of executing the form has changed a bit with these additional fields. You still need to select the start and end dates at the top of the form but prior to clicking the “Calculate” button, but you now can select the pattern and country formats to apply to the date being presented in the result textbox.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Before we execute the form let’s take a look at the updates to the solution.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Variable declarations&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;In order to update the display of the date information to the selected culture some additional variables and data types are required. In the source code for the form we’ve separated these new variables so they are easier to locate and identify the specific updates applied&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/3858.Scrn02.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/3858.Scrn02.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;DIV align="center"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family:Times New Roman;"&gt; &lt;/SPAN&gt;
&lt;TABLE style="border:currentColor;" border="1" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="212" valign="top" style="padding:0in 5.4pt;border:1pt solid windowtext;width:126.9pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;Variable&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="398" valign="top" style="padding:0in 5.4pt;width:238.5pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;Description&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="212" valign="top" style="padding:0in 5.4pt;width:126.9pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;dt1&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="398" valign="top" style="padding:0in 5.4pt;width:238.5pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;Hold variable for our date&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="212" valign="top" style="padding:0in 5.4pt;width:126.9pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;dateFormat&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="398" valign="top" style="padding:0in 5.4pt;width:238.5pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;Selected format from the combobox&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="212" valign="top" style="padding:0in 5.4pt;width:126.9pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;dateCulture&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="398" valign="top" style="padding:0in 5.4pt;width:238.5pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;Selected Culture to use from the combobox&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="212" valign="top" style="padding:0in 5.4pt;width:126.9pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;dtFmt&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="398" valign="top" style="padding:0in 5.4pt;width:238.5pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;The way the date will be displayed&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="212" valign="top" style="padding:0in 5.4pt;width:126.9pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;dtCult&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="398" valign="top" style="padding:0in 5.4pt;width:238.5pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;The specific culture to apply to the format&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="212" valign="top" style="padding:0in 5.4pt;width:126.9pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;newCulture&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="398" valign="top" style="padding:0in 5.4pt;width:238.5pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;Instantiated CultureInfo class&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="212" valign="top" style="padding:0in 5.4pt;width:126.9pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;origCulture&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;TD width="398" valign="top" style="padding:0in 5.4pt;width:238.5pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;
&lt;P&gt;&lt;STRONG&gt;Holder for the original culture setting&lt;/STRONG&gt;&lt;/P&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to fully understand the need for these variables let’s take a look at the new combo boxes that have been added to the form:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/3362.Scrn03.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/3362.Scrn03.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Date Pattern&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The Date Pattern combo box will determine the format for the date to be displayed. The combo box has been predefined with the available formatting options for a date. If we look at the properties for the Date Pattern combo box we see the following:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/5224.Scrn04.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/5224.Scrn04.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Under the ‘Data’ area the ‘Items’ property has been updated to contain a collection of available selections for the combo box. Clicking on the “(Collection)” item yields the following display:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/7652.Scrn05.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/7652.Scrn05.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The values in the Collection editor represent the available formats available for a datetime data variable. This information was keyed in manually to create the list and if you’ll notice a specific format was used throughout:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/2630.Scrn06.JPG"&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-left:60px;"&gt;&lt;STRONG&gt;Indicator space Description&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The indicator corresponds to the formatting variables used by the DateTime data type and further information about the formats and data type can be found on MSDN at &lt;A href="https://msdn.microsoft.com/en-us/library/az4se3k1.aspx"&gt;&lt;SPAN style="color:#1364c4;"&gt;https://msdn.microsoft.com/en-us/library/az4se3k1.aspx&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;A space was used as a separator in the list&lt;/P&gt;
&lt;P&gt;Description represents the way the date or time will be displayed.&lt;/P&gt;
&lt;P&gt;When a selection is made from the combo box the value selected will be placed in the ‘dateFormat’ variable discussed earlier.&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Country Format&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Similar to the Date Pattern combo box, the Country Format combo box has a collection of available formats that can be applied. The properties for this combo box are:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/2630.Scrn06.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/2630.Scrn06.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Selecting the “(Collection)” ellipsis yields a similar string collection editor with data representative of the cultural information:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/1300.Scrn07.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/1300.Scrn07.JPG" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The format is identical to the Date Format data, an indicator followed by a space followed by a description of what the indicator is implying. In this instance though the indicator is not a single value but a combination of values separated by a dash.&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The CultureInfo class specifies a unique name for each culture. The name is a combination of a two-letter lowercase culture code associated with a language and a two-letter uppercase subculture code associated with a country or region. For further information on the CultureInfo class see the MSDN documentation: &lt;A href="https://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo(v=vs.110).aspx"&gt;&lt;SPAN style="color:#1364c4;"&gt;https://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo(v=vs.110).aspx&lt;/SPAN&gt;&lt;/A&gt; When a selection is made the value from the above table will be placed into the variable ‘dateCulture’ discussed earlier.&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Now that we have shown the fields that will enable the selected date format and culture to be applied let’s talk about how to enable all this in our code.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Tying it all together&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;As with our data variables we’ve kept the update segment of code that applies the date and culture format information separate from our original code. The first thing we need is a date to manipulate! For our example we will use our StartDate that was selected at the top of the form. We can create a copy of it and store it in the ‘dt1’ variable with the following line of code:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/7633.Scrn08.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/7633.Scrn08.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Our next step is to determine what type of format to apply to the date. This information is contained in the date format combo box value that was selected prior to pressing ‘Calculate’. We have used a construct some of you may not be too familiar with, a ‘try-catch’ block. A ‘try-catch’ block is a coding construct distributed developers are very familiar with it, it basically says “try this bit of code, if it doesn’t work catch any errors here”.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/8311.Scrn09.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/8311.Scrn09.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Our example is ‘trying’ to set the dateFormat variable to the value from combo box that was selected prior to pressing the ‘Calculate’ button. The next line in the ‘try’ block says to move the first character found in position one to the variable dtFmt. This is the option that will be used when we format the date or time for display.&lt;/P&gt;
&lt;P&gt;But what happens if you didn’t make a selection prior to pressing the ‘Calculate’ button? The ‘catch’ portion of the block says to move the letter ‘d’ to the dtFmt variable. This is in effect preventing an error from occurring by saying “if you didn’t make a selection use this as the default value”, it will also catch any invalid selections for your installation.&lt;/P&gt;
&lt;P&gt;We next need to retrieve the specific culture information. This is done in a similar fashion with the following code:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/7345.Scrn10.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/7345.Scrn10.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Using another ‘try-catch’ block we first read the value that was selected into the variable ‘dateCulture’. The indicator starting in position one for a length of 5 is next moved into the variable ‘dtCult’. On the next line of code, the variable ‘dtCult’ is used as a parameter to update the cultural format to be used for our run-unit. The final line of code in the ‘try’ portion of the block is applying the new cultural information to the current thread or process, thus changing the way the date is formatted on the screen.&lt;/P&gt;
&lt;P&gt;The final line of code ties it all together. We have already changed the cultural view of the date we now have to apply the updated formatting.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/1447.Scrn11.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/1447.Scrn11.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The textbox named “Result” (tbxResult) is updated to reflect the new format by applying the date format to the start date, dt1 in our sample. For our sample I have selected the long date format to be displayed in the Russian language. Prior to pressing the ‘Calculate’ button my screen appears as&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/4401.Scrn12.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/4401.Scrn12.JPG" border="0" /&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And after pressing ‘Calculate’ the updated screen appears as:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/4722.Scrn13.JPG"&gt;&lt;IMG alt=" " src="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/00/93/4722.Scrn13.JPG" border="0" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Wrap-Up&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Now you have seen the culture properties in use you might like to expand upon its use into currency and language presentations. Culture demonstrates one of the many benefits of utilizing the .NET platform in your application.&lt;/P&gt;
&lt;P&gt;A big “Thank You” to Alwyn for his input and suggestion to applying cultural information to be used with the DateTimePicker control. The ability to work in multiple cultures, locations and languages greatly enhances the usefulness and longevity of your COBOL applications.&lt;/P&gt;
&lt;P&gt;The ZIP file has all the necessary source code for you to follow along and see how to update the properties we’ve described in the article. Read through the code; learn from it and use it in your projects. Even though we used a WinForm to present the information, the same concepts apply to WPF or WebForms. Yes there may be differences but this should at least serve as a starting point to help you figure out how to manipulate similar properties in the other presentation environments. Also, if you have a property you’re not sure how to work with send it to us. Chances are if you’re having questions someone else is also and we’d like to help you figure it out!&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.microfocus.com/legacyfs/online/microfocus/communityserver.wikis.components.files/00/00/00/01/20/DTPCultureInfo.zip"&gt;DTPCultureInfo.zip&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If you’d like to try out the samples and don't have a copy of Micro Focus Visual COBOL, you can download the Personal Edition of Visual COBOL for free from this link: &lt;A href="http://www.microfocus.com/visualcobolpe"&gt;www.microfocus.com/visualcobolpe&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Happy Coding!&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="margin:0in 0in 10pt;"&gt;&lt;SPAN style="font-family:Times New Roman;font-size:medium;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 17:26:53 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Knowledge-Base/Adding-Cultural-Information-to-the-DataTimePicker-in-Visual/ta-p/1738393</guid>
      <dc:creator>RickM</dc:creator>
      <dc:date>2016-01-13T17:26:53Z</dc:date>
    </item>
    <item>
      <title>Visual COBOL RM/Panels Conversion - Windows</title>
      <link>https://community.microfocus.com/t5/Visual-COBOL-Files/Visual-COBOL-RM-Panels-Conversion-Windows/ta-p/1689551</link>
      <description>&lt;P&gt;Visual COBOL RM/Panels Conversion Source Files for Windows&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jan 2016 09:32:26 GMT</pubDate>
      <guid>https://community.microfocus.com/t5/Visual-COBOL-Files/Visual-COBOL-RM-Panels-Conversion-Windows/ta-p/1689551</guid>
      <dc:creator>Steven_Lalewicz</dc:creator>
      <dc:date>2016-01-08T09:32:26Z</dc:date>
    </item>
  </channel>
</rss>

