<?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 Device 'KB:' in VAX BASIC in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/device-kb-in-vax-basic/m-p/5124093#M42906</link>
    <description>We are going to migrate the old VAX VMS 6.2 System to ALPHA Open VMS 7.2.  When we recompile and run the VAX BASIC program, we encounter runtime error.  The statement causes error is shown as below.&lt;BR /&gt;&lt;BR /&gt;DECLARE         STRING          my_terminal&lt;BR /&gt;DECLARE         WORD            term_chan&lt;BR /&gt;my_terminal="KB:"&lt;BR /&gt;STAT_L=SYS$ASSIGN(my_terminal,term_chan,,,)&lt;BR /&gt;&lt;BR /&gt;It seems the device "KB:" is no longer valid. Does anybody know that is there any other device name can replace "KB:"? Please help.&lt;BR /&gt;</description>
    <pubDate>Mon, 11 Aug 2008 01:53:04 GMT</pubDate>
    <dc:creator>cckcwong</dc:creator>
    <dc:date>2008-08-11T01:53:04Z</dc:date>
    <item>
      <title>Device 'KB:' in VAX BASIC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-kb-in-vax-basic/m-p/5124093#M42906</link>
      <description>We are going to migrate the old VAX VMS 6.2 System to ALPHA Open VMS 7.2.  When we recompile and run the VAX BASIC program, we encounter runtime error.  The statement causes error is shown as below.&lt;BR /&gt;&lt;BR /&gt;DECLARE         STRING          my_terminal&lt;BR /&gt;DECLARE         WORD            term_chan&lt;BR /&gt;my_terminal="KB:"&lt;BR /&gt;STAT_L=SYS$ASSIGN(my_terminal,term_chan,,,)&lt;BR /&gt;&lt;BR /&gt;It seems the device "KB:" is no longer valid. Does anybody know that is there any other device name can replace "KB:"? Please help.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Aug 2008 01:53:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-kb-in-vax-basic/m-p/5124093#M42906</guid>
      <dc:creator>cckcwong</dc:creator>
      <dc:date>2008-08-11T01:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Device 'KB:' in VAX BASIC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-kb-in-vax-basic/m-p/5124094#M42907</link>
      <description>Well, it might help to know what, exactly, you plan to do with this channel after it's assigned, but taking a shot in the dark, you might have a bit of success with "TT:", although SYS$INPUT, SYS$OUTPUT, and SYS$ERROR&lt;BR /&gt;are also potential candidates.&lt;BR /&gt;&lt;BR /&gt;Was this software originally written on RSTS/E?&lt;BR /&gt;"KB:" is definitely a carryover from RSTS/E; I didn't know that synonym was accepted by VAX BASIC, although there are a lot of RSTS/E-compatible language elements supported&lt;BR /&gt;by VAX BASIC.&lt;BR /&gt;&lt;BR /&gt;-- Rob</description>
      <pubDate>Mon, 11 Aug 2008 02:03:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-kb-in-vax-basic/m-p/5124094#M42907</guid>
      <dc:creator>Robert Brooks_1</dc:creator>
      <dc:date>2008-08-11T02:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Device 'KB:' in VAX BASIC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-kb-in-vax-basic/m-p/5124095#M42908</link>
      <description>&amp;gt;I didn't know that synonym was accepted&lt;BR /&gt;&amp;gt;by VAX BASIC&lt;BR /&gt;&lt;BR /&gt;  Nothing to do with BASIC, it's SYS$ASSIGN opening the channel. I suspect it was a site, or user specific logical name, probably something like:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE KB SYS$INPUT&lt;BR /&gt;&lt;BR /&gt;You don't need to change the code, just define the logical name (though it might make sense to change it to something that won't generate another posting just like this one 10 years down the track when someone has the task of migrating to Itanium V8.3)&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Aug 2008 02:31:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-kb-in-vax-basic/m-p/5124095#M42908</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-08-11T02:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Device 'KB:' in VAX BASIC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-kb-in-vax-basic/m-p/5124096#M42909</link>
      <description>cckcwong,&lt;BR /&gt;&lt;BR /&gt;Most likely, there is a definition for KB in some logical name table. &lt;BR /&gt;&lt;BR /&gt;I recommend that a check be done on the operating context of the program(s) on the VAX. In particular, check any command files associated with running the code, as well as the commands used at login or system startup.&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>Mon, 11 Aug 2008 02:43:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-kb-in-vax-basic/m-p/5124096#M42909</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-08-11T02:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Device 'KB:' in VAX BASIC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-kb-in-vax-basic/m-p/5124097#M42910</link>
      <description>Issue SHOW LOGICAL KB on the OpenVMS VAX box, and see.&lt;BR /&gt;&lt;BR /&gt;In all likelihood, KB: is now TT: -- but you'll want to confirm what other magic might happen with your local KB definition in your local OpenVMS environment.&lt;BR /&gt;&lt;BR /&gt;I'd use TT: in preference to SYS$INPUT, as that latter logical name isn't necessarily a terminal.&lt;BR /&gt;&lt;BR /&gt;All of which here means you can change your code, or you can find the old definition and haul it over.&lt;BR /&gt;&lt;BR /&gt;Migrating to OpenVMS Alpha V8.3 (current) would be recommended; V7.2 is old and no longer supported; no new fixes have been created for that release for some years now.  In any event, there have been BASIC ECO kits around over the years; get current with ECOs for whatever version you end up on.&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs LLC</description>
      <pubDate>Mon, 11 Aug 2008 16:01:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-kb-in-vax-basic/m-p/5124097#M42910</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-08-11T16:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Device 'KB:' in VAX BASIC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-kb-in-vax-basic/m-p/5124098#M42911</link>
      <description>I use 'TT:' instead of 'KB:' in my BASIC program and it works fine. Thank you very much for all your valuable advice from the bottom of my heart : )</description>
      <pubDate>Mon, 18 Aug 2008 05:51:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-kb-in-vax-basic/m-p/5124098#M42911</guid>
      <dc:creator>cckcwong</dc:creator>
      <dc:date>2008-08-18T05:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Device 'KB:' in VAX BASIC</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-kb-in-vax-basic/m-p/5124099#M42912</link>
      <description>Very useful. Thanks a lot.</description>
      <pubDate>Wed, 07 Oct 2009 00:35:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-kb-in-vax-basic/m-p/5124099#M42912</guid>
      <dc:creator>cckcwong</dc:creator>
      <dc:date>2009-10-07T00:35:49Z</dc:date>
    </item>
  </channel>
</rss>

