home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / rexx / 1496 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  706 b 

  1. Path: sparky!uunet!vnet.ibm.com
  2. From: pmuellr@vnet.ibm.com (Pat Mueller)
  3. Message-ID: <19930121.063700.419@almaden.ibm.com>
  4. Date: Thu, 21 Jan 93 09:12:05 EST
  5. Newsgroups: comp.lang.rexx
  6. Subject: Re: How do I get the output of other programs into my REXX program in OS/2?
  7. Lines: 14
  8.  
  9. >I know that I could pipe the utility's output to a file and then use
  10. >LineIn to get the data, but I would like to try to avoid that
  11. >cheezy approach.
  12.  
  13. Pipe it to RXQUEUE, and then read the lines off the queue, as in
  14.  
  15.    "DIR | RXQUEUE"
  16.    line.0 = queued()
  17.    do i = 1 to line.0
  18.       parse pull line.i
  19.    end
  20.  
  21. Patrick Mueller                  addr:  pmuellr@vnet.ibm.com
  22. IBM Cary, North Carolina         phone: 919-469-7242
  23.