Capturing DCL output in symbol

Liste des GroupesRevenir à co vms 
Sujet : Capturing DCL output in symbol
De : papa (at) *nospam* sdf.org (David Meyer)
Groupes : comp.os.vms
Date : 10. May 2025, 02:53:57
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <87zfflxmbu.fsf@lucy.meyer21c.net>
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
I am working on a DCL script where I want to capture output from a
command in a symbol for manipulation later in the script.

I have it working by using the /OUTPUT qualifier on the command to put
the output (just 1 line in this case) into a temporary file, then later
use READ to put the contents of the temporary file into a symbol.

I was wondering if I could use PIPE to do the same thing without having
to create and later clean up the temporary file, but so far I have been
unable to fine a way to get READ inside a PIPE to set a symbol that's
accessible outside the PIPE command.

READ's help says that it creates the symbol in the local symbol table,
but is there anyway to get READ to set a global symbol?
--
David Meyer
Takarazuka, Japan
papa@sdf.org

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