On Sep 2, 2011, at 08:33, Glenn Knickerbocker wrote:
> On Thu, 1 Sep 2011 20:00:55 -0600, gil wrote:
>> '| pipcmd' , /* Seems to do nothing useful. */
>
> That's because you're feeding it a pipeline spec instead of a command.
> Try this:
>
> 'callpipe literal callpipe query || *: | *.out.X:'
>
OK. I see the difference.
But I'm frustrated. I've tried every combination I can
think of of feeding a pipeline spec to "runpipe" and
feeding either "callpipe" or "addpipe" to "pipcmd".
I find:
o When I use "runpipe" I can't (don't know how) to connect
the output of the pipeline spec.
o When I use "pipcmd" and feed it a "callpipe" it works as
you suggest. I can connect the output of the spec via "*:"
to an input of "faninany" But the subroutine pipeline runs
synchronously; I don't get control back until it terminates.
o When I use "pipcmd" and feed it an "addpipe", the subroutine
pipeline runs asynchronously. I can do other things while it
runs. But it only works once. If I try it again, I get:
FPLSSU139E No connection available to redefine for *
and I can't (don't know how) to sever the subroutine pipeline
and make my "faninany' output available again.
Is what I'm trying to do, connect the output of a dynamic
asynchronous stage to a "faninany" input, fundamentally
impossible within the design of Pipelines, or do I just not
know how?
I've looked at SERVUS REXX. It's all about handling immediate
commands, and doesn't seem very relevant to my problem.
Thanks,
gil