Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"How to make a million dollars: First, get a million dollars." -- Steve Martin


computers / comp.os.vms / Why doesn't PIPE work with freeware?

SubjectAuthor
* Why doesn't PIPE work with freeware?alanfe...@gmail.com
+* Re: Why doesn't PIPE work with freeware?Simon Clubley
|`* Re: Why doesn't PIPE work with freeware?alanfe...@gmail.com
| +- Re: Why doesn't PIPE work with freeware?Arne Vajhøj
| `- Re: Why doesn't PIPE work with freeware?VAXman-
+* Re: Why doesn't PIPE work with freeware?Steven Schweda
|`* Re: Why doesn't PIPE work with freeware?alanfe...@gmail.com
| `* Re: Why doesn't PIPE work with freeware?Jan-Erik Söderholm
|  `- Re: Why doesn't PIPE work with freeware?alanfe...@gmail.com
`- Re: Why doesn't PIPE work with freeware?Arne Vajhøj

1
Why doesn't PIPE work with freeware?

<5be61707-79bd-4fae-80b9-db0890927fe0n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=25153&group=comp.os.vms#25153

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ad4:5be1:0:b0:498:79dc:d3ff with SMTP id k1-20020ad45be1000000b0049879dcd3ffmr23735836qvc.87.1665592967713;
Wed, 12 Oct 2022 09:42:47 -0700 (PDT)
X-Received: by 2002:a05:622a:14d2:b0:35c:cad7:f092 with SMTP id
u18-20020a05622a14d200b0035ccad7f092mr24500943qtx.598.1665592967518; Wed, 12
Oct 2022 09:42:47 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 12 Oct 2022 09:42:46 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=173.54.236.44; posting-account=mCRRdgoAAAAonHT6WInwG1Fadnh7R0dx
NNTP-Posting-Host: 173.54.236.44
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5be61707-79bd-4fae-80b9-db0890927fe0n@googlegroups.com>
Subject: Why doesn't PIPE work with freeware?
From: alanfeld...@gmail.com (alanfe...@gmail.com)
Injection-Date: Wed, 12 Oct 2022 16:42:47 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2252
 by: alanfe...@gmail.com - Wed, 12 Oct 2022 16:42 UTC

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.

I can DEFINE/USER SYS$OUTPUT to file and SEARCH that file. But shouldn't this work? Why doesn't it? TIA.

$ PIPE DIRSORT TO%.COM;* /DA=CR | SEAR SYS$INPUT "Dec","Nov"
%SEARCH-I-NOMATCHES, no strings matched
$ PIPE DIRSORT TO%.COM;* /DA=CR | TYPE SYS$INPUT
%DCL-W-IVVERB, unrecognized command verb - check validity and spelling
\DIRSORT\
$ VERB DIRSORT
define verb DIRSORT
image DIRSORT
parameter P1, label=PATH
value (type=$file)
qualifier DATE, nonnegatable
value (required,type=DATE_KEYWORDS)
qualifier DELTATIME, nonnegatable
qualifier LAYOUT, nonnegatable
value (required,type=LAYOUT_KEYWORDS)
qualifier SORT, nonnegatable
value (required,type=SORT_KEYWORDS)
qualifier HELP
qualifier VERSION, nonnegatable

define type DATE_KEYWORDS
keyword BACKUP
keyword CREATE
keyword EXPIRE
keyword REVISE, default

define type LAYOUT_KEYWORDS
keyword DATEFIRST, default
keyword FILEFIRST
keyword TRUNCATE

define type SORT_KEYWORDS
keyword ASCENDING, default
keyword DESCENDING

$

Re: Why doesn't PIPE work with freeware?

<ti6s18$1hres$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=25154&group=comp.os.vms#25154

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Why doesn't PIPE work with freeware?
Date: Wed, 12 Oct 2022 17:03:36 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <ti6s18$1hres$1@dont-email.me>
References: <5be61707-79bd-4fae-80b9-db0890927fe0n@googlegroups.com>
Injection-Date: Wed, 12 Oct 2022 17:03:36 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="26a7eff137ce729877f27c9343a21188";
logging-data="1633756"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/UW0IczYR//NpulhlZs8Gy0gQmqBf1C/A="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:tOHRb4CbnwuKgXvuNdA2yLDsIDQ=
 by: Simon Clubley - Wed, 12 Oct 2022 17:03 UTC

On 2022-10-12, alanfe...@gmail.com <alanfeldman48@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 ?

If it's the latter, that will not work with PIPE.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: Why doesn't PIPE work with freeware?

<b0d7afcb-bb80-4843-b056-117cb37b0a4dn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=25160&group=comp.os.vms#25160

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:4407:b0:6cb:e111:32c2 with SMTP id v7-20020a05620a440700b006cbe11132c2mr21971622qkp.415.1665600487011;
Wed, 12 Oct 2022 11:48:07 -0700 (PDT)
X-Received: by 2002:a05:6214:2302:b0:470:2d10:b6e4 with SMTP id
gc2-20020a056214230200b004702d10b6e4mr24994004qvb.72.1665600486783; Wed, 12
Oct 2022 11:48:06 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 12 Oct 2022 11:48:06 -0700 (PDT)
In-Reply-To: <5be61707-79bd-4fae-80b9-db0890927fe0n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=76.76.60.100; posting-account=OjKUgAkAAAAXAqdVEKd-Gc8RltEUx3Xq
NNTP-Posting-Host: 76.76.60.100
References: <5be61707-79bd-4fae-80b9-db0890927fe0n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b0d7afcb-bb80-4843-b056-117cb37b0a4dn@googlegroups.com>
Subject: Re: Why doesn't PIPE work with freeware?
From: sms.anti...@gmail.com (Steven Schweda)
Injection-Date: Wed, 12 Oct 2022 18:48:07 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1860
 by: Steven Schweda - Wed, 12 Oct 2022 18:48 UTC

> Why doesn't this simple PIPE command work? [...]

Did you define DIRSORT as a foreign-command symbol, or what, exactly?
Sometimes the results you get depend on your own (invisible/unreported)
actions.

DIRSORT has a command-line parsing scheme which has some oddities.
For example:

ITS $ mcr sys$disk:[]DIRSORT.EXE /version

MCR by Lyle W West
Version: V1.2-4 (Vax)
Image Build: Sep 25 2022 (DecC)
Required Privs: SYSPRV (or READALL)

The program is not named "MCR", it's not running on a VAX, and the
compiler used is not called "DecC".

I started to look into this mess, but haven't spent as much time on
it as it needs.

Re: Why doesn't PIPE work with freeware?

<b5ae6ac1-9398-45d1-9863-7f562a0e4257n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=25162&group=comp.os.vms#25162

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:5851:0:b0:35b:ab32:3bbe with SMTP id h17-20020ac85851000000b0035bab323bbemr25733260qth.175.1665606258496;
Wed, 12 Oct 2022 13:24:18 -0700 (PDT)
X-Received: by 2002:a05:620a:6011:b0:6ee:b2c1:686b with SMTP id
dw17-20020a05620a601100b006eeb2c1686bmr508264qkb.492.1665606258303; Wed, 12
Oct 2022 13:24:18 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 12 Oct 2022 13:24:17 -0700 (PDT)
In-Reply-To: <ti6s18$1hres$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=173.54.236.44; posting-account=mCRRdgoAAAAonHT6WInwG1Fadnh7R0dx
NNTP-Posting-Host: 173.54.236.44
References: <5be61707-79bd-4fae-80b9-db0890927fe0n@googlegroups.com> <ti6s18$1hres$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b5ae6ac1-9398-45d1-9863-7f562a0e4257n@googlegroups.com>
Subject: Re: Why doesn't PIPE work with freeware?
From: alanfeld...@gmail.com (alanfe...@gmail.com)
Injection-Date: Wed, 12 Oct 2022 20:24:18 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2155
 by: alanfe...@gmail.com - Wed, 12 Oct 2022 20:24 UTC

On Wednesday, October 12, 2022 at 1:03:39 PM UTC-4, Simon Clubley wrote:
> On 2022-10-12, alanfe...@gmail.com <alanfe...@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@remove_me.eisner.decus.org-Earth.UFP
> Walking destinations on a map are further away than they appear.

AEF

Re: Why doesn't PIPE work with freeware?

<73429f66-da22-4300-b54d-f2023372c599n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=25163&group=comp.os.vms#25163

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:6453:0:b0:6ec:5fb8:a882 with SMTP id y80-20020a376453000000b006ec5fb8a882mr12939296qkb.612.1665606395488;
Wed, 12 Oct 2022 13:26:35 -0700 (PDT)
X-Received: by 2002:a05:620a:450f:b0:6ce:1bd4:ec09 with SMTP id
t15-20020a05620a450f00b006ce1bd4ec09mr22045823qkp.70.1665606395308; Wed, 12
Oct 2022 13:26:35 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 12 Oct 2022 13:26:35 -0700 (PDT)
In-Reply-To: <b0d7afcb-bb80-4843-b056-117cb37b0a4dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=173.54.236.44; posting-account=mCRRdgoAAAAonHT6WInwG1Fadnh7R0dx
NNTP-Posting-Host: 173.54.236.44
References: <5be61707-79bd-4fae-80b9-db0890927fe0n@googlegroups.com> <b0d7afcb-bb80-4843-b056-117cb37b0a4dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <73429f66-da22-4300-b54d-f2023372c599n@googlegroups.com>
Subject: Re: Why doesn't PIPE work with freeware?
From: alanfeld...@gmail.com (alanfe...@gmail.com)
Injection-Date: Wed, 12 Oct 2022 20:26:35 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2073
 by: alanfe...@gmail.com - Wed, 12 Oct 2022 20:26 UTC

On Wednesday, October 12, 2022 at 2:48:08 PM UTC-4, Steven Schweda wrote:
> > Why doesn't this simple PIPE command work? [...]
>
> Did you define DIRSORT as a foreign-command symbol, or what, exactly?
> Sometimes the results you get depend on your own (invisible/unreported)
> actions.

I posted the output of VERB DIRSORT. Isn't that enough?

> DIRSORT has a command-line parsing scheme which has some oddities.
> For example:
>
> ITS $ mcr sys$disk:[]DIRSORT.EXE /version
>
> MCR by Lyle W West
> Version: V1.2-4 (Vax)
> Image Build: Sep 25 2022 (DecC)
> Required Privs: SYSPRV (or READALL)
>
> The program is not named "MCR", it's not running on a VAX, and the
> compiler used is not called "DecC".
>
> I started to look into this mess, but haven't spent as much time on
> it as it needs.

Anyway, it does the job.
OK.
AEF

Re: Why doesn't PIPE work with freeware?

<ti788g$1iosh$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=25164&group=comp.os.vms#25164

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jan-erik...@telia.com (Jan-Erik Söderholm)
Newsgroups: comp.os.vms
Subject: Re: Why doesn't PIPE work with freeware?
Date: Wed, 12 Oct 2022 22:32:17 +0200
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <ti788g$1iosh$1@dont-email.me>
References: <5be61707-79bd-4fae-80b9-db0890927fe0n@googlegroups.com>
<b0d7afcb-bb80-4843-b056-117cb37b0a4dn@googlegroups.com>
<73429f66-da22-4300-b54d-f2023372c599n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 12 Oct 2022 20:32:16 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="d3d9b6e76c91d960cd2d0a974fb4a937";
logging-data="1663889"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/+3ymG3L5/SSGUxQ2Hmbpu"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.2
Cancel-Lock: sha1:cxT69kZqujN5Ny6Hbm2oxS1PKq4=
Content-Language: sv
In-Reply-To: <73429f66-da22-4300-b54d-f2023372c599n@googlegroups.com>
 by: Jan-Erik Söderholm - Wed, 12 Oct 2022 20:32 UTC

Den 2022-10-12 kl. 22:26, skrev alanfe...@gmail.com:
> On Wednesday, October 12, 2022 at 2:48:08 PM UTC-4, Steven Schweda wrote:
>>> Why doesn't this simple PIPE command work? [...]
>>
>> Did you define DIRSORT as a foreign-command symbol, or what, exactly?
>> Sometimes the results you get depend on your own (invisible/unreported)
>> actions.
>
> I posted the output of VERB DIRSORT. Isn't that enough?

If I'm not wrong, the utility VERB can show DCL commands from
both the system common DCLTABLES and any process defined verbs
using SET COMMAND. The first works with PIPE, the second does not.

So no, It is not enough, if we do not know where the
verb DIRSORT comes from.

Re: Why doesn't PIPE work with freeware?

<3cec1b0a-610d-4d1a-a1d7-b84290062c01n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=25165&group=comp.os.vms#25165

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:27d2:b0:6cf:b644:f644 with SMTP id i18-20020a05620a27d200b006cfb644f644mr22198200qkp.35.1665607486527;
Wed, 12 Oct 2022 13:44:46 -0700 (PDT)
X-Received: by 2002:a05:620a:1709:b0:6ed:4817:1d02 with SMTP id
az9-20020a05620a170900b006ed48171d02mr11361647qkb.73.1665607486401; Wed, 12
Oct 2022 13:44:46 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 12 Oct 2022 13:44:45 -0700 (PDT)
In-Reply-To: <ti788g$1iosh$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=173.54.236.44; posting-account=mCRRdgoAAAAonHT6WInwG1Fadnh7R0dx
NNTP-Posting-Host: 173.54.236.44
References: <5be61707-79bd-4fae-80b9-db0890927fe0n@googlegroups.com>
<b0d7afcb-bb80-4843-b056-117cb37b0a4dn@googlegroups.com> <73429f66-da22-4300-b54d-f2023372c599n@googlegroups.com>
<ti788g$1iosh$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3cec1b0a-610d-4d1a-a1d7-b84290062c01n@googlegroups.com>
Subject: Re: Why doesn't PIPE work with freeware?
From: alanfeld...@gmail.com (alanfe...@gmail.com)
Injection-Date: Wed, 12 Oct 2022 20:44:46 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2187
 by: alanfe...@gmail.com - Wed, 12 Oct 2022 20:44 UTC

On Wednesday, October 12, 2022 at 4:32:20 PM UTC-4, Jan-Erik Söderholm wrote:
> Den 2022-10-12 kl. 22:26, skrev alanfe...@gmail.com:
> > On Wednesday, October 12, 2022 at 2:48:08 PM UTC-4, Steven Schweda wrote:
> >>> Why doesn't this simple PIPE command work? [...]
> >>
> >> Did you define DIRSORT as a foreign-command symbol, or what, exactly?
> >> Sometimes the results you get depend on your own (invisible/unreported)
> >> actions.
> >
> > I posted the output of VERB DIRSORT. Isn't that enough?
> If I'm not wrong, the utility VERB can show DCL commands from
> both the system common DCLTABLES and any process defined verbs
> using SET COMMAND. The first works with PIPE, the second does not.
>
> So no, It is not enough, if we do not know where the
> verb DIRSORT comes from.

Thank you, sir.

Re: Why doesn't PIPE work with freeware?

<ti79d0$1o3e$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=25166&group=comp.os.vms#25166

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Why doesn't PIPE work with freeware?
Date: Wed, 12 Oct 2022 16:51:43 -0400
Organization: Aioe.org NNTP Server
Message-ID: <ti79d0$1o3e$1@gioia.aioe.org>
References: <5be61707-79bd-4fae-80b9-db0890927fe0n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="57454"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.2
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Wed, 12 Oct 2022 20:51 UTC

On 10/12/2022 12:42 PM, alanfe...@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. >
> I can DEFINE/USER SYS$OUTPUT to file and SEARCH that file. But shouldn't this work? Why doesn't it? TIA.
>
> $ PIPE DIRSORT TO%.COM;* /DA=CR | SEAR SYS$INPUT "Dec","Nov"
> %SEARCH-I-NOMATCHES, no strings matched
> $ PIPE DIRSORT TO%.COM;* /DA=CR | TYPE SYS$INPUT
> %DCL-W-IVVERB, unrecognized command verb - check validity and spelling
> \DIRSORT\

As other have said then most likely the verb is missing
for the subprocess created by pipe.

So you need to add the verb for the subprocess.

Demo:

$ type hello.c
#include <stdio.h>
#include <stdlib.h>

int main(int argc, char *argv[])
{ int n = atoi(argv[1]);
for(int i = 0; i < n; i++)
{
printf("Hi!\n");
}
return 0;
} $ type hello.cld
define verb hello
image "sys$disk:[]hello"
parameter p1
$ cc hello
$ link hello
$ set command hello
$ hello 3
Hi!
Hi!
Hi!
$ pipe hello 3 | type sys$input
%DCL-W-IVVERB, unrecognized command verb - check validity and spelling
\HELLO\
$ pipe (set command hello ; hello 3) | type sys$input
Hi!
Hi!
Hi!

Arne

Re: Why doesn't PIPE work with freeware?

<ti79o9$1t9o$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=25167&group=comp.os.vms#25167

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Why doesn't PIPE work with freeware?
Date: Wed, 12 Oct 2022 16:57:45 -0400
Organization: Aioe.org NNTP Server
Message-ID: <ti79o9$1t9o$1@gioia.aioe.org>
References: <5be61707-79bd-4fae-80b9-db0890927fe0n@googlegroups.com>
<ti6s18$1hres$1@dont-email.me>
<b5ae6ac1-9398-45d1-9863-7f562a0e4257n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="62776"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.2
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Wed, 12 Oct 2022 20:57 UTC

On 10/12/2022 4:24 PM, alanfe...@gmail.com wrote:
> On Wednesday, October 12, 2022 at 1:03:39 PM UTC-4, Simon Clubley
> wrote:
>> On 2022-10-12, alanfe...@gmail.com <alanfe...@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

Re: Why doesn't PIPE work with freeware?

<00B7C210.A73AEC64@SendSpamHere.ORG>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=25194&group=comp.os.vms#25194

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!pr9o9uw/KLhPSFYv2ok3sg.user.46.165.242.75.POSTED!not-for-mail
From: VAXm...@SendSpamHere.ORG
Newsgroups: comp.os.vms
Subject: Re: Why doesn't PIPE work with freeware?
Date: Thu, 13 Oct 2022 02:15:51 GMT
Organization: c.2022 Brian Schenkenberger. Prior employers of copyright holder and their agents must first obtain written permission to copy this posting.
Message-ID: <00B7C210.A73AEC64@SendSpamHere.ORG>
References: <5be61707-79bd-4fae-80b9-db0890927fe0n@googlegroups.com> <ti6s18$1hres$1@dont-email.me> <b5ae6ac1-9398-45d1-9863-7f562a0e4257n@googlegroups.com>
Reply-To: VAXman- @SendSpamHere.ORG
Injection-Info: gioia.aioe.org; logging-data="54934"; posting-host="pr9o9uw/KLhPSFYv2ok3sg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: VAXm...@SendSpamHere.ORG - Thu, 13 Oct 2022 02:15 UTC

In article <b5ae6ac1-9398-45d1-9863-7f562a0e4257n@googlegroups.com>, "alanfe...@gmail.com" <alanfeldman48@gmail.com> writes:
>On Wednesday, October 12, 2022 at 1:03:39 PM UTC-4, Simon Clubley wrote:
>> On 2022-10-12, alanfe...@gmail.com <alanfe...@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@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.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor