home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / rexx / 1504 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.2 KB  |  35 lines

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