True, but you can use the value in another cp command that you construct in the Pipe (tested):
'PIPE CP Q ALLOC ALL' , '| TAKE LAST 1' , '| CONSOLE' , '| SPECS /QUERY DASD/ 1 W-1 NW' , '| CP', '| LOCATE / CP /', '| CONSOLE', '| SPECS W2 1 WRITE W5 1', '| VAR IPLDEV', '| DROP 1', '| VAR IPLVOL' There is no need for more than 1 invocation of Pipes or for multi-stream Pipes. Regards, Richard Schuh > -----Original Message----- > From: The IBM z/VM Operating System > [mailto:ib...@listserv.uark.edu] On Behalf Of Alan Ackerman > Sent: Tuesday, November 09, 2010 8:22 PM > To: IBMVM@LISTSERV.UARK.EDU > Subject: Re: How to determine SYSRES > > > This won't work. You cannot set the REXX variable and use it > in the same = pipe. > > Not tested. But then the first pipe wasn't tested either. > > Alan Ackerman >