On Jan 6, 2011, at 17:24, John P. Hartmann wrote: > That's exactly what sever does once eof has propagated through the orphaned > stream. > I guess I just don't know how to cause an EOF to propagate.
The pipe: * * * Top of File * * * /* Rexx */ signal on novalue; /* Doc: Does SEVER delete a stream? */ trace R 'addstream output FOO' 'addpipe *.output.FOO: | console' 'select output FOO' 'addpipe query | *.output:' /* Does SEVER really undefine a stream? */ 'sever output' 'addstream output FOO' exit( 0 ) * * * End of File * * * fails with: 5 *-* 'addstream output FOO' >>> "addstream output FOO" 7 *-* 'addpipe *.output.FOO: | console' >>> "addpipe *.output.FOO: | console" 8 *-* 'select output FOO' >>> "select output FOO" 9 *-* 'addpipe query | *.output:' >>> "addpipe query | *.output:" 11 *-* /* Does SEVER really undefine a stream? */ 12 *-* 'sever output' >>> "sever output" 13 *-* 'addstream output FOO' >>> "addstream output FOO" PIPCMD174E Stream "FOO" is already defined. PIPMSG002I ... Processing "addstream output FOO". +++ RC(174) +++ 14 *-* exit( 0 ) >>> "0" PIPINX086I CMS/TSO Pipelines, 5654-030/5655-A17 1.0112 (Version.Release/Mod) - G enerated 3 Dec 2010 at 11:10:08 > On 7 January 2011 00:26, Paul Gilmartin <paulgboul...@aim.com> wrote: >> >> But, related question: Just because I'm compulsive, or fastidious, >> or something, is there a way to discard a stream when I'm >> done with it? >> >> I'm thinking about a scheme (possibly in a loop. Yah, I know; >> non-pipethink) like: >> >> ADDSTREAM >> ADDPIPE >> ( do stuff ) >> SEVER /* is the pipe completely gone now? */ >> DELETESTREAM /* Leave no tracks. */ Thanks, gil