TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: David Noon
from: Ruud Senden
date: 1996-01-08 20:07:54
subject: Capturing output

David Noon wrote on 05 Jan 1996 at 21:43 to Ruud Senden:

RS> I am (still) writing a REXX-program, for which it would be 
RS> nice if I could capture the output of OS/2-programs which I 
RS> run from the REXX-script.

 DN> I think RXQUEUE() might be just the ticket here. There is a
 DN> RXQUEUE() built-in function of REXX to clear and read queues, and a
 DN> RXQUEUE command that can capture output from other programs and
 DN> queue it to a REXX exec.

Thank you (and Ed Blackman, for the same suggestion in another message) for
your answer and your sample code. Somebody else already told me about
RXQUEUE, but I think your sample code will help me very much.

 DN> Since you seem to be doing a lot of REXX coding, you might care to
 DN> join us in the OS2REXX echo.

Well, sometimes I do a lot of REXX coding, some other times a lot of C/C++
programming, or Gofer, PERL, UNIX shellscripts etc. It depends in what mood
I am, and what is easiest to accomplish my goal, for the operating system I
want to use it on. Or sometimes I have to program in a certain language as
an excercise at the university.

Anyway, my boss doesn't have the OS2REXX echo. I will ask him whether it is
possible to join it.

Regards,
  Ruud  (Internet: rsenden{at}cs.ruu.nl) 

--- timEd/2 1.10+
* Origin: The OS/2 based RS point system (2:280/804.2054)
SEEN-BY: 270/101 620/243 711/401 409 410 413 430 808 809 934 955 712/407 515
SEEN-BY: 712/517 628 713/888 800/1 7877/2809
@PATH: 280/804 801 270/101 712/515 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.