[Info-vax] Why doesn't PIPE work with freeware?

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Wed Oct 12 22:15:51 EDT 2022


In article <b5ae6ac1-9398-45d1-9863-7f562a0e4257n at googlegroups.com>, "alanfe... at gmail.com" <alanfeldman48 at gmail.com> writes:
>On Wednesday, October 12, 2022 at 1:03:39 PM UTC-4, Simon Clubley wrote:
>> On 2022-10-12, alanfe... at gmail.com <alanfe... at gmail.com> wrote: 
>> > Why doesn't this simple PIPE command work? Why doesn't it recognize DIRSORT as a verb? It works fine directly at the DCL prompt. And VMS native commands work fine. 
>> >
>> Is the command defined as part of DCLTABLES or did you define it for the 
>> current process only by using $ SET COMMAND ? 
>
>Just SET COMMAND.
>
>So that's the answer. Thank you, sir!
>
>Can I put it in my own copy of DCLTABLES, if there even is one? I'm just a user on EISNER working on a few DCL command procedures.
>
>Probably not worth it, as I don't use it that often. So I guess it's easier to use the DEFINE/USER SYS$OUTPUT <filespec>. 
>
>> If it's the latter, that will not work with PIPE. 
>
>Bummer (mild).
>
>> 
>> Simon. 
>> 
>> -- 
>> Simon Clubley, clubley at remove_me.eisner.decus.org-Earth.UFP 
>> Walking destinations on a map are further away than they appear.
>
>AEF

Define DIRSORT as a foreign command: $ DIRSORT:==$<full-spec-of-DIRSORT.EXE>

When the subprocess of the PIPE command is created it will copy the DCL
symbol table and thus, DIRSORT can be executed.  

-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.



More information about the Info-vax mailing list