<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: VMS Command Prompt - Can't Tell?!?! in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695179#M73421</link>
    <description>how do i modify point assignments?  Sorry - other forums only assigned points to the answer that actually solved the problem.  I'll assign points to each answer if you can tell me how.  Thanks.&lt;BR /&gt;&lt;BR /&gt;-Allan</description>
    <pubDate>Fri, 30 Dec 2005 17:42:17 GMT</pubDate>
    <dc:creator>Allan Parsons</dc:creator>
    <dc:date>2005-12-30T17:42:17Z</dc:date>
    <item>
      <title>VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695154#M73396</link>
      <description>I am writing a webpage that allows for remote monitoring of AIX nodes and VMS nodes using the JAVA telnet wrapper (this is being called from my webpage, using coldfusion - see &lt;A href="http://javassh.org/download/source/de/mud/telnet/TelnetWrapper.html)" target="_blank"&gt;http://javassh.org/download/source/de/mud/telnet/TelnetWrapper.html)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This works great in AIX and I'm able to execute commands in AIX and interact via telnet.  However, executing the exact same code on a VMS box, I get undefined errors, essentially saying that the command failed.  I'm just passing simple commands like "dir" or "sho def."&lt;BR /&gt;&lt;BR /&gt;I've attached my code and sample output from a putty telnet session to the vms node.  I **think** it has to do something with that special character right before the prompt (see putty output).  I've worked on this for &amp;gt;2 weeks and have just been spinning my wheels.&lt;BR /&gt;&lt;BR /&gt;If anyone could help, I'd really appreciate it.&lt;BR /&gt;&lt;BR /&gt;-Allan&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Dec 2005 12:35:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695154#M73396</guid>
      <dc:creator>Allan Parsons</dc:creator>
      <dc:date>2005-12-20T12:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695155#M73397</link>
      <description>Make that &lt;A href="http://javassh.org/download/source/de/mud/telnet/TelnetWrapper.html" target="_blank"&gt;http://javassh.org/download/source/de/mud/telnet/TelnetWrapper.html&lt;/A&gt;&lt;BR /&gt;I'll try it at work.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 20 Dec 2005 16:00:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695155#M73397</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-12-20T16:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695156#M73398</link>
      <description>I know nothing here, but should I be less&lt;BR /&gt;troubled by this odd quotation mark count?&lt;BR /&gt;&lt;BR /&gt;&lt;CFSET hello2="#telnet.send(&amp;quot;dir)#"&gt;&lt;/CFSET&gt;</description>
      <pubDate>Tue, 20 Dec 2005 17:04:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695156#M73398</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2005-12-20T17:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695157#M73399</link>
      <description>No, i had some longer command in there and shortened it to dir for this forum purpose.  It would have thrown a syntax error if that was the problem.</description>
      <pubDate>Tue, 20 Dec 2005 17:24:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695157#M73399</guid>
      <dc:creator>Allan Parsons</dc:creator>
      <dc:date>2005-12-20T17:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695158#M73400</link>
      <description>If you're looking for doing a telnet via the browser, try this &lt;BR /&gt;&lt;A href="http://javassh.org/space/start" target="_blank"&gt;http://javassh.org/space/start&lt;/A&gt;&lt;BR /&gt;Click on JTA binaries.&lt;BR /&gt;&lt;BR /&gt;It worked over here but some security settings have changed and now it no longer works. But it could work for you.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 21 Dec 2005 02:41:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695158#M73400</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2005-12-21T02:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695159#M73401</link>
      <description>Hello,&lt;BR /&gt;could it be, that the user on the OpenVMS node did define symbols, which override your commands. My experience is, that the most one did not know that every action (inlcuding telnet) implied a LOGIN. So you have to check the OpenVMS account for the presens of the LOGIN.COM procedure and there content. Also you have to check that the right DCLTABLES will be used.&lt;BR /&gt;Best regards R. Wingert</description>
      <pubDate>Wed, 21 Dec 2005 05:39:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695159#M73401</guid>
      <dc:creator>Rudolf Wingert</dc:creator>
      <dc:date>2005-12-21T05:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695160#M73402</link>
      <description>Allan,&lt;BR /&gt;&lt;BR /&gt;Looking at your attachment, I suspect that the "funny" characters are either line feeds, carriage returns, or nulls (I will try to do a hex dump of the file later, if I can find the time).&lt;BR /&gt;&lt;BR /&gt;What is your check for command success/failure?&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Wed, 21 Dec 2005 05:41:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695160#M73402</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2005-12-21T05:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695161#M73403</link>
      <description>No, the user didn't override the commands with symbols.  The telnet session logs in just fine, it appears, but just fails on a dir (or any) command.  I can telnet to the vms node just fine using putty.&lt;BR /&gt;&lt;BR /&gt;I don't think it can find the prompt, which is what it needs in order for it to execute the next command.&lt;BR /&gt;&lt;BR /&gt;I don't have any specific error checking in Coldfusion turned on, but it would typically return the entire window to the variable (in the case of the attached code: hello2).&lt;BR /&gt;&lt;BR /&gt;I can't use an applet - it has to be just a java call to the jar file embedded in the webpage.  It will run as a nightly job which will go out and see if a set of particular files exist.  If they do, then I'll store the dates of those files in a database.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Dec 2005 10:31:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695161#M73403</guid>
      <dc:creator>Allan Parsons</dc:creator>
      <dc:date>2005-12-21T10:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695162#M73404</link>
      <description>Just wanted to bump this since I'm still having issues trying to get this to work...</description>
      <pubDate>Thu, 29 Dec 2005 15:43:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695162#M73404</guid>
      <dc:creator>Allan Parsons</dc:creator>
      <dc:date>2005-12-29T15:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695163#M73405</link>
      <description>Have you tried doing the login before the setPrompt?&lt;BR /&gt;&lt;BR /&gt;telnet.connect("#node#", 23);&lt;BR /&gt;telnet.login("#username#","#password#");&lt;BR /&gt;telnet.setPrompt("#prompt#");&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Dec 2005 16:47:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695163#M73405</guid>
      <dc:creator>Doug Phillips</dc:creator>
      <dc:date>2005-12-29T16:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695164#M73406</link>
      <description>I just tried that (just now) and it yielded the same result :(</description>
      <pubDate>Thu, 29 Dec 2005 16:51:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695164#M73406</guid>
      <dc:creator>Allan Parsons</dc:creator>
      <dc:date>2005-12-29T16:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695165#M73407</link>
      <description>Do you know exactly where it's failing? Do you know that it's actually logging in and making it through the users login.com? The exact error message(s) text might help.&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Dec 2005 17:11:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695165#M73407</guid>
      <dc:creator>Doug Phillips</dc:creator>
      <dc:date>2005-12-29T17:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695166#M73408</link>
      <description>It logs in correctly and is failing when i execute the command.  It just gets nothing back.  I *suspect* that it has to do with that special character before the prompt (see my original output from putty).</description>
      <pubDate>Thu, 29 Dec 2005 17:20:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695166#M73408</guid>
      <dc:creator>Allan Parsons</dc:creator>
      <dc:date>2005-12-29T17:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695167#M73409</link>
      <description>The special character in front of the prompts is hex 0D (CR). After each line is 0D 0A 0D (CR LF CR). Seems like maybe a setting someplace that's auto-adding a CR.&lt;BR /&gt;&lt;BR /&gt;If you're sure you're making through the LOGIN.COM and there isn't a SET TERM or such tripping you up, then maybe it is the extra CR that's causing the problem -- but I don't see how.&lt;BR /&gt;&lt;BR /&gt;Sorry, that's about all I have to offer.&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Dec 2005 17:46:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695167#M73409</guid>
      <dc:creator>Doug Phillips</dc:creator>
      <dc:date>2005-12-29T17:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695168#M73410</link>
      <description>I'm not toooooo familiar with java.  Do you know how to "set term" using the telnet wrapper in the javassh library?</description>
      <pubDate>Fri, 30 Dec 2005 12:38:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695168#M73410</guid>
      <dc:creator>Allan Parsons</dc:creator>
      <dc:date>2005-12-30T12:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695169#M73411</link>
      <description>I think LOGIN.COM (LGICMD) would be the place to do your SET TERM. I'd probably create a special username for this application so I could better control and restrict the environment.&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Dec 2005 13:05:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695169#M73411</guid>
      <dc:creator>Doug Phillips</dc:creator>
      <dc:date>2005-12-30T13:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695170#M73412</link>
      <description>I tried changing the environment type in the LOGIN.COM (before) but each terminal seems to auto-set the terminal type.  For instance, when i connect through Putty, i get a different terminal type than when I connect through msdos telnet.</description>
      <pubDate>Fri, 30 Dec 2005 13:10:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695170#M73412</guid>
      <dc:creator>Allan Parsons</dc:creator>
      <dc:date>2005-12-30T13:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695171#M73413</link>
      <description>Do you know if there is a public VMS node I can connect to just to test my code...  Creating separate usernames is not an option - we have standard usernames that are created with installation and my tiny project's username will never make it into the installation document.  It'd be a management nightmare to create separate patrol usernames on each node.</description>
      <pubDate>Fri, 30 Dec 2005 13:12:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695171#M73413</guid>
      <dc:creator>Allan Parsons</dc:creator>
      <dc:date>2005-12-30T13:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695172#M73414</link>
      <description>$set term/inquire does this. You'll probably find that in the login.com file. &lt;BR /&gt;&lt;BR /&gt;That's why if you can't identify the login as coming from your application, you need a special username to log in with. Don't use that user for anything other than your web app (and testing, of course) and make it so that it can olny do the task you want.&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Dec 2005 13:20:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695172#M73414</guid>
      <dc:creator>Doug Phillips</dc:creator>
      <dc:date>2005-12-30T13:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: VMS Command Prompt - Can't Tell?!?!</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695173#M73415</link>
      <description>Sorry, you beat me to the post:-) Some of the folks who hang out here offer public VMS accounts. I think there are some links at &lt;A href="http://WWW.OPENVMS.ORG," target="_blank"&gt;WWW.OPENVMS.ORG,&lt;/A&gt; too. Otherwise, a google should turn up some.&lt;BR /&gt;&lt;BR /&gt;The SET TERM command is just DCL, though, so you could try sending it just after your login. &lt;BR /&gt;&lt;BR /&gt;I suggested a special username because you need someway to make this login appear unique if you want to cause the LGICMD file to act in a unique way. The other option is to make your client terminal/node identifiable in the login.&lt;BR /&gt;&lt;BR /&gt;Don't know enough about your environment to make suggestions about that.&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Dec 2005 13:34:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/vms-command-prompt-can-t-tell/m-p/3695173#M73415</guid>
      <dc:creator>Doug Phillips</dc:creator>
      <dc:date>2005-12-30T13:34:16Z</dc:date>
    </item>
  </channel>
</rss>

