<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Connecting to more than 1 session using OpenText Exceed with in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Connecting-to-more-than-1-session-using-OpenText-Exceed-with/m-p/52526#M7381</link>
    <description>May be someone experiences the same problem and may find this solution useful. Usually, when one is using the mainframe-application-model with OpenText HostExplorer (formerly Hummingbird) (COM API) it is only possible to connect to one session at a time. Here is my workaround for version 15:&lt;BR /&gt;1. Create 2 shared objects using 2 separate hep-file for configuration (A+B). Add a launch and terminate action in those.&lt;BR /&gt;2. Open your HostExplorer and configure it as required.&lt;BR /&gt;2.1 Go to Options --&amp;gt; Connection --&amp;gt; Other and type "A.ebs"/"B.ebs" in the Auto start Macro field&lt;BR /&gt;2.2 Save the profile&lt;BR /&gt;2.3 Go to your (the bots) profile: C:\Users\%username%\AppData\Roaming\Hummingbird\Connectivity\15.00\Accessories\EB&lt;BR /&gt;2.4 Create a text file there, name it A or B.ebs and place the code below in there&lt;BR /&gt;3. You can now start the sessions via the shared objects and attach to the sessions via "Attach Mainframe" --&amp;gt; Session Identifier="A" or "B"&lt;BR /&gt;&lt;BR /&gt;Hope this is helpful to anyone&lt;BR /&gt;Hope this helps.&lt;BR /&gt;Macro A.ebs / B.ebs&lt;BR /&gt;Sub Main&lt;BR /&gt;Dim HostExplorer as Object&lt;BR /&gt;Dim MyHost as Object&lt;BR /&gt;Dim Rc as Integer&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On Error goto GenericErrorHandler&lt;BR /&gt;&lt;BR /&gt;Set HostExplorer = CreateObject("HostExplorer") ' Initialize HostExplorer Object&lt;BR /&gt;Set MyHost = HostExplorer.CurrentHost&lt;BR /&gt;If MyHost is Nothing Then Goto NoSession&lt;BR /&gt;MyHost.ShortName = "A" ' B for B of course&lt;BR /&gt;' if you require to use a LUName, then add MyHost.Cfg3270.LUName=yourLU&lt;BR /&gt;&lt;BR /&gt;Exit Sub&lt;BR /&gt;&lt;BR /&gt;'-------------------- Runtime Error Handlers --------------------&lt;BR /&gt;GenericErrorHandler:&lt;BR /&gt;Msgbox "Error " &amp;amp; Err &amp;amp; " : """ &amp;amp; Error(Err) &amp;amp; """ has occurred on line " &amp;amp; Erl-1 &amp;amp; "." &amp;amp; Chr(10) &amp;amp; "Unable to continue macro execution.", 16, "HostExplorer Basic Macro Error"&lt;BR /&gt;Exit Sub&lt;BR /&gt;&lt;BR /&gt;NoSession:&lt;BR /&gt;Msgbox "Profile is not running." &amp;amp; Chr(10) &amp;amp; "Unable to execute macro.", 16, "HostExplorer Macro Error"&lt;BR /&gt;Exit Sub&lt;BR /&gt;&lt;BR /&gt;OnKeyboardError:&lt;BR /&gt;Msgbox "Unable to type string on host screen." &amp;amp; Chr(10) &amp;amp; "Unable to continue macro execution.", 16, "HostExplorer Basic Macro Error"&lt;BR /&gt;Exit Sub&lt;BR /&gt;&lt;BR /&gt;End Sub&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Martin Reuter&lt;BR /&gt;------------------------------</description>
    <pubDate>Wed, 12 Oct 2022 13:42:00 GMT</pubDate>
    <dc:creator>martin_reuter</dc:creator>
    <dc:date>2022-10-12T13:42:00Z</dc:date>
    <item>
      <title>Connecting to more than 1 session using OpenText Exceed with</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Connecting-to-more-than-1-session-using-OpenText-Exceed-with/m-p/52526#M7381</link>
      <description>May be someone experiences the same problem and may find this solution useful. Usually, when one is using the mainframe-application-model with OpenText HostExplorer (formerly Hummingbird) (COM API) it is only possible to connect to one session at a time. Here is my workaround for version 15:&lt;BR /&gt;1. Create 2 shared objects using 2 separate hep-file for configuration (A+B). Add a launch and terminate action in those.&lt;BR /&gt;2. Open your HostExplorer and configure it as required.&lt;BR /&gt;2.1 Go to Options --&amp;gt; Connection --&amp;gt; Other and type "A.ebs"/"B.ebs" in the Auto start Macro field&lt;BR /&gt;2.2 Save the profile&lt;BR /&gt;2.3 Go to your (the bots) profile: C:\Users\%username%\AppData\Roaming\Hummingbird\Connectivity\15.00\Accessories\EB&lt;BR /&gt;2.4 Create a text file there, name it A or B.ebs and place the code below in there&lt;BR /&gt;3. You can now start the sessions via the shared objects and attach to the sessions via "Attach Mainframe" --&amp;gt; Session Identifier="A" or "B"&lt;BR /&gt;&lt;BR /&gt;Hope this is helpful to anyone&lt;BR /&gt;Hope this helps.&lt;BR /&gt;Macro A.ebs / B.ebs&lt;BR /&gt;Sub Main&lt;BR /&gt;Dim HostExplorer as Object&lt;BR /&gt;Dim MyHost as Object&lt;BR /&gt;Dim Rc as Integer&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;On Error goto GenericErrorHandler&lt;BR /&gt;&lt;BR /&gt;Set HostExplorer = CreateObject("HostExplorer") ' Initialize HostExplorer Object&lt;BR /&gt;Set MyHost = HostExplorer.CurrentHost&lt;BR /&gt;If MyHost is Nothing Then Goto NoSession&lt;BR /&gt;MyHost.ShortName = "A" ' B for B of course&lt;BR /&gt;' if you require to use a LUName, then add MyHost.Cfg3270.LUName=yourLU&lt;BR /&gt;&lt;BR /&gt;Exit Sub&lt;BR /&gt;&lt;BR /&gt;'-------------------- Runtime Error Handlers --------------------&lt;BR /&gt;GenericErrorHandler:&lt;BR /&gt;Msgbox "Error " &amp;amp; Err &amp;amp; " : """ &amp;amp; Error(Err) &amp;amp; """ has occurred on line " &amp;amp; Erl-1 &amp;amp; "." &amp;amp; Chr(10) &amp;amp; "Unable to continue macro execution.", 16, "HostExplorer Basic Macro Error"&lt;BR /&gt;Exit Sub&lt;BR /&gt;&lt;BR /&gt;NoSession:&lt;BR /&gt;Msgbox "Profile is not running." &amp;amp; Chr(10) &amp;amp; "Unable to execute macro.", 16, "HostExplorer Macro Error"&lt;BR /&gt;Exit Sub&lt;BR /&gt;&lt;BR /&gt;OnKeyboardError:&lt;BR /&gt;Msgbox "Unable to type string on host screen." &amp;amp; Chr(10) &amp;amp; "Unable to continue macro execution.", 16, "HostExplorer Basic Macro Error"&lt;BR /&gt;Exit Sub&lt;BR /&gt;&lt;BR /&gt;End Sub&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Martin Reuter&lt;BR /&gt;------------------------------</description>
      <pubDate>Wed, 12 Oct 2022 13:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Connecting-to-more-than-1-session-using-OpenText-Exceed-with/m-p/52526#M7381</guid>
      <dc:creator>martin_reuter</dc:creator>
      <dc:date>2022-10-12T13:42:00Z</dc:date>
    </item>
    <item>
      <title>RE: Connecting to more than 1 session using OpenText Exceed with</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Connecting-to-more-than-1-session-using-OpenText-Exceed-with/m-p/52527#M7382</link>
      <description>Thanks for providing this solution, Martin! &lt;BR /&gt;&lt;BR /&gt;It's great to see members pro-actively posting solutions to issues others may experience like this.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Steve Boggs&lt;BR /&gt;Senior Product Support Engineer&lt;BR /&gt;Blue Prism&lt;BR /&gt;Austin, TX&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Oct 2022 15:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Connecting-to-more-than-1-session-using-OpenText-Exceed-with/m-p/52527#M7382</guid>
      <dc:creator>steven.boggs</dc:creator>
      <dc:date>2022-10-18T15:49:00Z</dc:date>
    </item>
  </channel>
</rss>

