Hi Eddy,
Replying to a message of Eddy Thilleman to All:
ET> Ah, I see I can give the queue a name with rxqueue(). But I am not
ET> sure about how to use a named queue from a plain batch file.
ET> is a queue also a pipe? I ask this because I see the pipe symbol.
No, the pipe symbol tells CMD.EXE or 4OS2.EXE to create an unnamed pipe to
pass the stdout stream to RXQUEUE.EXE. This program then makes the data stream
available to the REXX program through the QUEUE: device. The REXX queue itself
is not a pipe, though.
The name of a named REXX queue is known only to the REXX program that created
it and the instance of RXQUEUE.EXE that was started by that REXX program. Your
batch program does not need to know the name of the queue.
If you use a named pipe instead, you use it like a file. In that case, you
open the pipe by its name, or have the command shell redirect a program's
stdout to it or stdin from it, and either read it or write in your REXX
program using any of the file stream functions, or .STREAM objects in OREXX.
Regards
Dave
--- FleetStreet 1.24.1
2000
128/139
* Origin: The man who broke the bank at Monte Carlo (2:257/609.5)
|