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

Arne Vajhøj arne at vajhoej.dk
Wed Oct 12 16:57:45 EDT 2022


On 10/12/2022 4:24 PM, alanfe... at gmail.com wrote:
> 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>.

Just put the SET COMMAND in the PIPE command as
in my example.

If you have privs you can:

$ SET COMM foobar /TABLE=sys$share:dcltables /OUT=foobartables.exe

and in SYSUAF/AUTHORIZE set your username to use CLITABLES foobartables.exe.

Arne





More information about the Info-vax mailing list