home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.rexx
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!usenet-feed.cc.umr.edu!ckincy
- From: ckincy@cs.umr.edu (Charles Kincy)
- Subject: Re: How do I get the output of other programs into my REXX program in OS/2?
- References: <19930121.063700.419@almaden.ibm.com>
- Date: Thu, 21 Jan 1993 22:26:21 GMT
- Nntp-Posting-Host: next1.cs.umr.edu
- Organization: University of Missouri - Rolla, Rolla, MO
- Sender: cnews@umr.edu (UMR Usenet News Post)
- Message-ID: <1993Jan21.222621.10910@umr.edu>
- Lines: 22
-
- In article <19930121.063700.419@almaden.ibm.com> pmuellr@vnet.ibm.com (Pat Mueller) writes:
- >>I know that I could pipe the utility's output to a file and then use
- >>LineIn to get the data, but I would like to try to avoid that
- >>cheezy approach.
- >
- >Pipe it to RXQUEUE, and then read the lines off the queue, as in
- >
- > "DIR | RXQUEUE"
- > line.0 = queued()
- > do i = 1 to line.0
- > parse pull line.i
- > end
-
- WOW!! That's easy. Thanks a lot. :)
-
- cpk
-
- --
- "The WHITE ZONE is for loading and unloading only. If you gotta load or un-
- load, go to the WHITE ZONE. You'll love it. It's a way of life!" --Zappa
-
- Technology always seems to keep one step ahead of human wisdom.
-