<?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: DCL command buffer overflow in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153977#M39416</link>
    <description>Wim,&lt;BR /&gt;&lt;BR /&gt;  (sigh), Yes, DCL has limitations. That particular limitation was extended several years ago (&amp;gt;5) in EDCL, available in V7.3-2 and above (why are you still on V7.3? -2 is guaranteed to be binary compatible with all non-privileged code - it's a trivial upgrade, well tested and very well understood). Sorry, there are no valid excuses for running V7.3. I'll accept there are some arguments for V6.2 and V5.5-2, but NOT V7.3.&lt;BR /&gt;&lt;BR /&gt;  If you're not prepared to install a later version, then use a different programming language that doesn't have the same limitations. Even if you don't have any other compilers, for the specific issue here, (copy the first 10 characters of the first record in a file into a specific symbol), you could write a less than 20 line MACRO32 program which would work on any OpenVMS system, any version, any platform.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 03 Mar 2008 20:42:11 GMT</pubDate>
    <dc:creator>John Gillings</dc:creator>
    <dc:date>2008-03-03T20:42:11Z</dc:date>
    <item>
      <title>DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153971#M39410</link>
      <description>VMS 7.3&lt;BR /&gt;&lt;BR /&gt;$ Read x x_rec&lt;BR /&gt;$ y=f$extr(0,10,x_rec)&lt;BR /&gt;DCL-W-BUFOV, command buffer overflow&lt;BR /&gt;&lt;BR /&gt;x is a file with long records (1200 char).&lt;BR /&gt;&lt;BR /&gt;How to get around this overflow ?&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 03 Mar 2008 09:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153971#M39410</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-03-03T09:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153972#M39411</link>
      <description>Seems to be on VAX :-)&lt;BR /&gt;&lt;BR /&gt;You may try the EXTRACT (freeware CD) utility, gathering the output via the PIPE command:&lt;BR /&gt;&lt;BR /&gt;$ pip extract sc:a.dat /col=(1:10) | (read sys$pipe a ; def/job test &amp;amp;A)&lt;BR /&gt;$ y = F$trnlnm("TEST")&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;write your own program.&lt;BR /&gt;&lt;BR /&gt;regards Kalle&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Mar 2008 10:38:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153972#M39411</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2008-03-03T10:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153973#M39412</link>
      <description>No VAX but Alpha. No way getting around without installing stuff ?&lt;BR /&gt;&lt;BR /&gt;BTW : I don't need the whole record, only the beginning and I prefer not to do a convert to truncate the file.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 03 Mar 2008 10:43:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153973#M39412</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-03-03T10:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153974#M39413</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;if you are ONLY interested in the first 10 bytes of each record, CONVERT/FDL=.../TRUNCATE to a temp file first, then process the temp file.&lt;BR /&gt;&lt;BR /&gt;Or upgrade to V7.3-2 or higher to be able to use Extended DCL - but you know that ;-)&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 03 Mar 2008 10:44:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153974#M39413</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2008-03-03T10:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153975#M39414</link>
      <description>I tried this but no error and not working. Funny bug or feature.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;open/read x login.com&lt;BR /&gt;&amp;gt;read x xx&lt;BR /&gt;&amp;gt;sh symb xx&lt;BR /&gt;  XX = "$ set nover"&lt;BR /&gt;&amp;gt;read x xx[0,10]&lt;BR /&gt;&amp;gt;sh symb xx&lt;BR /&gt;  XX = "$ set nover"&lt;BR /&gt;&lt;BR /&gt;(and there is only ser verify)&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Mon, 03 Mar 2008 10:48:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153975#M39414</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-03-03T10:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153976#M39415</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;I do not believe that partial assignments to strings were supported in the DCL READ command (the HELP text is specific--"symbol-name").&lt;BR /&gt;&lt;BR /&gt;The lack of a reported syntax error is certainly a bug (although I do not have the time to verify  it, or its age).&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, 03 Mar 2008 11:11:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153976#M39415</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-03-03T11:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153977#M39416</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;  (sigh), Yes, DCL has limitations. That particular limitation was extended several years ago (&amp;gt;5) in EDCL, available in V7.3-2 and above (why are you still on V7.3? -2 is guaranteed to be binary compatible with all non-privileged code - it's a trivial upgrade, well tested and very well understood). Sorry, there are no valid excuses for running V7.3. I'll accept there are some arguments for V6.2 and V5.5-2, but NOT V7.3.&lt;BR /&gt;&lt;BR /&gt;  If you're not prepared to install a later version, then use a different programming language that doesn't have the same limitations. Even if you don't have any other compilers, for the specific issue here, (copy the first 10 characters of the first record in a file into a specific symbol), you could write a less than 20 line MACRO32 program which would work on any OpenVMS system, any version, any platform.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Mar 2008 20:42:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153977#M39416</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-03-03T20:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153978#M39417</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;This is a bank and lots of money flows thru the VMS platform. No way to upgrade (already on lots of unsupported stuff of Sybase and Reuters, core people gone with the wind) unless you sign a document that you will pay for all the damages. But bring a large check in that case. And a very rich sponsor.&lt;BR /&gt;&lt;BR /&gt;BTW : it's 7.3 not fully patched.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 04 Mar 2008 07:11:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153978#M39417</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-03-04T07:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153979#M39418</link>
      <description>*insert usual stuff about risks of running unsupported versions versus risk of upgrading*&lt;BR /&gt;&lt;BR /&gt;Follow the advice of JG and use another language. The version of DCL you are running has limits and you have hit one of them.</description>
      <pubDate>Tue, 04 Mar 2008 16:34:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153979#M39418</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2008-03-04T16:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153980#M39419</link>
      <description>I went for the convert of the file before using it.</description>
      <pubDate>Tue, 04 Mar 2008 16:43:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153980#M39419</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-03-04T16:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153981#M39420</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;  That's a load of *&amp;amp;^%#*($&lt;BR /&gt;&lt;BR /&gt;  One would have expected that "a bank and lots of money flows thru" would have a much better appreciation risk management than demonstrated by insistence on remaining on an old, unsupported, and unsupportable version of an operating system, with numerous KNOWN problems.&lt;BR /&gt;&lt;BR /&gt;  How will they ever upgrade? What will they do if they hit one of the many bugs which have long since been fixed by patches that are tried and tested across the planet? How will anyone even diagnose problems on a system with unique version and patch levels? Don't they have test systems? What if they have a need for a new or fixed feature? (for example, longer command line buffers).&lt;BR /&gt;&lt;BR /&gt;  It seems obvious to me that the risk they think they're avoiding is FAR FAR less than the risks they expose themselves to by NOT upgrading.&lt;BR /&gt;&lt;BR /&gt;  I could never understand why some users would refuse to upgrade a supported, QA tested minor version, but would happily install and run with a hacked up, untested, unique patch when they hit a problem.&lt;BR /&gt;&lt;BR /&gt;  They same bank no doubt blindly downloads and installs all the patches that another software company throws at them...&lt;BR /&gt;&lt;BR /&gt;  This is a huge issue in the OpenVMS world. Far too many versions, and far too many people unnecessarily afraid of the upgrade bogeyman. It's up to professionals like YOU to educate those that make the decisions.&lt;BR /&gt;&lt;BR /&gt;  OpenVMS should NOT be fragmented into a zillion incremental versions. It makes everyone's life harder and GENERATES risk, rather than mitigating it.</description>
      <pubDate>Tue, 04 Mar 2008 20:39:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153981#M39420</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-03-04T20:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153982#M39421</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;Although I agree with you about running old versions, if you were at that site, and given the same restrictions, specifically, "guarantee that this upgrade won't break anything, or pay for all the damages", your only choices are to leave it alone or find another client.&lt;BR /&gt;&lt;BR /&gt;Yes, you can try to educate them, and point out that the risks associated with old versions may be higher that the risk of upgrade.  However, if something breaks because of a deficiency of the old system, that can't be blamed on you.  Any problems that occur after the upgrade will be blamed on you whether they are in fact related to the upgrade or not.&lt;BR /&gt;&lt;BR /&gt;"core people gone with the wind", this is another problem.  What if there is something that breaks as the result of a change?  And there is no documentation? Hopefully the those problems would show up before going live, but you often can't do a 100% test on a test system, and with a banking system, I would expect a lot of interaction with outside systems that would be hard to faithfully emulate.&lt;BR /&gt;&lt;BR /&gt;They should definitely have a test system, but doing a good regression test/parallel testing, etc. is not a trivial matter.  Although I would be interested in ideas about how those can be done with good coverage and minimal human resources.&lt;BR /&gt;&lt;BR /&gt;I remember when I was in high school (~1973) we went to a NORAD (Air Defense) monitoring site as a school field trip for our Physics class.  They were still using vacuum tube computers at that time (possibly due to reduced susceptibility to EMP).  So there are some industries/markets that are extremely lethargic in their upgrade schedules.  And they may not upgrade until it is a absolute requirement because of non-support of the replacement platform.&lt;BR /&gt;&lt;BR /&gt;Jon&lt;BR /&gt;</description>
      <pubDate>Tue, 04 Mar 2008 23:23:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153982#M39421</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2008-03-04T23:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153983#M39422</link>
      <description>Jon(h),&lt;BR /&gt;&lt;BR /&gt;Sorry but can't give more details but it's worse than you think. Officially we are in the last year of VMS ...&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 05 Mar 2008 07:22:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153983#M39422</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-03-05T07:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153984#M39423</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;Officially we are in the last year of VMS ...&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;And THAT at a bank that does not even dare to upgrade???&lt;BR /&gt;&lt;BR /&gt;Are you at liberty to tell us what will be the replacement platform those "... lots of money flows thru" ?&lt;BR /&gt;Try to (let them!) explain how that "minor upgrade" will be less risky than the "giant move" of VMS v7.3 to v7.3-2, or, even better, v8.3 !!&lt;BR /&gt;And in the course of that, let them explain how they intend to be more trustworthy on the new platform, because somehow I doubt that the replacement would be NSK...&lt;BR /&gt;&lt;BR /&gt;Then again, probably all caused by the lack of (visual) support for VMS by the current owners...  Beuh.&lt;BR /&gt;&lt;BR /&gt;just rambling....&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Mar 2008 09:12:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153984#M39423</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-03-05T09:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153985#M39424</link>
      <description>Jan&lt;BR /&gt;&lt;BR /&gt;Most of the stuff is going to Sun. It concerns big trades and currency swaps. They will just do them in other systems (package based, need a lot more Sun hardware than VMS hardware).&lt;BR /&gt;&lt;BR /&gt;But the last 20% will be tricky ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 05 Mar 2008 09:36:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153985#M39424</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-03-05T09:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153986#M39425</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Officially we are in the last year of VMS ...&lt;BR /&gt;&lt;BR /&gt;  Don't worry, I know plenty of people who've been in "the last year of VMS..." perpetually since 1990! ;-)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Mar 2008 20:17:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153986#M39425</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-03-05T20:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153987#M39426</link>
      <description>SOAPBOX:&lt;BR /&gt;&lt;BR /&gt;It never ceases to amaze me at the haughty, condescending attitudes exhibited by some when a person comes here for help, and receives derision for being on an old version of VMS.&lt;BR /&gt;&lt;BR /&gt;Folks, if the user is running some obsolete version of the OS or an app, tell him why his problem exists, suggest he upgrade because that problem was fixed in a later rev, but don't flame him!  Some people are overwhelmed as it is, don't need scorn poured on them, and we will never garner converts to VMS if we ridicule people who come here for help!&lt;BR /&gt;&lt;BR /&gt;Geezzzz....  (off my soapbox now...)</description>
      <pubDate>Wed, 05 Mar 2008 22:12:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153987#M39426</guid>
      <dc:creator>Aaron Sakovich</dc:creator>
      <dc:date>2008-03-05T22:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153988#M39427</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;No guarantees this will work, but it does on 7.3-2 with a 8172 length string.&lt;BR /&gt;&lt;BR /&gt;$ read x x_rec&lt;BR /&gt;$ y=f$fao("!10AS",x_rec) ! same effect as f$extr(0,10,x_rec) but may work places f$extract fails.&lt;BR /&gt;&lt;BR /&gt;Can you see if that works on your version?&lt;BR /&gt;&lt;BR /&gt;Jon&lt;BR /&gt;&lt;BR /&gt;P.S. here's what I did on 7.3-2 (patched)&lt;BR /&gt;&lt;BR /&gt;$ abc=f$fao("!8173*a")&lt;BR /&gt;%DCL-W-BUFOVF, command buffer overflow - shorten expression or command line&lt;BR /&gt;$ abc = f$fao("!8172*a") ! 8172 "a" characters 8173 gets buffer overflow&lt;BR /&gt;$ write/symbol sys$output abc&lt;BR /&gt;%RMS-F-SYS, QIO system service request failed&lt;BR /&gt;-SYSTEM-F-EXQUOTA, process quota exceeded&lt;BR /&gt;$ new=""&lt;BR /&gt;$ new=f$fao("!10AS",abc)&lt;BR /&gt;$ sho sym new&lt;BR /&gt;  NEW = "aaaaaaaaaa"&lt;BR /&gt;$&lt;BR /&gt;$ write/symbol sys$output abc</description>
      <pubDate>Thu, 06 Mar 2008 02:14:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153988#M39427</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2008-03-06T02:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153989#M39428</link>
      <description>Joe,&lt;BR /&gt;&lt;BR /&gt;nice idea with F$Fao, helps on VAX:&lt;BR /&gt;&lt;BR /&gt;$ lang=F$Fao("!1000*A")&lt;BR /&gt;$ kurz=F$Extract(0,10,Lang)&lt;BR /&gt;%DCL-W-BUFOVF, command buffer overflow - shorten expression or command line&lt;BR /&gt;$ kurz=F$Fao("!10AS",lang)&lt;BR /&gt;$ sh sym kurz&lt;BR /&gt;  KURZ = "AAAAAAAAAA"&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Thu, 06 Mar 2008 06:06:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153989#M39428</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2008-03-06T06:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: DCL command buffer overflow</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153990#M39429</link>
      <description>&lt;!--!*#--&gt;In VMS 7.3 the DOCUMENTED size limit for a DCL symbol was 1024 bytes.  With 7.3-2 and Extended DCL this was increased to 8192 bytes.&lt;BR /&gt;&lt;BR /&gt;However a problem wither DCL or EDCL is that when using symbols that are close to these documented limits with most DCL commands you will get the dreaded:&lt;BR /&gt;%DCL-W-BUFOVF, command buffer overflow&lt;BR /&gt;&lt;BR /&gt;For instance under VMS 7.3-2:&lt;BR /&gt;$ x_rec=f$fao("!8192*a")&lt;BR /&gt;%DCL-W-BUFOVF, command buffer overflow&lt;BR /&gt;$ x=f$fa("!8175*a") !longest that works&lt;BR /&gt;$ write sys$output f$len(x)&lt;BR /&gt;%DCL-W-BUFOVF, command buffer overflow&lt;BR /&gt;$ say := write sys$output&lt;BR /&gt;$ say "''f$len(x)'"&lt;BR /&gt;8175&lt;BR /&gt;&lt;BR /&gt;So minor changes in the DCL commands you use can prevent or cause BUFOVF when you are *CLOSE* to the limit.  Jon's choice of F$FAO instead of F$EXTRACT is another example of this.&lt;BR /&gt;&lt;BR /&gt;READ and WRITE/SYMBOL work up to and even over the documented limit, but there's no way under VMS 7.3 to do anything else with a symbol size of more than 1024 bytes.&lt;BR /&gt;&lt;BR /&gt;Another limitation under V7.3-2 is LIB$SET_SYMBOL and LIB$GET_SYMBOL only work for symbols up to 4096 bytes.</description>
      <pubDate>Thu, 06 Mar 2008 18:11:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow/m-p/4153990#M39429</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2008-03-06T18:11:33Z</dc:date>
    </item>
  </channel>
</rss>

