Can't you: 'df -h | rxqueue' to use the stack? I thought I recalled doing things this way with Regina...
Scott On Mon, Mar 8, 2010 at 10:47 AM, Lionel Dyck <[email protected]> wrote: > In TSO Rexx I can use the OUTTRAP command and in CMS I can use a PIPE to > issue a command and put the output into a stem to work with. > > How can I do that in REXX in Linux? > > For example I want to capture the output of the "df -h" command and the > only way I can do that now that I've figured out is to do something like > this: > > 'df -h > /tmp/tmp.file' > call read '/tmp/tmp.file' /* a read subroutine that reads the file into > a stem > 'rm /tmp/tmp.file' > > .... process the stem > > I'm using Regina REXX on SLES 10 SP2. > > Thanks > > > Lionel B. Dyck <>< > z/Linux Specialist > IBM Corporation > Global Technology Services - Kaiser Account > Work: 925-926-5332 > Cell: 925-348-0237 > E-Mail: [email protected] > AIM: lbdyck | Yahoo IM: lbdyck | GTalk: > lbdyck > > > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
