<?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 DEBUG over terminal emulation in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/debug-over-terminal-emulation/m-p/5421677#M36630</link>
    <description>&lt;P&gt;All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OUR SETUP:&lt;/P&gt;&lt;P&gt;I have the following setup to connect to our customer's VMS systems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(A) My Windows system XP -------------------------------------&amp;gt; Windows 2003 server via Remote Desktop &amp;nbsp;(B)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(B) --------&amp;gt; VMS authentication server 1 ------&amp;gt; Authentication Server 2 ------------&amp;gt; VMS system hosting application (E).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I connect from (B) to (E) using reflection (SSH).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MY PROBLEM:&lt;/P&gt;&lt;P&gt;I want to debug an application with screens developed in SMG.&lt;/P&gt;&lt;P&gt;I have been reading the debugger manual which describes how to run the application in one termial and redirect the debug session to another.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the terminals being discussed are either&lt;/P&gt;&lt;P&gt;a. hardwired to the system&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;b. connected via LAT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case, I cannot from terminal 1 (where I want to run the program) do ALLOCATE TTD2: because I get tis message:&amp;nbsp;&lt;FONT color="#FF0000" face="courier new,courier"&gt;SYSTEM-W-DEVALLOC, device already allocated to another user.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class="Apple-style-span"&gt;Please suggest where I am going wrong. Thanks!&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Dec 2011 12:30:29 GMT</pubDate>
    <dc:creator>SSengupta</dc:creator>
    <dc:date>2011-12-19T12:30:29Z</dc:date>
    <item>
      <title>DEBUG over terminal emulation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-over-terminal-emulation/m-p/5421677#M36630</link>
      <description>&lt;P&gt;All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OUR SETUP:&lt;/P&gt;&lt;P&gt;I have the following setup to connect to our customer's VMS systems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(A) My Windows system XP -------------------------------------&amp;gt; Windows 2003 server via Remote Desktop &amp;nbsp;(B)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(B) --------&amp;gt; VMS authentication server 1 ------&amp;gt; Authentication Server 2 ------------&amp;gt; VMS system hosting application (E).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I connect from (B) to (E) using reflection (SSH).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MY PROBLEM:&lt;/P&gt;&lt;P&gt;I want to debug an application with screens developed in SMG.&lt;/P&gt;&lt;P&gt;I have been reading the debugger manual which describes how to run the application in one termial and redirect the debug session to another.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the terminals being discussed are either&lt;/P&gt;&lt;P&gt;a. hardwired to the system&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;b. connected via LAT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case, I cannot from terminal 1 (where I want to run the program) do ALLOCATE TTD2: because I get tis message:&amp;nbsp;&lt;FONT color="#FF0000" face="courier new,courier"&gt;SYSTEM-W-DEVALLOC, device already allocated to another user.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN class="Apple-style-span"&gt;Please suggest where I am going wrong. Thanks!&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2011 12:30:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-over-terminal-emulation/m-p/5421677#M36630</guid>
      <dc:creator>SSengupta</dc:creator>
      <dc:date>2011-12-19T12:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: DEBUG over terminal emulation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-over-terminal-emulation/m-p/5422115#M36631</link>
      <description>&lt;P&gt;It sounds like the instructions assume a physical terminal which can be allocated without privilege.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you're using a terminal emulator the terminal device doesn't exist until you connect, so there will always be a process owning the target terminal window. To get around this you will need SHARE privilege in the process running DEBUG.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the&amp;nbsp;terminal window you want to display DEBUG on do this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000" face="courier new,courier"&gt;$ SHOW TERMINAL&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000" face="courier new,courier"&gt;Terminal: _FTA26:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Device_Type: VT102&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Owner: JG0&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;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: GILLINGS_J&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000" face="courier new,courier"&gt;...&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000" face="courier new,courier"&gt;$ WAIT 10&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You now know the terminal name, and the process which owns it will sleep for 10 hours to keep it out of the way. In my case the terminal is FTA26:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now from the terminal window you want to run the program in, do this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000" face="courier new,courier"&gt;$ SET PROCESS/PRIVILEGE=SHARE&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000" face="courier new,courier"&gt;$ DEFINE/USER DBG$INPUT FTA26:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000" face="courier new,courier"&gt;$ DEFINE/USER DBG$OUTPUT FTA26:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000" face="courier new,courier"&gt;$ RUN/DEBUG your-program&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should see a debug banner and DBG&amp;gt; prompt on the other terminal window.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you've finished with DEBUG hit ^Y to wake up the sleeping process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will work for any terminal type or connection mechanism. BUT you need privilege.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this doesn't work, please post a transcript of the exact steps you're performing and the exact and complete output.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Dec 2011 20:30:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-over-terminal-emulation/m-p/5422115#M36631</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2011-12-19T20:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: DEBUG over terminal emulation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-over-terminal-emulation/m-p/5427877#M36632</link>
      <description>&lt;P&gt;Dear SSengupta,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the SYS$REM_NODE job logical on node E points to your Windows XP node, why not using the DCL code at&amp;nbsp;&lt;A target="_blank" href="http://vouters.dyndns.org/tima/All-OS-Setting_a_remote_VMS_display.html"&gt;http://vouters.dyndns.org/tima/All-OS-Setting_a_remote_VMS_display.html&lt;/A&gt; ? Only ensure that the DBG$DECW$DISPLAY logical is not set to " " in your login.com. This way you will be able to execute the graphical version of the debugger with a remote display onto your Windows XP PC. Also the SMG routines display from your program will not interfere with the debugger's display. With the graphical version of the debugger, you will not need to define DBG$INPUT and DBG$OUTPUT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other solution I know is the one posted by John Gillings. This will cause you to work with two different terminals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yours truly,&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;</description>
      <pubDate>Sun, 25 Dec 2011 17:38:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-over-terminal-emulation/m-p/5427877#M36632</guid>
      <dc:creator>Ph Vouters</dc:creator>
      <dc:date>2011-12-25T17:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: DEBUG over terminal emulation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-over-terminal-emulation/m-p/5427881#M36633</link>
      <description>&lt;P&gt;As you connect from your Windows XP to your Windows 2003 server using Remote Desktop and then from your Windows 2003 server to OpenVMS using SSH, the SYS$REM_NODE ought to point to your Windows 2003 server. If you install an X server such as Xming onto the Windows 2003 server, then you likely ought to be able to run the graphical VMS debugger onto your Remote Desktop session. The remaining of my explanations in my previous post remain valid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, I missed this in your explanations.&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;</description>
      <pubDate>Sun, 25 Dec 2011 18:04:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-over-terminal-emulation/m-p/5427881#M36633</guid>
      <dc:creator>Ph Vouters</dc:creator>
      <dc:date>2011-12-25T18:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: DEBUG over terminal emulation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-over-terminal-emulation/m-p/5435985#M36634</link>
      <description>&lt;P&gt;Hello John Gillins&lt;/P&gt;&lt;P&gt;Thanks for the response. To make your solution work, I had to do in Terminal FTA26: the following as well:&lt;/P&gt;&lt;P&gt;SET PROCESS/PRIV=LOG_IO&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This enabled me to redirect debugging INPUT and OUTPUT to FTA26:. Meanwhie the screen from the program was getting sent to the original terminal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apologies for not responsing earlier, I was down with a viral infection. Your help is appreciated. Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2012 12:46:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-over-terminal-emulation/m-p/5435985#M36634</guid>
      <dc:creator>SSengupta</dc:creator>
      <dc:date>2012-01-02T12:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: DEBUG over terminal emulation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/debug-over-terminal-emulation/m-p/5435987#M36635</link>
      <description>&lt;P&gt;Hello Vouters&lt;/P&gt;&lt;P&gt;Thanks for your response, but other than SSH, no X tools have been installed. No NetBeans either. So there is no way I could redirect the X output. Cheers!&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2012 12:48:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/debug-over-terminal-emulation/m-p/5435987#M36635</guid>
      <dc:creator>SSengupta</dc:creator>
      <dc:date>2012-01-02T12:48:13Z</dc:date>
    </item>
  </channel>
</rss>

