home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / vms / 19963 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  1.6 KB

  1. Path: sparky!uunet!pipex!bnr.co.uk!uknet!miclon!nreadwin
  2. From: nreadwin@micrognosis.co.uk (Neil Readwin)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: long, long, really long DCL commands
  5. Keywords: dcl
  6. Message-ID: <BzzHK2.HFM@micrognosis.co.uk>
  7. Date: 28 Dec 92 19:16:50 GMT
  8. References: <1992Dec28.172453.24421@ramsey.cs.laurentian.ca>
  9. Sender: news@micrognosis.co.uk
  10. Organization: Micrognosis, a division of CSK(UK) Ltd
  11. Lines: 34
  12.  
  13. george@ramsey.cs.laurentian.ca (George Nassas) writes:
  14. |> The manual tells me that DCL will gladly accept commands of 1024
  15. |> characters although each individual line cannot go longer than 256
  16. |> characters.
  17.  
  18. It does not lie. If I create a file FOO.COM containing:
  19.  
  20.     $ SHOW LOG -
  21.     a -
  22.     ,a -
  23.     ,a -
  24.     ,a
  25.  
  26. Where 'a' is replaced by 250 characters, then DCL will run it and I get
  27. 4 SHOW-S-NOTRAN errors. If I add a fifth parameter (which takes the command
  28. up to about 1250 characters) then I get a DCL-W-BUFOVF error. If I add
  29. another ten characters to one of the lines then I get an RMS-W-RTB error.
  30.  
  31. |> At first I thought that I could get really long lines by going:
  32. |> 
  33. |>         $ 256 chars -
  34. |>           256 chars - etc...
  35. |> 
  36. |> but no way.
  37.  
  38. "No way"? as in the legendary "NFW, path lost to partner" error? No, I
  39. guess not. Umm, of course if you really mean 256 where you have written 256
  40. then I must point out that the space (if any) and hyphen count against your
  41. total, so 254 characters on each line might work.
  42.  
  43. If all else fails then how about telling us what the error message is? Neil.
  44. -- 
  45.  Phone: +44 71 815 5283  E-mail: nreadwin@micrognosis.co.uk
  46.  Anything is a cause for sorrow that my mind or body has made
  47.