Deutsch   English   Français   Italiano  
<10024jg$2good$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: =?UTF-8?Q?Arne_Vajh=C3=B8j?= <arne@vajhoej.dk>
Newsgroups: comp.os.vms
Subject: Re: Capturing DCL output in symbol
Date: Wed, 14 May 2025 09:08:00 -0400
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <10024jg$2good$1@dont-email.me>
References: <87zfflxmbu.fsf@lucy.meyer21c.net> <vvne00$3gp5f$1@dont-email.me>
 <1001nt3$2e461$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 14 May 2025 15:08:00 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="36918dd6585453ae38c389b25201c4ee";
	logging-data="2646797"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/RLYh6l0GTfp1V2iBeDcbm90hXVHxSwI8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:A1Z1qzD997EoVoPb3qK0r8R9XVc=
In-Reply-To: <1001nt3$2e461$1@dont-email.me>
Content-Language: en-US
Bytes: 1845

On 5/14/2025 5:31 AM, Lawrence D'Oliveiro wrote:
> On Sat, 10 May 2025 13:40:45 +0200, hb0815 wrote:
>> There are limitations. This can only work if the equivalence string of
>> the logical name is valid, does not exceed a limit, etc.
> 
> You have to choose a logical name that won’t clash with any other use in
> any other process in the same job, you have to remember to delete it
> afterwards to avoid clutter ...

That is not so hard.

$ vf='f$verify(0)'
$ reslog = "RES_" + f$unique()
$ pipe 'p1' | -
   (read sys$pipe lin ; qlin=""""+lin+"""" ; def/job/nolog 'reslog' 
&qlin) ; -
   'p2'==f$trnlnm(reslog)
$ deas/job 'reslog'
$ if vf then exit f$verify(1)+1
$ exit 1

Arne