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