On 9/1/2011 19:13, John P. Hartmann wrote:
You aren't reinventing SERVUS REXX by any chance?
It's likely. It's a learning experience. Someone else here lately
asked me a similar question about PIPESERV. I looked at that
code. I haven't the background to learn _anything_ from it. I'll
look at SERVUS also.
On 9/1/2011 10:41, Glenn Knickerbocker wrote:
To connect the outputs downstream you need PIPCMD rather than RUNPIPE.
By experiment:
/* Rexx */ signal on novalue; /*
Doc: How does PIPCMD differ from RUNPIPE?
*/
trace C
'addstream output X'
'addpipe *.output.X:' ,
'| pipcmd' , /* Seems to do nothing useful. */
'| specs /x / 1 1-* next' ,
'| console'
'callpipe literal query | *.output.X:'
say; say;
'addstream output Y'
'addpipe *.output.Y:' ,
'| runpipe' , /* Seems to do what I want. */
'| specs /y / 1 1-* next' ,
'| console'
'callpipe literal query | *.output.Y:'
Thanks,
gil