<?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 with 'a[n,n] := b' in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960293#M33640</link>
    <description>Guy has confirmed that this is a bug, and will be releasing a fix in DCL v8.&lt;BR /&gt;&lt;BR /&gt;In addition, there's also a similar bug with long symbol lengths in F$TYPE() which is being corrected (not sure if it's a good or bad month for me!).&lt;BR /&gt;&lt;BR /&gt;Thanks for everyone's help on this.&lt;BR /&gt;&lt;BR /&gt;Rob.&lt;BR /&gt;</description>
    <pubDate>Fri, 24 Feb 2006 09:50:28 GMT</pubDate>
    <dc:creator>Robert Atkinson</dc:creator>
    <dc:date>2006-02-24T09:50:28Z</dc:date>
    <item>
      <title>DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960274#M33621</link>
      <description>I have a routine that builds up a record using field registers, like this :-&lt;BR /&gt;&lt;BR /&gt;$ DCF$'AREANAME'_RECORD['TEMP'] :== "''FIELD'"&lt;BR /&gt;&lt;BR /&gt;Problem is, one of the field lengths is 400 characters, which blows the DCL limitation.&lt;BR /&gt;&lt;BR /&gt;So, I tried doing :-&lt;BR /&gt;&lt;BR /&gt;$ DCF$'AREANAME'_RECORD['TEMP'] == FIELD&lt;BR /&gt;&lt;BR /&gt;....so that the translation is internal, but this gives :-&lt;BR /&gt;&lt;BR /&gt;$ DCF$WEBR_RECORD[10,400] == FIELD&lt;BR /&gt;%DCL-W-IVCHAR, invalid numeric value - check for invalid digits&lt;BR /&gt; \ FIELD\&lt;BR /&gt;&lt;BR /&gt;Can anyone think of a clever way to translate the field and store it in a record section, without having to use a literal?&lt;BR /&gt;&lt;BR /&gt;Rob.&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Feb 2006 05:22:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960274#M33621</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-02-16T05:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960275#M33622</link>
      <description>&lt;BR /&gt;Beginning to think it's an oversight by the engineers, from when they extended the DCL limits.&lt;BR /&gt;&lt;BR /&gt;If the command string is greater than 254 characters, it fails :-&lt;BR /&gt;&lt;BR /&gt;GAMNEW_ROB$ A = F$FAO("!229*X")&lt;BR /&gt;GAMNEW_ROB$ DCF$EMD_RECORD[51,400] :== "''A'"&lt;BR /&gt;GAMNEW_ROB$ A = F$FAO("!230*X")&lt;BR /&gt;GAMNEW_ROB$ DCF$EMD_RECORD[51,400] :== "''A'"&lt;BR /&gt;%DCL-W-BUFOVF, command buffer overflow - shorten expression or command line&lt;BR /&gt; \DCF$EMD_RECORD[51,400]:==XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;BR /&gt;&lt;BR /&gt;I am correct in thinking the DCL command line limit went to 1000 characters, or something similar on VMS 7.3-2?&lt;BR /&gt;&lt;BR /&gt;Rob.</description>
      <pubDate>Thu, 16 Feb 2006 05:42:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960275#M33622</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-02-16T05:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960276#M33623</link>
      <description>Rob,&lt;BR /&gt;perhaps you can store the elements in separate symbols and add them at the end, e.g.&lt;BR /&gt;&lt;BR /&gt;- this doesn't work&lt;BR /&gt;&lt;BR /&gt;$ b=f$fao("!500*X")&lt;BR /&gt;$ a[10,500]:="''b'"&lt;BR /&gt;%DCL-W-BUFOVF, command buffer overflow - shorten expression or command line&lt;BR /&gt; \A[10,500]:=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;BR /&gt;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;BR /&gt;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;BR /&gt;XXXXXXXXXXXXXXX&lt;BR /&gt;&lt;BR /&gt;- but&lt;BR /&gt;$ a=F$Fao("!10* ")&lt;BR /&gt;$ a=a+b&lt;BR /&gt;$ sh sym a&lt;BR /&gt;  A = "          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;BR /&gt;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;BR /&gt;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;BR /&gt;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;BR /&gt;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;BR /&gt;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;BR /&gt;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Thu, 16 Feb 2006 05:43:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960276#M33623</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2006-02-16T05:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960277#M33624</link>
      <description>Because the utility is designed to work with individual fields within the record, that just wouldn't be feasable.&lt;BR /&gt;&lt;BR /&gt;I'd have to reconstruct the whole record from scratch every time I updated a single field.&lt;BR /&gt;&lt;BR /&gt;Rob.</description>
      <pubDate>Thu, 16 Feb 2006 05:46:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960277#M33624</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-02-16T05:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960278#M33625</link>
      <description>Robert,&lt;BR /&gt;&lt;BR /&gt;for completeness:  Which version / DCL patch level of VMS?&lt;BR /&gt;&lt;BR /&gt;EDCL only came into VMS 7.3-2 by a DCL patch.&lt;BR /&gt;So before, this is entyrely to be expected, but after, I would call it a bug, of which Guy Peleg should be made aware.&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Thu, 16 Feb 2006 06:52:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960278#M33625</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-02-16T06:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960279#M33626</link>
      <description>&lt;BR /&gt;- Embrace DATATRIEVE&lt;BR /&gt;&lt;BR /&gt;- Document a 255 byte field length limitation for your tool, after estimating how much impact that woudl have. Offer workaround using multiple adjacent fields.&lt;BR /&gt;&lt;BR /&gt;- Learn Pearl&lt;BR /&gt;&lt;BR /&gt;- use a look-aside exception construction..&lt;BR /&gt;IF (F$TYPE(EXTENDED_'FIELDNAME')&lt;BR /&gt;THEN&lt;BR /&gt;$ DCF$'AREANAME'_RECORD['TEMP_PART_2'] :== F$EXTR(256,999,FIELD)&lt;BR /&gt;:&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Feb 2006 06:55:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960279#M33626</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-02-16T06:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960280#M33627</link>
      <description>&lt;BR /&gt;DEC AXPVMS VMS732_UPDATE V4.0       Patch       Install     07-MAY-2005 09:11:18&lt;BR /&gt;&lt;BR /&gt;Which contains DCL v2 I believe. I'll check out the latest versions of DCL to see if this has been corrected.&lt;BR /&gt;&lt;BR /&gt;Any idea how I can email Guy?&lt;BR /&gt;&lt;BR /&gt;Rob.</description>
      <pubDate>Thu, 16 Feb 2006 06:58:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960280#M33627</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-02-16T06:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960281#M33628</link>
      <description>Last option won't work I'm afraid Hein :-&lt;BR /&gt;&lt;BR /&gt;ALPHA_ROB$$$ a[10,20] := f$ext(0,99,b)&lt;BR /&gt;ALPHA_ROB$$$ sh sym a&lt;BR /&gt;  A = "          F$EXT(0,99,B)       "&lt;BR /&gt;&lt;BR /&gt;Rob.</description>
      <pubDate>Thu, 16 Feb 2006 07:08:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960281#M33628</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-02-16T07:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960282#M33629</link>
      <description>Right.. sorry 'bout that. Just Cutting&amp;amp;Pasting. &lt;BR /&gt;It was just some handwaving to indicate a general direction, not to be used as exact example. &lt;BR /&gt;The implications of the := string assignment are intriuging (sp?) right?&lt;BR /&gt;Using = turns the [x,y] into a bitfield descriptor.&lt;BR /&gt;&lt;BR /&gt;So it is back to the explicit substitution, with double-quote plus double single quote...&lt;BR /&gt;&lt;BR /&gt; a[10,20] := f$ext(0,99,b)$  a[10,20] := "''f$ext(0,99,b) &lt;BR /&gt;$ show symb a&lt;BR /&gt;  A = "          TEST                "&lt;BR /&gt;&lt;BR /&gt;The other that is always fun about the = vs := assignments is how to get DCL help for it.&lt;BR /&gt;The intuitive $HELP = does not work of course as that looks too much like you are assigning something to the symbol help.&lt;BR /&gt;You have to go into interactive help, and then type in = (or := ) at the " Press RETURN to continue ... " prompt (or the "Topic? " prompt)&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Feb 2006 07:37:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960282#M33629</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-02-16T07:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960283#M33630</link>
      <description>Yeah...&lt;BR /&gt;&lt;BR /&gt;Hein already hinted at the solution:&lt;BR /&gt;&lt;BR /&gt;VMS V7.3-2:&lt;BR /&gt;&lt;BR /&gt;$ aaa = "abc"&lt;BR /&gt;$ xyz'aaa'[30,400]:="very long text"&lt;BR /&gt;$ sho sym xyzabc&lt;BR /&gt;XYZABC = "&amp;lt;30 spaces&amp;gt;very long text&amp;lt;386 spaces&amp;gt;"&lt;BR /&gt;&lt;BR /&gt;Problem solved?&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Thu, 16 Feb 2006 07:55:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960283#M33630</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-02-16T07:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960284#M33631</link>
      <description>Nope - as soon as the literal gets above 230'ish characters, it blows (as per my example). The total command cannot exceed 255 characters.&lt;BR /&gt;&lt;BR /&gt;Rob.</description>
      <pubDate>Thu, 16 Feb 2006 08:13:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960284#M33631</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-02-16T08:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960285#M33632</link>
      <description>&amp;gt; Any idea how I can email Guy? &lt;BR /&gt;&lt;BR /&gt;I've always got a reply from Guy using &lt;BR /&gt;dcl@hp.com&lt;BR /&gt;&lt;BR /&gt;Kind Regards&lt;BR /&gt;John.</description>
      <pubDate>Thu, 16 Feb 2006 09:01:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960285#M33632</guid>
      <dc:creator>John Abbott_2</dc:creator>
      <dc:date>2006-02-16T09:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960286#M33633</link>
      <description>Robert,&lt;BR /&gt;&lt;BR /&gt;SOMETHING is weird here!&lt;BR /&gt;&lt;BR /&gt;My example is a litteral transcript from what I executed seconds before on our system.&lt;BR /&gt;&lt;BR /&gt;$ field = "tekst"&lt;BR /&gt;$ temp  = "10,400"&lt;BR /&gt;$ aaa   = "xyz"&lt;BR /&gt;$ abc'aaa'def['temp']:="''field'"&lt;BR /&gt;&lt;BR /&gt;$ show symb abc*&lt;BR /&gt;&lt;BR /&gt;ABCXYZDEF = "&amp;lt;10 spaces&amp;gt;tekst&amp;lt;385 spaces&amp;gt;&lt;BR /&gt;&lt;BR /&gt;For a better visibility, copy/paste the DCL above into any plain ASCII editor.&lt;BR /&gt;&lt;BR /&gt;Points of attention:&lt;BR /&gt;- NO spaces between symbolname and [&lt;BR /&gt;- STRING assignment symbol MUST be := or :==;&lt;BR /&gt;= or == together with [ ] means integer assignment, with BIT specification between the [ ] &lt;BR /&gt;- right-hand-side of assignment MUST be between double "" , or it get compressed&lt;BR /&gt;- normal value substitution inside string, double ' to open, and single ' to close symbol substitution.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Thu, 16 Feb 2006 09:15:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960286#M33633</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-02-16T09:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960287#M33634</link>
      <description>Well, for sure I learned a little 'handy' thing in this string.&lt;BR /&gt;&lt;BR /&gt;Like Kalle I used to use constructs like: $ b=f$fao("!500*X") to generate a long string.&lt;BR /&gt;&lt;BR /&gt;Now I may just switch to b[0,500]=" " when all I need is space.&lt;BR /&gt;And I may just start to use:&lt;BR /&gt;$del/sym b&lt;BR /&gt;$b[40,20] = text&lt;BR /&gt;&lt;BR /&gt;To create 'aligned strings', starting with leading spaces and having a selected length.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Warning... as you are playing with this an other limitation you are likely to run into is documented under "help := parameter".&lt;BR /&gt; [offset,size] ...  The value of the size plus the offset must not&lt;BR /&gt;       exceed 769.&lt;BR /&gt;&lt;BR /&gt;So if you only use this [] method to assign fields into a record, then you are stuck to 769 byte max record length, not 1024.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Feb 2006 09:39:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960287#M33634</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-02-16T09:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960288#M33635</link>
      <description>Boy, I should be careful writing real code/reports today. &lt;BR /&gt;I'm sloppy. &lt;BR /&gt;I meant to use := assignments throughout the last reply. &lt;BR /&gt;Sorry for the clutter!&lt;BR /&gt;Better start brewing a pot of coffee, and use some, before I touch the keyboards again.&lt;BR /&gt;&lt;BR /&gt;:-)&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Feb 2006 09:44:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960288#M33635</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-02-16T09:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960289#M33636</link>
      <description>Hein,&lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;Warning... as you are playing with this an other limitation you are likely to run into is documented under "help := parameter". &lt;BR /&gt;[offset,size] ... The value of the size plus the offset must not &lt;BR /&gt;exceed 769. &lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;I guess the HELP should be updated:&lt;BR /&gt;&lt;BR /&gt;Changing TEMP in the example above to be "500,1400"  results in a string with a length of 1900.&lt;BR /&gt;"2500,1400" =&amp;gt; length 3900&lt;BR /&gt;Even "2500,2400" gives length 4900, but on showing the symbol I get %DCL-I-SYMTRUNC&lt;BR /&gt;But WRITE/SYMBOL SYS$OUTPUT still gives the full string.&lt;BR /&gt;&lt;BR /&gt;Further testing: string length 7937 is still valid, 7938 gives DCL-W-INVRANGE&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>Thu, 16 Feb 2006 10:03:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960289#M33636</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-02-16T10:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960290#M33637</link>
      <description>Jan, you example will work because the total length of the 4th command ($ abc'aaa'def['temp']:="''field'" &lt;BR /&gt;) does not go over the 255 character limit.&lt;BR /&gt;&lt;BR /&gt;If you were to equate 'field' to a 300 character string, it would fail.&lt;BR /&gt;&lt;BR /&gt;Rob.</description>
      <pubDate>Thu, 16 Feb 2006 10:30:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960290#M33637</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-02-16T10:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960291#M33638</link>
      <description>First few clarifications:&lt;BR /&gt;&lt;BR /&gt;1. Extended DCL (aka EDCL) support shipped&lt;BR /&gt;with v7.3-2, no patch kits are required. &lt;BR /&gt;&lt;BR /&gt;2. With EDCL, the length of the command line&lt;BR /&gt;increased from 255 characters to 4096. Using&lt;BR /&gt;hyphens the command may be expended up&lt;BR /&gt;to 8192 characters. Symbols are limited to&lt;BR /&gt;8192 characters.&lt;BR /&gt;&lt;BR /&gt;3. OpenVMS V8.2 added support for large &lt;BR /&gt;tokens. Large tokens allows each token&lt;BR /&gt;on the command line to be 4000 characters&lt;BR /&gt;(tokens are limited to 255 characters &lt;BR /&gt;with V7.3-2).&lt;BR /&gt;&lt;BR /&gt;Now to your question....you found a bug !&lt;BR /&gt;&lt;BR /&gt;The command line limitations used&lt;BR /&gt;by DCL are constant in an SDL file. I found&lt;BR /&gt;one location where the limit is hardcoded&lt;BR /&gt;to 255. I changed it to use the symbolic&lt;BR /&gt;value and all is well....&lt;BR /&gt;&lt;BR /&gt;Please file an official problem report&lt;BR /&gt;through your local support channel to&lt;BR /&gt;obtain the new image.&lt;BR /&gt;&lt;BR /&gt;Thank you for finding this !&lt;BR /&gt;It is not everyday that someone finds&lt;BR /&gt;a bug in DCL (I'm talking about the CLI&lt;BR /&gt;not the related utilities). Come to&lt;BR /&gt;the bootcamp and I'll buy you a beer ;-)&lt;BR /&gt;&lt;BR /&gt;Guy Peleg&lt;BR /&gt;OpenVMS Engineering</description>
      <pubDate>Thu, 16 Feb 2006 13:23:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960291#M33638</guid>
      <dc:creator>Guy Peleg</dc:creator>
      <dc:date>2006-02-16T13:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960292#M33639</link>
      <description>Until Guy gets DCL fixed can you just do;&lt;BR /&gt;&lt;BR /&gt;$ TEMP="10,200"&lt;BR /&gt;$ DCF$'AREANAME'_RECORD['TEMP']:== "''F$EXTRACT(0,200,FIELD)'"&lt;BR /&gt;$ TEMP="200,200"&lt;BR /&gt;$ DCF$'AREANAME'_RECORD['TEMP']:== "''F$EXTRACT(200,200,FIELD)'"&lt;BR /&gt;&lt;BR /&gt;?</description>
      <pubDate>Thu, 16 Feb 2006 15:45:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960292#M33639</guid>
      <dc:creator>Peter Weaver_1</dc:creator>
      <dc:date>2006-02-16T15:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: DCL Command Buffer Overflow with 'a[n,n] := b'</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960293#M33640</link>
      <description>Guy has confirmed that this is a bug, and will be releasing a fix in DCL v8.&lt;BR /&gt;&lt;BR /&gt;In addition, there's also a similar bug with long symbol lengths in F$TYPE() which is being corrected (not sure if it's a good or bad month for me!).&lt;BR /&gt;&lt;BR /&gt;Thanks for everyone's help on this.&lt;BR /&gt;&lt;BR /&gt;Rob.&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Feb 2006 09:50:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-command-buffer-overflow-with-a-n-n-b/m-p/4960293#M33640</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2006-02-24T09:50:28Z</dc:date>
    </item>
  </channel>
</rss>

