home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!sun-barr!ames!agate!ucbvax!VNET.IBM.COM!pmuellr
- From: pmuellr@VNET.IBM.COM ("Pat Mueller")
- Newsgroups: comp.lang.rexx
- Subject: command output to a queue in OS/2 (was: Automated FTP session)
- Message-ID: <9208121208.AA24115@ucbvax.Berkeley.EDU>
- Date: 12 Aug 92 12:04:00 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Lines: 30
-
- > While on the subject of REXX API's am I missing something or is there
- > no interface between REXX and OS/2. What I have in mind is the
- > equivalent of Personal REXX's:
- >
- > 'DIR >stk'
- >
- > or CMS's:
- >
- > 'EXECIO * CP (LIFO ST whatever'
- >
- > I am not asking for the same externals, but for a REXX program to be
- > able to process the output of a command. Did I miss something in the
- > helps? IBM has not been cooperative in providing written doc to the
- > first non-IBM REXX author. So I am in the dark like the rest of you.
-
- There is an RXQUEUE program which reads from stdin, and places the
- lines received on the stack. So you can do something like this
-
- "DIR | RXQUEUE"
- do while queued()
- parse pull line
- ...
- end
-
- As far as I know, this >is< documented (hardcopy and online, at least
- for 2.0), but it would be in the reference manual.
-
- Patrick Mueller
- pmuellr@vnet.ibm.com
- Programming Systems, IBM Cary, NC
-