Re: Capturing DCL output in symbol

Liste des GroupesRevenir à co vms 
Sujet : Re: Capturing DCL output in symbol
De : arne (at) *nospam* vajhoej.dk (Arne Vajhøj)
Groupes : comp.os.vms
Date : 13. May 2025, 17:18:16
Autres entêtes
Organisation : SunSITE.dk - Supporting Open source
Message-ID : <682370c7$0$716$14726298@news.sunsite.dk>
References : 1 2 3
User-Agent : Mozilla Thunderbird
On 5/11/2025 3:17 PM, Craig A. Berry wrote:
On 5/9/25 11:32 PM, David Meyer wrote:
I found that one way to do it is to put all the processing that uses the
command output inside subshells in the same PIPE command.
>
One shortcoming of this method is that it's very easy to go over the
maximum command element length allowed inside the PIPE. For my
procedure, I was able to get around this by choosing lexical functions
to minimize the length of the PIPE command.
>
Any other way to do this?
 It's pretty easy with Perl:
 $ perl -"MVMS::DCLsym" -e "$x=`show time`; VMS::DCLsym->setsym('mysym', $x, 'GLOBAL');"
$ SHOW SYMBOL mysym
   MYSYM == "   11-MAY-2025 14:10:89."
You can probably code a word processor as a one liner
in Perl ...
:-) :-) :-)
Arne

Date Sujet#  Auteur
10 May 25 * Capturing DCL output in symbol20David Meyer
10 May 25 +* Re: Capturing DCL output in symbol12David Meyer
10 May 25 i+* Re: Capturing DCL output in symbol6Henry Crun
10 May 25 ii+* Re: Capturing DCL output in symbol3David Meyer
10 May 25 iii`* Re: Capturing DCL output in symbol2Henry Crun
10 May 25 iii `- Re: Capturing DCL output in symbol1David Meyer
10 May 25 ii+- Re: Capturing DCL output in symbol1David Meyer
10 May 25 ii`- Re: Capturing DCL output in symbol1bill
11 May 25 i`* Re: Capturing DCL output in symbol5Craig A. Berry
12 May 25 i +* Re: Capturing DCL output in symbol3bill
12 May 25 i i`* Re: Capturing DCL output in symbol2Craig A. Berry
12 May 25 i i `- Re: Capturing DCL output in symbol1David Meyer
13 May 25 i `- Re: Capturing DCL output in symbol1Arne Vajhøj
11 May 25 +- Re: Capturing DCL output in symbol1David Meyer
13 May 25 +* Re: Capturing DCL output in symbol2Arne Vajhøj
14 May 25 i`- Re: Capturing DCL output in symbol1Robert A. Brooks
14 May 25 `* Re: Capturing DCL output in symbol4Lawrence D'Oliveiro
14 May 25  `* Re: Capturing DCL output in symbol3Arne Vajhøj
14 May 25   +- Re: Capturing DCL output in symbol1Arne Vajhøj
14 May 25   `- Re: Capturing DCL output in symbol1hb0815

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal